Use separate maps for control sockets and ordinary sockets in BisocketClientInvoker
-----------------------------------------------------------------------------------
Key: JBREM-784
URL:
http://jira.jboss.com/jira/browse/JBREM-784
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.2.0.SP4, 2.2.1.GA
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.2.1.SP1, 2.2.0.SP4_CP02, 2.4.0.Beta1 (Pinto)
A race condition can cause control sockets and ordinary sockets to be confused with each
other. In particular, in some runs of the JBossMessaging test
org.jboss.test.messaging.jms.stress.SeveralClientsStressTest, it was observed that a
connection that the client side took to be a control connection was used as an ordinary
connection by the server side. The result was that
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.ControlConnectionThread.run()
received unrecognized command.
--
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