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
Did we get any closure on this? If you have solved this please elaborate here on the solution for future reference.
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?