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.

Bug 56428 - TomcatManager.undeploy error
Summary: TomcatManager.undeploy error
Status: RESOLVED DUPLICATE of bug 58255
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 10:21 UTC by tomzi
Modified: 2005-06-03 13:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2005-03-15 10:21:58 UTC
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)
Comment 1 Sherold Dev 2005-03-15 15:50:15 UTC
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?
Comment 2 tomzi 2005-03-16 07:05:10 UTC
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...
Comment 3 zikmund 2005-03-16 08:06:39 UTC
OK, closing as WorksForMe then. If you will have similar problems again, please
file a new bug. Thanks!
Comment 4 zikmund 2005-06-03 13:14:49 UTC
The original problem is described (and fixed) in issue 58255.
Comment 5 zikmund 2005-06-03 13:16:48 UTC

*** This issue has been marked as a duplicate of 58255 ***