You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keertiraj (JIRA)" <ji...@apache.org> on 2012/08/08 11:59:09 UTC

[jira] [Updated] (QPID-4198) Java Client unable to reconnect after the AMQP broker is re-started.

     [ https://issues.apache.org/jira/browse/QPID-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keertiraj updated QPID-4198:
----------------------------

    Description: 
Reconnecting to the AMQP broker when loader is disconnected is currently not supported. I have simulated the behaviour as:
1. I have started JBoss with application having Java Client
2. I have stopped amqp broker
3. I have seen this exception in the log:

2012-04-11T14:59:13.309 CEST ERROR [org.apache.qpid.client.AMQConnectionDelegate_0_10] (IoReceiver - ) connection exception: conn:1ab8f30a
org.apache.qpid.transport.ConnectionException: connection aborted
        at org.apache.qpid.transport.Connection.closed(Connection.java:541)
        at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:110)
        at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:202)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:150)
        at java.lang.Thread.run(Unknown Source)


The problem is after re-start of the broker again, the client never reconnects. As of now the only solution is to re-start the application server.



  was:
Reconnecting to the AMQP broker when loader is disconnected is currently not supported. I have simulated the behaviour as:
1. I have started JBoss with application having Java Client
2. I have stopped amqp broker
3. I have seen this exception in the log:

2012-04-11T14:59:13.309 CEST ERROR [org.apache.qpid.client.AMQConnectionDelegate_0_10] (IoReceiver - ) connection exception: conn:1ab8f30a
org.apache.qpid.transport.ConnectionException: connection aborted
        at org.apache.qpid.transport.Connection.closed(Connection.java:541)
        at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:110)
        at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:202)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:150)
        at java.lang.Thread.run(Unknown Source)

    
> Java Client unable to reconnect after the AMQP broker is re-started. 
> ---------------------------------------------------------------------
>
>                 Key: QPID-4198
>                 URL: https://issues.apache.org/jira/browse/QPID-4198
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.16
>         Environment: Test
>            Reporter: Keertiraj
>
> Reconnecting to the AMQP broker when loader is disconnected is currently not supported. I have simulated the behaviour as:
> 1. I have started JBoss with application having Java Client
> 2. I have stopped amqp broker
> 3. I have seen this exception in the log:
> 2012-04-11T14:59:13.309 CEST ERROR [org.apache.qpid.client.AMQConnectionDelegate_0_10] (IoReceiver - ) connection exception: conn:1ab8f30a
> org.apache.qpid.transport.ConnectionException: connection aborted
>         at org.apache.qpid.transport.Connection.closed(Connection.java:541)
>         at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:110)
>         at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:202)
>         at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:150)
>         at java.lang.Thread.run(Unknown Source)
> The problem is after re-start of the broker again, the client never reconnects. As of now the only solution is to re-start the application server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org