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 256170 - Address already in use when deploying the project again
Summary: Address already in use when deploying the project again
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: ehsavoie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-26 00:38 UTC by arungupta
Modified: 2015-10-26 13:35 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 arungupta 2015-10-26 00:38:28 UTC
Tried to run a simple Web Application using NetBeans 8.0.2 and 8.1 RC2 and use WildFly 9.0.0.Final application server.

The first run seems to work fine but subsequent run gives the error:

Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
	at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createServerSocket(DefaultSocketFactoryImpl.java:83)
	at com.sun.corba.se.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:161)
	... 16 more

Plugin should detect the error and not try to run the application server again.

Seems like I may not be able to showcase this during JavaOne session coming up in another 20 mins.
Comment 1 ehsavoie 2015-10-26 07:38:44 UTC
The plugin is detecting that the application server is running by testing the management connection. As for the Http server port, this is now taken from the configuration wizard.

For 8.0.2 if you are not using 'my' release on the plugin portal then WF9 is not working.
Comment 2 arungupta 2015-10-26 13:22:36 UTC
Is this updated plugin also required for 8.1 RC2 which was released a few days ago?
Comment 3 ehsavoie 2015-10-26 13:35:03 UTC
Nope, only for 8.0.2
As for 8.1 I don't know what's in RC2 but I think the profiler issue and maybe one or two others were fixed after the rc release.