Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-501

" java.lang.ClassCastException: org.apache.activemq.command.ExceptionResponse cannot be cast to org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBoss A-MQ 6.1
    • JBoss A-MQ 6.0
    • broker
    • None

    Description

      Also captured in AMQ-4950.If an XA prepare() raises an exception back to the client it results in the warning| WARN FailoverTransport - Transport (tcp://127.0.0.1:61249) failed, reason: java.io.IOException:|

      Unexpected error occured: java.lang.ClassCastException:
      org.apache.activemq.command.ExceptionResponse cannot be cast to
      org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect

      which triggers a failover reconnect and a replay of the transaction which then causes| 2013-12-20 13:38:12,581 [main] - WARN TransactionContext - prepare of:|

      XID:[86,globalId=00000001,branchId=00000001] failed with: javax.jms.JMSException: Cannot call prepare now.

      Attachments

        Activity

          People

            rhn-support-tmielke Torsten Mielke
            rhn-support-tmielke Torsten Mielke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: