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.
It is totally impossible to work with the netbeans 3.6 tomcat integration. Every time i start tomcat, netbeans copies jsp- examples.xml, servlet-examples.xml and ROOT.xml to the catalina conf directory. How am i supposed to deploy my own application in to root then?!.. and why should i run example applications when developing? I didn't have these problems with 3.6 beta. Also i can't seem to login to the admin or manager part of tomcat!
The modules are being redeployed because they are in server.xml in catalina_base (which is in userdir), the modules themselves are in catalina_home that is in homedir. There is a workaround - undeploy the modules and remove them from server.xml in catalina_base. Lowering to P2 because workaround exists. As for why they are on development tomcat: I think it is natural that some users (especially beginners) may want to browse or test examples. I have not heard complaint about that. But I agree that removing them permanently should be easier.
I forgot to add that the same problem exists in beta.
I will need to add test if the app is in server.xml and remove it from there when undeploying.
Not directly connected to the cause of the bug, but if we have the jsp/servlet examples packed with IDE, I think it's reasonable to remove them from the bundled tomcat completely.
Stepan is already working on this.. (thanks)
Undeploying fixed. Context is now being removed from server.xml, when it is needed. JSP and Servlets examples removed (not completely from the bundled tomcat but are not being automatically deployed anymore). --- Checking in src/org/netbeans/modules/tomcat5/Bundle.properties; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/Bundle.properties,v <-- Bundle.properties new revision: 1.15; previous revision: 1.14 done 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.45; previous revision: 1.44 done Checking in src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java,v <-- TomcatManagerImpl.java new revision: 1.34; previous revision: 1.33 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/tomcat5/nodes/TomcatWebModule.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/TomcatWebModule.java,v <-- TomcatWebModule.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/tomcat5/nodes/TomcatWebModuleNode.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/TomcatWebModuleNode.java,v <-- TomcatWebModuleNode.java new revision: 1.3; previous revision: 1.2 done
Verified