Affects Version/s: 1.0.1.GA, 1.2.0.Beta1
Fix Version/s: None
Component/s: JMS Remoting
The attached test case creates connections to two standalone messaging AS
servers. It initially sends messages to the first of servers until it fails. At this point,
it switches to the second one.
This works fine, but at some point in the failover, when the client is sending the
messages to the second node, it fails because it attempts to send something again
to the first server. This fails with java.net.ConnectException: Connection refused: connect
because the first server is already down (replicated-1.0.1.GA-jbossmessaging.log: L12869 ).
At line 1208, we shut down server 1 and we start trying to send messages to server 2. After
sending a few messages successfully to server 2, suddenly, there's an attempt to connect
back to server 1 which fails.
I have attached a client log with TRACE on org.jboss and TestMultiConnectionMessageProducer.java
which is the test case.
I was able to replicate this is in 1.0.1.GA and 1.2.0.Beta1 but not 1.2.0.Alpha2.
Forum link fix focuses on the message comsumption area (CallbackManager), but does not
provide further information on what might have changed in 1.2.0.Alpha2 to indicate that this is trully solved.