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.
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.
This seems related to CORBA ( com.sun.corba) not sure how the plugin will know each port used by the server that might be taken.