This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Everytime I deploy I get an error - thats what's happening ----------------------------- [snip] Building jar: D:\develop\nbProjects\EducaNext\dist\EducaNext.war do-dist: dist: run-deploy: Undeploying ... Deployment error: TomcatManager.undeploy invalid TargetModuleID passed. See the messages.log file for details. D:\develop\nbProjects\EducaNext\nbproject\build-impl.xml:553: Deployment error: TomcatManager.undeploy invalid TargetModuleID passed. See the messages.log file for details. BUILD FAILED (total time: 2 minutes 41 seconds) ----------------------------- That's what the last lines of the message log say: INFORMATIONAL *********** Exception occurred ************ at 11:08 AM on Mar 15, 2005 java.lang.IllegalStateException: TomcatManager.undeploy invalid TargetModuleID passed at org.netbeans.modules.tomcat5.TomcatManager.undeploy(TomcatManager.java:853) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.handleAutoUndeploy(TargetServer.java:711) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:574) [catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:129) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:62) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
I cannot reproduce it. What NB build are you using? Does this error occur only with this project or even if you create a new web project?
Well, I could finally resolve this problem by undeploying the 'Context' EducaNext in the Runtime tab - From that point on it worked smoothly again.. no idea what happened there...
OK, closing as WorksForMe then. If you will have similar problems again, please file a new bug. Thanks!
The original problem is described (and fixed) in issue 58255.
*** This issue has been marked as a duplicate of 58255 ***