Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Punit Saini
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic