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.
When compile on save is enabled on a project using tomcat, the save will start the tomcat even if it is stopped by me. Maybe a checkbox "Force start server" should be good when CoS enabled. Didn't try with glassfish.
It would be useful on cases when I work on more new/old files on more (maven)modules. In this case I want to disable CoS globally by stopping tomcat. Without it, I should disable CoS on every modul.
Tomcat should not start just because of CoS enabled and project was compiled.
I see that when I open NB, and the porject group, and save a file wont start tomcat. It only happens after I "Run" the web app which uses "mvn -Dnetbeans.deploy=true -Dnetbeans.execution=true package". After that I stop tomcat, but saving a java file will start tomcat.
There has to be something specific for your configuration. I can't reproduce it myself. Do you stop the server from the IDE or externaly? Any other details about your configuration?
my settings Tomcat: Netbeans/servers/tomcat6 connection: catalina home: /usr/local/apache-tomcat-6 catalina base: /home/roti/apache-tomcat-6_base user/pass: ide/xxx port: 8080 shutdown port: 8025 http monitor disabled startup: don't use use custom catalina script, but I have this in /usr/local/apache-tomcat-6/bin/catalina.sh CATALINA_OPTS="-Xms150m -Xmx450m -XX:MaxPermSize=450m -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" platform: defaultJDK6, use ide proxy settings deployment: tinmeout: 120 enable jdbc driver deployment projects: type: maven web project build/compile/cos: both run: tomcat6
I re-tested it and it is woring now. Product Version: NetBeans IDE 6.9 (Build 201007282301) jdk: 1.6.0_21 tomcat: 6.0.29