Hi,
I'm using Hibernate 3.2 and I'm getting follwoing exception:
[7/30/08 11:14:12:140 EDT] 00000029 RegisteredSyn E WTRN0074E: Exception caught from before_completion synchronization operation: java.lang.UnsupportedOperationException
at org.hibernate.transaction.WebSphereExtendedJTATransactionLookup$TransactionManagerAdapter$TransactionAdapter.setRollbackOnly(WebSphereExtendedJTATransactionLookup.java:211)
at org.hibernate.transaction.CacheSynchronization.setRollbackOnly(CacheSynchronization.java:73)
at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:63)
at org.hibernate.transaction.WebSphereExtendedJTATransactionLookup$1.invoke(WebSphereExtendedJTATransactionLookup.java:136)
at $Proxy1.beforeCompletion(Unknown Source)
at com.ibm.ws.jtaextensions.SynchronizationCallbackWrapper.beforeCompletion(SynchronizationCallbackWrapper.java:65)
at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:242)
at com.ibm.ws.Transaction.JTA.TransactionImpl.prePrepare(TransactionImpl.java:2403)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1636)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1607)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1542)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:240)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:164)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:756)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3910)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3732)
at com.chordiant.service.ejb.EJSRemoteStatelessEJBGatewayServiceCMT_47cd5805.processRequestObject(EJSRemoteStatelessEJBGatewayServiceCMT_47cd5805.java:51)
at com.chordiant.service.ejb._EJBGatewayService_Stub.processRequestObject(_EJBGatewayService_Stub.java:368)
at com.chordiant.service.clientagent.EJBSmartStub.processRequestObject(EJBSmartStub.java:672)
at com.chordiant.service.clientagent.BaseSmartStub.baseProcessRequestObject(BaseSmartStub.java:477)
at com.chordiant.service.clientagent.ClientAgentBaseClass.processRequestObject(ClientAgentBaseClass.java:51)
at com.chordiant.service.clientagent.ClientAgentBaseClass.processRequest(ClientAgentBaseClass.java:350)
at com.citi.ecminterface.clientAgents.CitiInterfaceClientAgent.processRequest(Unknown Source)
at com.citi.ecminterface.clientAgents.CitiInterfaceClientAgent.processServiceRequest(Unknown Source)
at com.citi.gcgna.cdf.shared.ecm.services.ejb.handler.CitiECMSharedServicesMsgHandler.handleMessage(CitiECMSharedServicesMsgHandler.java:70)
at com.citi.gcgna.cdf.shared.ecm.services.ejb.JMSSampleMDB.onMessage(JMSSampleMDB.java:59)
at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1014)
at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:747)
at $Proxy0.onMessage(Unknown Source)
at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:201)
at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:768)
at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:584)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:419)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Hibernate Version: 3.2
Session session = CollectionsHibernateUtil.getSessionFactory().getCurrentSession();
session.save(colCase);
Database: Oracle 10g,
Show SQL: insert into COL_CASE (OBJECTTYPE, CASENUM, TYPECODE, OWNERID, STATECD, STATUSCODE, STATUSDATE, PRIORITYCODE, COMMENTS, ACCOUNTGOAL, FOLLOWUPDATE, ECMCASEID, NUMDELINQUENCIES, CYCLESPASTDUE, DELINQUENCYHISTORY, DELINQUENCYREASON, RANDOMDIGIT, CHARGEOFFREASONCD, RESEGMENTFLAG, CLOSECASEFLAG, LASTASSESSEDDATE, LASTNEXTACTIONDATE, LASTNEXTCONTDATE, CLOSEREASONCD, CREATEDATE, CREATEUSERNAME, MODIFIEDDATE, MODIFIEDUSERNAME, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Please let me know why is this exception occuring? Let meknow if you need more details.
Thanks,
Sridhar
|