This is due to a bug in the broker.
Can you use a more recent broker?
I am not sure if this was fixed for Qpid 0.6 release but you could try
it out and see.
We are also planning a new Qpid release very shortly, therefore you
could use the current trunk build (as the bug is definitely fixed
there).

Rajith

On Thu, Oct 14, 2010 at 12:02 PM,  <[email protected]> wrote:
> 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: [email protected]
> (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
>
>



-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

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

Reply via email to