Java Client [0-10] does not correctly restore transacted sessions after 
failover.
---------------------------------------------------------------------------------

                 Key: QPID-1818
                 URL: https://issues.apache.org/jira/browse/QPID-1818
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Martin Ritchie


The new NoLocalAfterRecovery test should be ok to run against the C++ broker 
however after failover the transport session is no longer transacted.

        org.apache.qpid.transport.SessionException: ch=1 id=0 
ExecutionException(errorCode=COMMAND_INVALID, commandId=60, classCode=5, 
commandCode=3, fieldIndex=0, description=command-invalid: Session has not been 
selected for use with transactions (qpid/broker/SemanticState.cpp:132), 
errorInfo={})  
        at org.apache.qpid.transport.Session.sync(Session.java:701)  
        at org.apache.qpid.transport.Session.sync(Session.java:674)  
        at 
org.apache.qpid.client.AMQSession_0_10.sendRollback(AMQSession_0_10.java:687)  
        at org.apache.qpid.client.AMQSession.rollback(AMQSession.java:1553)  
        at 
org.apache.qpid.server.persistent.NoLocalAfterRecoveryTest.test(NoLocalAfterRecoveryTest.java:153)
  
        at 
org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:201)  
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:246)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to