[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1219) Messages are not redelivered after reconnection of message bridge

Terry Paterson (JIRA) jira-events at lists.jboss.org
Tue Jan 15 06:19:19 EST 2008


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-1219?page=comments#action_12395103 ] 
            
Terry Paterson commented on JBMESSAGING-1219:
---------------------------------------------

Please see JBoss Network support ticket #00019424

We have had a lack of messages from the Bridge in server.log when the network has been disconnected and reconnected - suggesting to us that the ExceptionListener on the sourceConnection is either not installed - or not being triggered.

We do see messages from TestBridgeA - the one which was busy transferring messages, but no messages from TestBridgeB - the one which was idle before the disconnection.

(As an aside, we do consider this to be sufficiently serious to prevent us from a widespread deployment of JBoss Messaging + bridge on our clients, who are still mostly using JBoss MQ because of this.)

The messages we are referring to are :

15:46:01,765 WARN  [Bridge] Detected failure on connection
15:50:29,015 WARN  [Bridge] Will retry after a pause of 30000 ms
15:50:59,078 INFO  [Bridge] Succeeded in reconnecting to servers 


> Messages are not redelivered after reconnection of message bridge
> -----------------------------------------------------------------
>
>                 Key: JBMESSAGING-1219
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1219
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: Messaging Core
>    Affects Versions: 1.4.0.SP3
>         Environment: JBoss-EAP-4.2_CP1 , JBM-1.4.0-SP3, RHEL5
>            Reporter: Tyronne Wickramarathne
>         Assigned To: Tim Fox
>             Fix For: Stable branch
>
>         Attachments: configuration.zip
>
>
> JBM Bridge reconnection happens successfully but messages are not delivered to the destination via the bridge. however this problem doesn't occur on Windows environment.
> modify the attached jms-ds.xml file with your remote machine's IP address, for the remote provider.
> SourceProviderLoader is the remote machine, and our TargetProviderLoader is the local machine.
> deploy the test-bridge-service.xml file on your local machine.
> it has two bridges defined :
> TestBridgeA remote queue/A -> local queue/C
> TestBridgeB remote queue/B -> local queue/D
> Add 10 messages to both queue A and queue B on the remote machine (we used a JSP page on the remote machine to do that) in order to establish everything is working.
> Add 20000 (or more) messages to queue A on the remote machine.
> wait until some of the messages have been delivered to queue C on the local machine.
> disconnect the local machine from the network by pulling the network cable.
> wait a couple of minutes.
> re-connect the local machine to the network.
> after a few seconds the message delivery should start again.
> wait for all of the message to be delivered.
> now - try sending 500 messages to queue/B on the remote machine
> those 500 messages will never be delivered !

-- 
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