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.
Build 200704151800, Tomcat 6.0.10 (checked also on version 6.0.9 with the same result) 1)Start IDE with new userdir 2)Go to Runtime tab and add new Tomcat 6 server (use default basedir/do not click in checkbox) 3)Start Tomcat 4)Try to open Web Applications node ERROR: Error message appears REASON: Contents of [tomcat_basedir]\conf\tomcat-users.xml file are deleted and instead there's empty template only. I've checked that this happens when I start the server from Netbeans only. Attaching screenshot of error message.
Created attachment 40951 [details] screenshot
The same result is for starting TC6 with custom basedir - changed tomcat-users.xml looks like this: <?xml version='1.0' encoding='utf-8'?> <tomcat-users> </tomcat-users>
Decreasing priority to P2, since only commentaries are deleted - apache changed template for tomcat-users.xml and I missed added commentaries before and after user list / if I write manager login tag outside commented section,this tag remains even after Tomcat start - still dataloss caused by Netbeans,so P2.
This is Tomcat 6 bug,since it delete commentaries even if started from console.
Is there a bug filed against Tomcat? If not, can we file it? Thanks.
Unfortunately, I have to close this issue as WONTFIX, since the Tomcat team doesn't consider this to be a bug, see http://issues.apache.org/bugzilla/show_bug.cgi?id=40962 .