cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Atomikos - "Transaction interleaving not implemented" errors after enabling app dynamics java agent

aboieriu
New Member

Hello,

 

We are having some interesting issues with app dynamics java agent. The application is basically a workflow engine developed with JBPM. We have one app database (storing business logic data) but beside that, JBPM has it's own database for storing it's internal state. Also, JBPM utilizes QUARTZ for executing actions at predefined times so quartz has it's third database for storing it's internal state as well. So in total, there are 3 databases (all 3 of them are Postgres 9.4)

 

JBPM works directly with quartz so it esentially doas read/write operations on JBPM and QUARTZ databases. For the app database, JBPM only does read operations.

 

Tranasaction management in the app is done via Atomikos which uses XA datasources for JBPM and QUARTZ db (in order to have global transaction benefits) and for the app database we use a simple spring transaction manager with a non XA datasource definition.

 

Important to mention is that all 3 datasources + the atomikos transaction manager are defined and instantiated by tomcat.

 

Now, this works fine as it is, however, after enabling the app dynamics javaagent in tomcat, we started to see exceptions at the transaction management level -> "transaction interleaving not implemented"

 

Caused by: org.postgresql.xa.PGXAException: L'entrelacement des transactions n'est pas implémenté
        at org.postgresql.xa.PGXAConnection.start(PGXAConnection.java:217)
        at com.atomikos.datasource.xa.XAResourceTransaction.resume(XAResourceTransaction.java:297)
        ... 115 more

We have been testing this with and without the javaagent and the issue reproduced consistently only after enabling the javaagent.

 

Do you have any records of transaction interference of the javaagent like the one above? Do you know what might be the cause of this? 

 

Any help on the matter would be greatly appreciated.

Thanks in advance,

Boieriu Alexandru

 

1 REPLY 1

Peter.Holditch
Moderator
Moderator

Instrumenting your application with the AppDynamics agent should not affect the operation of Atomikos and xa transactions, and I can find no similar problems in the support database.

 

The best way to resolve this issue is via a support ticket. You can do that by going to appdynamics.com/support

 

^ Edited by @Ryan.Paredez to add the support link 

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here