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 - Prevent adding multiple server instance with the same URL/port
Summary: Prevent adding multiple server instance with the same URL/port
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks: 55325
  Show dependency tree
 
Reported: 2004-07-23 23:32 UTC by Pavel Buzek
Modified: 2006-05-26 10:01 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 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