[
http://jira.jboss.com/jira/browse/JBREM-752?page=comments#action_12389518 ]
Ron Sigal commented on JBREM-752:
---------------------------------
Applied fix to branch remoting_2_x.
Testing: the unit tests created for JBREM-745 will also server for this issue:
org.jboss.test.remoting.transport.bisocket.restart.BisocketServerRestartTestCase
org.jboss.test.remoting.transport.bisocket.ssl.restart.SSLBisocketServerRestartTestCase
org.jboss.test.remoting.transport.socket.restart.SocketServerRestartTestCase
org.jboss.test.remoting.transport.socket.ssl.restart.SSLSocketServerRestartTestCase
Each of them creates a Connector, stops it, and recreates it with the same port.
SSLSocket runs into BindException
---------------------------------
Key: JBREM-752
URL:
http://jira.jboss.com/jira/browse/JBREM-752
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: transport
Affects Versions: 2.4.0.Beta1 (Pinto)
Reporter: Claudia Richter
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto)
during a Socket refresh in the SocketServerInvoker Class (Method refreshServerSocket() )
sometimes a BindException occures.
The reason is that reuseAddress is set after the ServerSocket is bound. It is necessary
to first create an unbound ServerSocket, then set reuseAddress and then bind the
ServerSocket.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira