my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Not able to Deploy with Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Not able to Deploy with Netbeans" Watch "Not able to Deploy with Netbeans" New topic
Author

Not able to Deploy with Netbeans

Gaurav Wadhwani
Ranch Hand

Joined: Sep 21, 2010
Posts: 68
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

Joined: Jul 05, 2009
Posts: 118

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.


Regards, Atul.
I came to this world on a Learner's License
Gaurav Wadhwani
Ranch Hand

Joined: Sep 21, 2010
Posts: 68
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to Deploy with Netbeans
 
Similar Threads
Not able to Deploy with Netbeans
Trouble restarting Tomcat 6.0.30 with Eclipse
Problem Deploying a Struts Application in Eclipse
problem with tomcat Native library
tomcat failed to initialize