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.
Product Version = NetBeans IDE 7.0 (Build 201104080000) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_24 Runtime = Java HotSpot(TM) Client VM 19.1-b02 In the last few versions of NB this has occurred, 6.8, 6.9, 6.9.1, and now 7.0... I have downloaded NB Java SE version. I have 2 versions of Tomcat (5.5.30 and 6.0.18) installed already on my machine that work fine. After installing NB Java SE version, I use plugin manager to download Java Web App support plugins. After installing and restarting, I right-click on the Servers node in the Services window and register Tomcat 5.5, then later a register Tomcat 6.0. They both show up under the Servers node and work fine. When I run a Java web app in NB that uses either of the TOmcat server node, the icon next to BOTH Tomcat servers changes to green triangle indicating they are both running. However, only the original Tomcat version I picked to run with the web app actually is running.
I can't reproduce it. For me it works as expected. What happens if you try "Refresh" or "Stop" pop-up item on Tomcat instance which should not be running? Is there any error message in IDE log? What is Catalina home and base in Tomcat instance properties?
There is no way how to distinguish which of the registered instances is running if these are configured to use the same port.
Tomcat 5.5 : Catalina Home : D:\java\tomcat-5-5-27 Catalina Base : D:\Documents and Settings\my-username-removed\.netbeans\7.0\apache-tomcat-5.5.27_base Tomcat 6.0 : Catalina Home : D:\java\tomcat-6-0-18 Catalina Base : D:\Documents and Settings\my-username-removed\.netbeans\7.0\apache-tomcat-6.0.18_base If I change the registered port on Tomcat 6 then when I run Tomcat 5 the icons work as expected. Perhaps as a workaround when you register a new Tomcat instance it can check and see if another server has already been registered with the same default port and if so warn/prompt you to change the port? Not sure if that's desired or not but figured I'd throw it out there. Thanks.