• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to Deploy with Netbeans

 
Gaurav Wadhwani
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im using netbeans and changed my server from sun glassfish to tomcat 7.

When i run the file it shows


init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
In-place deployment at D:\Gaurav\JAVA\WebApplication1\build\web
deploy?config=file%3A%2FC%3A%2FDOCUME%7E1%2FEzrockgw%2FLOCALS%7E1%2FTemp%2Fcontext5654556068636860186.xml&path=/WebApplication1
http://localhost:5050/manager/deploy?config=file%3A%2FC%3A%2FDOCUME%7E1%2FEzrockgw%2FLOCALS%7E1%2FTemp%2Fcontext5654556068636860186.xml&path=/WebApplication1
D:\Gaurav\JAVA\WebApplication1\nbproject\build-impl.xml:577: The module has not been deployed.
BUILD FAILED (total time: 42 seconds)



and the Tomcat log

Using CATALINA_BASE: "D:\Gaurav\JAVA\Tomcat 7"
Using CATALINA_HOME: "D:\Gaurav\JAVA\Tomcat 7"
Using CATALINA_TMPDIR: "D:\Gaurav\JAVA\Tomcat 7\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.6.0_13"
Using CLASSPATH: "D:\Gaurav\JAVA\Tomcat 7\bin\bootstrap.jar;D:\Gaurav\JAVA\Tomcat 7\bin\tomcat-juli.jar"
Mar 18, 2011 9:57:05 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Mar 18, 2011 9:57:05 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 18, 2011 9:57:05 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-apr-5050"]
Mar 18, 2011 9:57:05 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Mar 18, 2011 9:57:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 731 ms
Mar 18, 2011 9:57:05 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Mar 18, 2011 9:57:05 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.11
Mar 18, 2011 9:57:05 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Mar 18, 2011 9:57:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Mar 18, 2011 9:57:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Mar 18, 2011 9:57:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Mar 18, 2011 9:57:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Mar 18, 2011 9:57:06 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-apr-5050"]
Mar 18, 2011 9:57:06 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
Mar 18, 2011 9:57:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 694 ms

Please help
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Gaurav , have you moved it from the folder you made it,
its a common error.

Make a new project in different folder and copy the code, (not the files). It should work.
 
Gaurav Wadhwani
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i did that....still it didnt work with Tomcat 7

However, just changing the properties of the project to tomcat 6 without making new files and copying the code it works. No need to make changes with tomcat 6.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic