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.
Summary: | Can't undeploy / webapp in bundled Tomcat | ||
---|---|---|---|
Product: | serverplugins | Reporter: | zikmund <zikmund> |
Component: | Tomcat | Assignee: | Sherold Dev <sherold> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | TOMCAT |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://issues.apache.org/bugzilla/show_bug.cgi?id=34399 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | patch |
Description
zikmund
2005-04-08 15:15:50 UTC
The problem appears to be in manager application. If I remove the app with admin it is removed correctly. Yes, this seems to be an issue in Tomcat Manager 5.5.x. I guess, the Tomcat Manager has problems with undeploying applications from the server.xml. If it is the case, we could workaround it by deploying the default root app by renamimg its context.xml to ROOT.xml and by copying it to <tomcat-base>/conf/catalina/localhost. It seems that this workaround works in both Tomcat 5.0 and 5.5. I will commit the patch tomorrow. Btw, deploying the default Tomcat root application is much nicer this way than the old way. F. Checking in src/org/netbeans/modules/tomcat5/TomcatManager.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java,v <-- TomcatManager.java new revision: 1.71; previous revision: 1.70 done Created attachment 21510 [details]
patch
Verified in 200504101800 trunk build - it has GO for release41 branch integration from QE. I reviewed and agree with the fix. Adding a reference to relevant Tomcat issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=34399. Merged to 4.1 branch. Verified in 4.1 build 200504142205. |