Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Punit Saini
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(
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(
at Source)
at com.cingular.clarify.billing.CAMConnector.sendCAMRequest(
at com.cingular.clarify.billing.CAMConnector.sendCAMRequest(
at com.cingular.clarify.ctm.isupport.kcase.hla.common.SubmitAdjustmentAPI.getBillDatesCalArrayAcc(

Recently we upgraded weblogic from
"WebLogic Server 9.2 MP4" to
"WebLogic Server 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,
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!