Netbeans Tomcat Server Issue -
i trying hook tomcat netbeans , run web project on it. have set server username , password, keep getting error message. have added server log below more details. :
starting tomcat process... waiting tomcat... tomcat server started. in-place deployment @ c:\ryan drive\web development\java\netbeans\projects\webapplication5\build\web deploy?config=file%3a%2fc%3a%2fusers%2frmhaa%2fappdata%2flocal%2ftemp%2fcontext8651336917198990861.xml&path=/webapplication5 fail - failed deploy application @ context path /webapplication5 c:\ryan drive\web development\java\netbeans\projects\webapplication5\nbproject\build-impl.xml:1045: module has not been deployed. see server log details. build failed (total time: 4 seconds)
here server log below. looks access denied possibly? have no idea why happening. same server log error every time run server, independent of project.
13-jun-2016 18:14:22.419 info [localhost-startstop-1] org.apache.jasper.servlet.tldscanner.scanjars @ least 1 jar scanned tlds yet contained no tlds. enable debug logging logger complete list of jars scanned no tlds found in them. skipping unneeded jars during scanning can improve startup time , jsp compilation time. 13-jun-2016 18:14:22.422 info [localhost-startstop-1] org.apache.catalina.startup.hostconfig.deploydirectory deployment of web application directory c:\program files\apache software foundation\tomcat 8.0\webapps\root has finished in 124 ms 13-jun-2016 18:14:22.424 info [main] org.apache.coyote.abstractprotocol.start starting protocolhandler ["http-nio-8080"] 13-jun-2016 18:14:22.431 info [main] org.apache.coyote.abstractprotocol.start starting protocolhandler ["ajp-nio-8009"] 13-jun-2016 18:14:22.432 info [main] org.apache.catalina.startup.catalina.start server startup in 773 ms java.io.filenotfoundexception: c:\program files\apache software foundation\tomcat 8.0\conf\catalina\localhost\ch07_ex2_download.xml (access denied) @ java.io.fileoutputstream.open0(native method) @ java.io.fileoutputstream.open(fileoutputstream.java:270) @ java.io.fileoutputstream.<init>(fileoutputstream.java:213) @ java.io.fileoutputstream.<init>(fileoutputstream.java:162) @ org.apache.catalina.manager.managerservlet.copyinternal(managerservlet.java:1626) @ org.apache.catalina.manager.managerservlet.copy(managerservlet.java:1589) @ org.apache.catalina.manager.managerservlet.deploy(managerservlet.java:880) @ org.apache.catalina.manager.managerservlet.doget(managerservlet.java:335) @ javax.servlet.http.httpservlet.service(httpservlet.java:622) @ javax.servlet.http.httpservlet.service(httpservlet.java:729) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:292) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:207) @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:240) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:207) @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:240) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:207) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:212) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:614) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:141) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:528) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1099) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:672) @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1520) @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1476) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(thread.java:745)
i had same failed deploy , access denied messages.
close netbeans , run adminstrator. grants necessary permissions run tomcat.
if doesn't work, might configuration, check videos below. helped me lot https://www.youtube.com/watch?v=pkmgr8unvgm , https://www.youtube.com/watch?v=psvulbvetzq
Comments
Post a Comment