Results 1 to 3 of 3
  1. #1
    aspmedeiros is offline Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Default Error, trying to deploy a web application

    I'm a begginer, I'm just trying to do a "Hello World" web application, I'm using apacha tomcat 6.0.16 and NetBeans 6.1 and I can't do a deploy, here's is the error, please help:

    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    -compile JSPs:
    Deployment located in C: \ projects \ Project1 \ build \ web
    deployment? config = file: / C: / DOCUME ~ 1/LUCAS & 1/CONFIG ~ ~ 1/Temp/context7216.xml & path = / project
    FAIL - Failed to deploy application at context path / project
    Error in the process of deployment:
    Deploy the module was not performed.
    Check the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy (Deployment.java: 166)
    at org.netbeans.modules.j2ee.ant.Deploy.execute (Deploy.java: 104)
    at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java: 288)
    at sun.reflect.GeneratedMethodAccessor39.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.execut e (DispatchUtils.java: 105)
    org.apache.tools.ant.Task.perform at (Task.java: 348)
    org.apache.tools.ant.Target.execute at (Target.java: 357)
    org.apache.tools.ant.Target.performTasks at (Target.java: 385)
    org.apache.tools.ant.Project.executeSortedTargets at (Project.java: 1329)
    org.apache.tools.ant.Project.executeTarget at (Project.java: 1298)
    at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets (DefaultExecutor.java: 41)
    org.apache.tools.ant.Project.executeTargets at (Project.java: 1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run (BridgeImpl.java: 277)
    at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java: 460)
    at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java: 151)
    Caused by: Deploy the module was not performed.
    at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy (Deployment.java: 160)
    ... 16 more
    FAILURE IN CONSTRUCTION (total time: 0 seconds)

  2. #2
    Join Date
    Apr 2007
    Location
    Nagpur
    Posts
    13
    Rep Power
    0

    Default

    Please provide more information so somebody can give a thought in detail

    1. The path for Tomcat Home directory
    2. The path for NetBeans Home directory
    3. Also send the server log which you may find in the tomcat-home\logs\catalina.out or server.out file.

    If you are not able to send the file here use pastebin dot com to paste the logs and send us a link

    with regards
    Tushar

  3. #3
    Thilahar is offline Member
    Join Date
    May 2011
    Posts
    4
    Rep Power
    0

    Default Re: Error, trying to deploy a web application

    FAIL - Failed to deploy application at context path /Root.

    I am also struggled with this same Problem last two weeks... But still not yet get the proper solution. If any one can update for this solution.

    when i Clean and Build successfully at the first time Netbeans opened. After clicked on the Debug option shown always this error message -

    "FAIL - Failed to deploy application at context path /Root"

    The module has not been deployed.
    at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy(Deployment.java:210)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deplo y.java:106)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
    at sun.reflect.GeneratedMethodAccessor87.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:39 0)
    at org.apache.tools.ant.Target.performTasks(Target.ja va: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.execut eTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:153)
    BUILD FAILED - this error message was always shown in the debug window.

    Thanks and regards,
    Thilahar.

Similar Threads

  1. Application error
    By saso1310 in forum CLDC and MIDP
    Replies: 1
    Last Post: 10-16-2008, 08:18 AM
  2. Deploy j2me Application Online From Web
    By medhat_fci in forum Advanced Java
    Replies: 0
    Last Post: 09-17-2008, 08:56 PM
  3. How to deploy
    By rahul999 in forum Advanced Java
    Replies: 0
    Last Post: 08-31-2008, 08:13 AM
  4. deploy a web application
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 02:45 PM
  5. Hot deploy en WS 6
    By Eric in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 06-27-2007, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •