Atomikos Forum

XA resource, resume for XID raised -6

Hello,

We have a problem in our software that appears to occur randomly and is not easily reproduced.

Every time we get this atomikos exception:

java.lang.RuntimeException: java.lang.RuntimeException: com.atomikos.datasource.ResourceException: XA resource 'oracleXA_LIVE_b': resume for XID '34302E31302E35312E33382E746D32333832393030303537:34302E31302E35312E33382E746D3433333530' raised -6: the XA resource did not expect this command in the current context|
MESSAGE: java.lang.RuntimeException: com.atomikos.datasource.ResourceException: XA resource 'oracleXA_LIVE_b': resume for XID '34302E31302E35312E33382E746D32333832393030303537:34302E31302E35312E33382E746D3433333530' raised -6: the XA resource did not expect this command in the current context
CLASS: java.lang.RuntimeException
STACKTRACE:
java.lang.RuntimeException: java.lang.RuntimeException: com.atomikos.datasource.ResourceException: XA resource 'oracleXA_LIVE_b': resume for XID '34302E31302E35312E33382E746D32333832393030303537:34302E31302E35312E33382E746D3433333530' raised -6: the XA resource did not expect this command in the current context


Has anyone dealt with this problem before and what was the solution?

The only reasonable topic that I have found about this is:
default82df.html?community.6.216.4
Suggests that  a connection is being reused when it shouldn't, but the topic doesn't lead to a solution.

I would very much appreciate your input.
Urmas Sepp Send private email
Monday, March 12, 2012
 
 
This could be a race condition between the transaction timeout thread (doing a rollback on the XAResource) and a connection still being in use.

Try with threaded commit disabled, and see if it still happens? Preferably using 3.7.1 or so.

HTH
Guy Pardon Send private email
Monday, April 02, 2012
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics