I am trying to invoke a Remote EJB from Spring.
Both the data sources use XA drivers and Weblogic JTA
I have the following line in my class that calls the ejb
@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
When the transaction attibutes are Required on both sides,
I get the following error
I need both the transaction attrbute to be required and need to use XA drivers. I have enabled domain trust on both the servers.javax.transaction.TransactionRolledbackException: Current server is the coordinator and transaction is not found. It was probably rolled back and forgotten already.
at weblogic.rjvm.ResponseImpl.unmarshalReturn(Respons eImpl.java:195)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(C lusterableRemoteRef.java:338)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(C lusterableRemoteRef.java:252)