aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Getting TransactionRollbackException on calling create() method of an EJBHome object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting TransactionRollbackException on calling create() method of an EJBHome object" Watch "Getting TransactionRollbackException on calling create() method of an EJBHome object" New topic
Author

Getting TransactionRollbackException on calling create() method of an EJBHome object

Punit Saini
Greenhorn

Joined: Jun 06, 2013
Posts: 2
Hi folks,

In my application, I have a code that looks like follows in class CAMConnector:

StatelessMediator mediator=this.mediatorHome.create();

Here mediatorHome is:
mediatorHome = (StatelessMediatorHome) PortableRemoteObject.narrow(home, StatelessMediatorHome.class);

This code is being called from many flows. But for one of the flows, call to create() always fails with following exception:
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(ResponseImpl.java:237)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at com.cingular.cam.ejb.statelessmediator.CAMConnection_44i8yo_HomeImpl_1036_WLStub.create(Unknown Source)
at com.cingular.clarify.billing.CAMConnector.sendCAMRequest(CAMConnector.java:269)
at com.cingular.clarify.billing.CAMConnector.sendCAMRequest(CAMConnector.java:218)
at com.cingular.clarify.ctm.integration.cam.CAMAppAdapter.getBillDatesCalArrayAcc2(CAMAppAdapter.java:93)
at com.cingular.clarify.ctm.isupport.kcase.hla.common.SubmitAdjustmentAPI.getBillDatesCalArrayAcc(SubmitAdjustmentAPI.java:154)

Recently we upgraded weblogic from
"WebLogic Server 9.2 MP4" to
"WebLogic Server 10.3.6.0.3 PSU Patch for BUG14736139"
So maybe it is weblogic configuration issue.

What has been tried already:
1. Set the Transaction attribute of EJB to NEVER/NotSupported.
2. Set the ForgetHeuristics of weblogic to false.

Please advise.

Thanks in advance,
Punit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting TransactionRollbackException on calling create() method of an EJBHome object