[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-885) Connecting to two JBoss messaging servers causes interference
Ben Anderson (JIRA)
jira-events at lists.jboss.org
Thu Feb 22 21:33:35 EST 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-885?page=all ]
Ben Anderson updated JBMESSAGING-885:
-------------------------------------
Attachment: MultipleServerReconnectTest.java
I've developed a new test case that creates a message producer and consumer on two separate JBoss Messaging servers. By continually shutting down and restarting each JBoss Messaging server I can eventually cause the shutting down of one server to stop the message listeners on the *other* server.
This test case also demonstrates the same reconnection issue that I've raised in this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=102233
Our JBoss Messaging servers have different ServerPeerIDs and StoreIds as suggested elsewhere.
To run the test case, start both JBoss Messaging servers then start the test case. A producer will be created on each server and will start dispatching messages to a queue. A message listener on the queue will acknowledge the dispatched message. Stop one of the servers for a while then restart it. The producer and consumer on that server should start up again. Quite often they do not.
> Connecting to two JBoss messaging servers causes interference
> -------------------------------------------------------------
>
> Key: JBMESSAGING-885
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-885
> Project: JBoss Messaging
> Issue Type: Bug
> Components: JMS Client Manager
> Affects Versions: 1.0.1.SP4
> Environment: Windows XP, Java 1.4.2-b28, JBoss 4.0.4.GA, Pentium 4 2GB RAM
> Reporter: Ben Anderson
> Assigned To: Ovidiu Feodorov
> Attachments: MultipleServerReconnectTest.java
>
>
> When connected to two JBoss messaging servers, shutting down one server can affect (i.e. stop) the message listeners connected to the other server.
--
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
More information about the jboss-jira
mailing list