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.

Bug 132979 - Tomcat is shown as running even if it's not
Summary: Tomcat is shown as running even if it's not
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-16 11:02 UTC by tkellerer
Modified: 2008-12-31 20:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2008-04-16 11:02:08 UTC
I have three Tomcat's registered in my 6.1 (zip distribution) installation, each is for a different project:
One Tomcat 6.0.14
One Tomcat 6.0.10
One Tomcat 5.5.20

When I start either one of the Tomcat 6 instances, the 5.5 instance is displayed as "running" in the Servers tab even
though it is not running. 
 
When I stop the 6.0 instance and do a refresh on the 5.5. instance the green arrow disappears.
I verified with the taskmanager that the 5.5. is really not running. 

All Tomcats are registered without a Catalina Base (private) directory.

This is on Windows XP, JDK 16 and NetBeans 6.1 RC
Comment 1 Petr Hejl 2008-04-18 11:26:26 UTC
I'm afraid this is not fixable at all. There is little chance to differentiate between these by asking on the proper
port. All this running instances looks the same to the ide and can't be distinguished.

These problem with detection - tomcat does not provide any config interface - you can just ask whether web port is
available.
Comment 2 tkellerer 2008-04-18 11:32:49 UTC
OK, thanks for the feedback. 
So this would not happen if they were defined to be using different ports?
Comment 3 Petr Hejl 2008-04-18 12:24:33 UTC
Exactly. I forgot to mention that. Different port is the solution.
Comment 4 Thuy.d Nguyen 2008-12-31 20:09:31 UTC
Closing the issue as WONTFIX as per phejl's comment above.