qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barys_Ilyusho...@troika.ru
Subject java XA transaction client
Date Thu, 14 Oct 2010 16:02:28 GMT
Greetings,

I have the exception (see below), If I use XA settings in my java 
environment. Could you please help me to find the answer.
If I do not use XA everything works fine.

I'm testing the qpid in the following environment:
1. I use MRG broker (I suppose it is qpid v 0.5.xxx)
2. I use qpid v 0.6 java client libs with Weblogic JNDI
3. I use XA settings in Oracle Service Bus
And I got
 [2010-10-14 17:39:35,438] [ERROR] [o.a.q.c.AMQConnectionDelegate_0_10] 
[AMQConnectionDelegate_0_10.java:229] previous exception
org.apache.qpid.transport.ConnectionException: Received frames for an 
already dettached session
        at 
org.apache.qpid.transport.Connection.exception(Connection.java:414) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Assembler.exception(Assembler.java:108) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.InputHandler.exception(InputHandler.java:197) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:145) 
~[qpid-common-0.6.jar:na]
        at java.lang.Thread.run(Thread.java:619) [na:na]
Caused by: org.apache.qpid.transport.ProtocolViolationException: Received 
frames for an already dettached session
        at 
org.apache.qpid.transport.Connection.dispatch(Connection.java:325) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.ConnectionDelegate.handle(ConnectionDelegate.java:64) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.ConnectionDelegate.handle(ConnectionDelegate.java:40) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.MethodDelegate.sessionAttached(MethodDelegate.java:68) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.SessionAttached.dispatch(SessionAttached.java:91) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.ConnectionDelegate.control(ConnectionDelegate.java:49) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.ConnectionDelegate.control(ConnectionDelegate.java:40) 
~[qpid-common-0.6.jar:na]
        at org.apache.qpid.transport.Method.delegate(Method.java:163) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.Connection.received(Connection.java:286) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.Connection.received(Connection.java:52) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Assembler.emit(Assembler.java:98) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Assembler.assemble(Assembler.java:184) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Assembler.frame(Assembler.java:132) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Frame.delegate(Frame.java:133) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Assembler.received(Assembler.java:103) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.Assembler.received(Assembler.java:48) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.InputHandler.next(InputHandler.java:187) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.InputHandler.received(InputHandler.java:103) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.InputHandler.received(InputHandler.java:42) 
~[qpid-common-0.6.jar:na]
        at 
org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:128) 
~[qpid-common-0.6.jar:na]
        ... 1 common frames omitted

At the same time there is following error in the broker log:
2010-oct-14 17:53:38 error Channel exception: not-attached: Channel 1 is 
not attached (qpid/amqp_0_10/SessionHandler.cpp:39)
2010-oct-14 17:59:15 error Channel exception: not-attached: Channel 1 is 
not attached (qpid/amqp_0_10/SessionHandler.cpp:39)
2010-oct-14 17:59:15 error Channel exception: not-attached: Channel 1 is 
not attached (qpid/amqp_0_10/SessionHandler.cpp:39)
2010-oct-14 17:59:15 error Channel exception: not-attached: Channel 1 is 
not attached (qpid/amqp_0_10/SessionHandler.cpp:39)
2010-oct-14 17:59:15 error Channel exception: not-attached: Channel 1 is 
not attached (qpid/amqp_0_10/SessionHandler.cpp:39)
2010-oct-14 17:59:20 error Channel exception: session-busy: Session 
already attached: guest@QPID.b84f1301-15a2-4ea1-9896-623a3b0a5406 
(qpid/broker/SessionManager.cpp:55)


Regards,
Boris
_______________________________________________________

The information contained in this message may be privileged and conf idential and protected
from disclosure. If you are not the original intended recipient, you are hereby notified that
any review, retransmission, dissemination, or other use of, or taking of any action in reliance
upon, this information is prohibited. If you have received this communication in error, please
notify the sender immediately by replying to this message and delete it from your computer.
Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message