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 8640 - BindException while starting second instance of the IDE
Summary: BindException while starting second instance of the IDE
Status: CLOSED DUPLICATE of bug 10943
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 3.x
Hardware: All All
: P4 minor (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-29 10:58 UTC by Jan Chalupa
Modified: 2002-07-19 15:19 UTC (History)
1 user (show)

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 Jan Chalupa 2000-11-29 10:58:57 UTC
Evan Adams (evan@eng.sun.com) reported:

I started up a second instance of NetBeans to see how it behaved.  When coming
it up complain about a port being in use (fine) but it also printed out an
exception trace on the console related to the same problem:

java.net.BindException: Address in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
        at java.net.ServerSocket.<init>(ServerSocket.java:170)
        at java.net.ServerSocket.<init>(ServerSocket.java:121)
        at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
ServerSocketFactory.java:97)
        at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
nt.java:235)
        at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
a:187)
        at org.apache.tomcat.core.ContextManager.start(ContextManager.java:479)
        at org.netbeans.modules.httpserver.HttpServerModule$1.run(HttpServerModu
le.java:106)


It seems like this exception need not be printed as it will only worry the user.
Comment 1 _ rkubacki 2001-05-16 07:49:43 UTC

*** This issue has been marked as a duplicate of 10943 ***