You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by um <um...@mib.com> on 2013/11/11 14:53:37 UTC

Does tomEE issue double rollbacks

I have been dealing with a situation on tomEE and websphere MQ that happens
during load tests.
Looking at the trace, IBM tells me that tomEE is issuing a double rollback.
Why does tomEE do that?

The following is what IBM support has seen -


>From the trace:                                                         
FIRST ROLLBACK                                                          
21:18:06.158.B5  0016  @1139a31                                         
  c.i.m.connector.xa.XARWrapper(XARWrapper)                             
  --  i  prepare() <null> [Xid: [Xid:globalId=5c000000047544d494400     
0000000000000000000000000000000000000000000000000,length=64,branchId=100
0000047544d4944000000000000000000000000000000000000000000000000000,lengt
h=64] forcing rollback]                                                 
21:18:06.299.5J  0016  @19da9b    c.i.m.j.remote.api.RemoteFAP          
   ----  }  xa_rollback(Hconn,Xid,int,int) returns [0] Integer          
SECOND ROLLBACK                                                         
21:18:06.299.7H  0016  @1139a31                                         
c.i.m.connector.xa.XARWrapper(XARWrapper)                              -
  {  rollback()                                                         
21:18:06.299.00  0016  @1139a31                                         
   c.i.m.connector.xa.XARWrapper(XARWrapper)                            
   --  i  rollback() <null> [Xid: [Xid:globalId=5c000000047544d49440    
00000000000000000000000000000000000000000000000000,length=64,branchId=10
00000047544d4944000000000000000000000000000000000000000000000000000,leng
th=64]]                                                                 
21:18:06.314.0C  0016  @19da9b    c.i.m.j.remote.api.RemoteFAP          
   ---  {  xa_rollback(Hconn,Xid,int,int) [com.ibm.mq.jmqi.remote.im    
pl.RemoteSession[connectionId=414D5143514D5F4A415942495341575468497C5220
  003001]]                                                              
[[Xid:globalId=5c000000047544d494400000000000000000000000000000000000000
0000000000000,len                                                       
gth=64,branchId=1000000047544d494400000000000000000000000000000000000000
0000000000000,length=64]] [8] [0]                                       
21:18:06.408.DL  0016  @19da9b    c.i.m.j.remote.api.RemoteFAP          
   ---  }  xa_rollback(Hconn,Xid,int,int) returns [-4] Integer          
21:18:06.408.DS  0016     static  c.i.m.jmqi.internal.JmqiResource      
   ---  {  getString(String,String [ ]) [MQJE114] <len=2 array=, xa_    
rollback, -4>                          




--
View this message in context: http://openejb.979440.n4.nabble.com/Does-tomEE-issue-double-rollbacks-tp4666090.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Does tomEE issue double rollbacks

Posted by Romain Manni-Bucau <rm...@gmail.com>.
a gist would be great, if you can isolate the trace related to a
single transaction it can help too
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/11/12 um <um...@mib.com>:
> I have the trace file that I sent IBM. It is pretty huge file. How do I send
> it?
> Thanks
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/Does-tomEE-issue-double-rollbacks-tp4666090p4666111.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Does tomEE issue double rollbacks

Posted by um <um...@mib.com>.
I have the trace file that I sent IBM. It is pretty huge file. How do I send 
it?
Thanks



--
View this message in context: http://openejb.979440.n4.nabble.com/Does-tomEE-issue-double-rollbacks-tp4666090p4666111.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Does tomEE issue double rollbacks

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Thats not the same rollback, do you have stacktraces?
Le 11 nov. 2013 14:56, "um" <um...@mib.com> a écrit :

> I have been dealing with a situation on tomEE and websphere MQ that happens
> during load tests.
> Looking at the trace, IBM tells me that tomEE is issuing a double rollback.
> Why does tomEE do that?
>
> The following is what IBM support has seen -
>
>
> From the trace:
> FIRST ROLLBACK
> 21:18:06.158.B5  0016  @1139a31
>   c.i.m.connector.xa.XARWrapper(XARWrapper)
>   --  i  prepare() <null> [Xid: [Xid:globalId=5c000000047544d494400
> 0000000000000000000000000000000000000000000000000,length=64,branchId=100
> 0000047544d4944000000000000000000000000000000000000000000000000000,lengt
> h=64] forcing rollback]
> 21:18:06.299.5J  0016  @19da9b    c.i.m.j.remote.api.RemoteFAP
>    ----  }  xa_rollback(Hconn,Xid,int,int) returns [0] Integer
> SECOND ROLLBACK
> 21:18:06.299.7H  0016  @1139a31
> c.i.m.connector.xa.XARWrapper(XARWrapper)                              -
>   {  rollback()
> 21:18:06.299.00  0016  @1139a31
>    c.i.m.connector.xa.XARWrapper(XARWrapper)
>    --  i  rollback() <null> [Xid: [Xid:globalId=5c000000047544d49440
> 00000000000000000000000000000000000000000000000000,length=64,branchId=10
> 00000047544d4944000000000000000000000000000000000000000000000000000,leng
> th=64]]
> 21:18:06.314.0C  0016  @19da9b    c.i.m.j.remote.api.RemoteFAP
>    ---  {  xa_rollback(Hconn,Xid,int,int) [com.ibm.mq.jmqi.remote.im
> pl.RemoteSession[connectionId=414D5143514D5F4A415942495341575468497C5220
>   003001]]
> [[Xid:globalId=5c000000047544d494400000000000000000000000000000000000000
> 0000000000000,len
> gth=64,branchId=1000000047544d494400000000000000000000000000000000000000
> 0000000000000,length=64]] [8] [0]
> 21:18:06.408.DL  0016  @19da9b    c.i.m.j.remote.api.RemoteFAP
>    ---  }  xa_rollback(Hconn,Xid,int,int) returns [-4] Integer
> 21:18:06.408.DS  0016     static  c.i.m.jmqi.internal.JmqiResource
>    ---  {  getString(String,String [ ]) [MQJE114] <len=2 array=, xa_
> rollback, -4>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Does-tomEE-issue-double-rollbacks-tp4666090.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>