Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Netbeans - failed to deploy web application in Tomcat

913127Jan 25 2012
I have netbeans 7.0.1 and Tomcat server 7.0.23.
when I try to run a web application, it shows the following error:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\web\WEB-INF\classes
Copying 43 files to C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\web
library-inclusion-in-archive:
Copying 238 files to C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\web\WEB-INF\lib
Copied 85 empty directories to 1 empty directory under C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\web\WEB-INF\lib
library-inclusion-in-manifest:
Created dir: C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\empty
Created dir: C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\generated-sources\ap-source-output
compile:
compile-jsps:
Created dir: C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\generated\src
Created dir: C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\generated\classes
Compiling 6 source files to C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\generated\classes
Note: C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\generated\src\org\apache\jsp\failure_jsp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
Undeploying ...
undeploy?path=/loginproj
FAIL - Unable to delete [C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj]. The continued presence of this file may cause problems.
In-place deployment at C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\web
C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\build\web\META-INF\context.xml (The system cannot find the path specified)
C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.23\webapps\loginproj\nbproject\build-impl.xml:762:
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.GeneratedMethodAccessor55.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: 17 seconds)

not able to proceed, Please help me.

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2012
Added on Jan 25 2012
0 comments
1,765 views