The moose likes Tomcat and the fly likes Unable to deploy project on Apache Tomcat 7 using Netbeans7.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to deploy project on Apache Tomcat 7 using Netbeans7.0" Watch "Unable to deploy project on Apache Tomcat 7 using Netbeans7.0" New topic

Unable to deploy project on Apache Tomcat 7 using Netbeans7.0

ujjwal wahi

Joined: Sep 12, 2010
Posts: 2
I am using Net beans 7.0 for developing JavaEE projects. It is installed with Glass Fish Server. I also added Apache Tomcat 7 to the server list of Netbeans. Tomcat is already installed on my computer. Now when I try to run project using Apache Tomcat7 as server from Netbeans it shows the following error:
Tomcat server started.
In-place deployment at /home/lonelyplanet/NetBeansProjects/Chapter2/build/web
FAIL - Failed to deploy application at context path /Chapter2
The module has not been deployed.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 5 seconds)

Project is running fine when I use Glass Fish as server.
I am using Ubuntu 11.04
Please help me.
subject: Unable to deploy project on Apache Tomcat 7 using Netbeans7.0
Similar Threads
what does this exception means The module has not been deployed ?
I cannot run a jsp page (NetBeans)
I am integrating Bundled liferay portal community edition 6.0.6 and apache tomcat 6 with netbeans
Problem with Richfaces and Netbeans
Error in Struts sample application