TransactionManager not working in Agile 936

Hi Team,

I am getting below error when trying to upgrade agile 932 to 936. I am getting error when executing 2nd line in the snippet. 

Snippet:

agTransMgr = agSession.getTransactionManager();

agTransMgr.setTransactionTimeout(120000);

agTransMgr.begin();

Error Details:

Error code : 60085

Error message : Transaction Manager Exception. Call APIException.getRootCause() for details.

Root Cause exception : javax.naming.CommunicationException: failed to load return type: class java.lang.Object; nested exception is:

          java.lang.ClassNotFoundException: Failed to load class weblogic.transaction.internal.ClientTransactionManagerImpl [Root exception is java.rmi.UnmarshalException: failed to load return type: class java.lang.Object; nested exception is:

          java.lang.ClassNotFoundException: Failed to load class weblogic.transaction.internal.ClientTransactionManagerImpl]

Mohan.S

Add Comment
3 Answer(s)

Did we get any closure on this?  If you have solved this please elaborate here on the solution for future reference.

Agile Angel Answered on November 16, 2017.
Add Comment

Nope…. We removed the transaction manager snippet and moved to PRD.

Agile User Answered on November 16, 2017.

If I had to guess, it would be that the Client side of your product is using an older cached version of the API which is causing ClassLoader conflicts.

on September 25, 2018.
Add Comment

The Transaction Manager does not work for us either. This is the error we receive when calling begin(). 

java.lang.ClassCastException: weblogic.transaction.internal.ClientTransactionManagerImpl cannot be cast to javax.transaction.UserTransaction

This makes certain things impossible to do, such as trying to remove an Item which could be on another Item’s BOM, while it also has a Relationship. If we remove the relationships first, and it fails because of it being a child on a BOM, the relationships are gone. However, if we try to soft delete it first, it fails because it has relationships. There’s no way to create a Rollback Transaction with the SDK right now.

Edit:

Apparently that class is not automatically transferred from the API ClassLoader. However, Transaction Management appears to not work at all. Beginning a Transaction, Modifying an Object, and then Rolling back the transaction does not undo the change. Any ideas?

Agile User Answered on September 25, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.