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 200606260200 Message "File MasterFileObject@123e7b7[F:/Testing/Userdir/NB55dev/apache-tomcat-5.5.17_base/config/catalina_properties] was modified externally.Reload it?" appearing sometimes when deploying web module with web service on tomcat. Possibly connected with issue 75115.
do you have any reliable steps how to reproduce this issue? does it happen only during the server startup or also when you are deploying to an already started server?
It happened couple of times on my computer,when I deployed web module with web service on tomcat. I've deployed to stopped server(just started IDE with new userdir,created web module,added web service and clicked deploy) Since I've seen similarity with issue 75115 and catalog.xml reloading,I've set the dependence,after word with Lukas. And yes,it's random,same as the issue it depends, but I hope it could have common source.
I think I found reproducible scenario(I tried it 4 times in line): 1)Start new IDE (200607190830 Beta2) with clear userdir 2)Go to Runtime tab and start Bundled Tomcat 3)Message will appear
tm -> 5.5
Found new problem: If I click on No in the dialog about saving catalina.properties and after Tomcat starts I close the IDE,I will get dialog asking about saving catalina.properties. If I click on Discard All,NPE will appear after IDE closes and it will hang on screen along with Tomcat shutting down dialog. java.lang.NullPointerException at org.netbeans.modules.tomcat5.util.Utils.saveDoc(Utils.java:90) at org.netbeans.modules.tomcat5.ide.StartTomcat.patchCatalinaProperties(StartTomcat.java:842) at org.netbeans.modules.tomcat5.ide.StartTomcat.access$500(StartTomcat.java:64) at org.netbeans.modules.tomcat5.ide.StartTomcat$StartRunnable.run(StartTomcat.java:384) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
F. Checking in src/org/netbeans/modules/tomcat5/ide/StartTomcat.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/StartTomcat.java,v <-- StartTomcat.java new revision: 1.72.6.4.2.6; previous revision: 1.72.6.4.2.5 done Checking in src/org/netbeans/modules/tomcat5/util/Utils.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java,v <-- Utils.java new revision: 1.2.12.2.2.3; previous revision: 1.2.12.2.2.2 done
VERIFIED