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 46514

Summary: Prevent adding multiple server instance with the same URL/port
Product: serverplugins Reporter: Pavel Buzek <pbuzek>
Component: TomcatAssignee: Sherold Dev <sherold>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 55325    

Description Pavel Buzek 2004-07-23 23:32:05 UTC
If the user adds multiple server installations
that all use the same port the IDE cannot
distinguish between them (as it uses http to
communicate with server). This leads to confusing
situation in Server Registry (server status and
start/stop actions do not know what server they
work with).
Comment 1 Pavel Buzek 2004-09-25 00:10:57 UTC
won't fix in 4.0
Comment 2 Pavel Buzek 2005-02-22 00:34:23 UTC
cosider this when designing new APIs
Comment 3 Sherold Dev 2006-05-26 10:01:11 UTC
I don't think this is really an issue. In most cases when user is using external
Tomcat, he is using instance running on the default port 8080 and since the
bundled Tomcat runs on 8084 there is no port conflict.

On the other hand, even if the two instances had different port, user can still
change the port manually in server.xml file and create thus the conflict - so
there is no point in trying to prevent it. More over, I can imagine scenarios
when user wants to have two instances of Tomcat with the same port registered in
the IDE.

marking as WONTFIX