This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes weblogic .utils. NestedRuntimeException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic .utils. NestedRuntimeException" Watch "weblogic .utils. NestedRuntimeException" New topic
Author

weblogic .utils. NestedRuntimeException

santosh binnuri
Greenhorn

Joined: May 03, 2006
Posts: 5
Hi All,

When i am sending the pricing updates to the server the application is throwing the following exception

<May 3, 2006 6:40:43 AM GMT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.hp.ws.business.response.ResponseFacadeBean.checkConfigKmatAndSaveResponse(com.hp.ws.business.response.XmlCacheObject,java.lang.String)],Xid=BEA1-2508DA8919EEAF0591DB(17424390),Status=Rolled back. [Reason=weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - with nested exception:
[javax.ejb.DuplicateKeyException: Bean with primary key: 'dlfalse2006_04_19MY02389497' already exists.]],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=myserver),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@152d37a,re-Registered = false),SCInfo[ipcs+myserver]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.hp.ws.business.response.ResponseFacadeBean.checkConfigKmatAndSaveResponse(com.hp.ws.business.response.XmlCacheObject,java.lang.String)], weblogic.jdbc=t3://16.111.129.5:4001}),local properties=({modifiedListeners=[weblogic.ejb20.internal.TxManager$TxListener@110aa25]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+16.111.129.5:4001+ipcs+t3+, XAResources={},NonXAResources={})],CoordinatorURL=myserver+16.111.129.5:4001+ipcs+t3+): javax.ejb.DuplicateKeyException: Bean with primary key: 'dlfalse2006_04_19MY02389497' already exists.
at weblogic.ejb20.manager.BaseEntityManager.executeInsertStmt(BaseEntityManager.java:622)
at weblogic.ejb20.manager.BaseEntityManager.executeDBOperations(BaseEntityManager.java:475)
at weblogic.ejb20.internal.TxManager$TxListener.executeDBOperations(TxManager.java:526)
at weblogic.ejb20.internal.TxManager$TxListener.executeDBOperationsDriver(TxManager.java:501)
at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java:661)
at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1010)
at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:115)
at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1216)
at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1990)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:275)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:246)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:363)
at com.hp.ws.business.response.ResponseFacade_p1vttm_ELOImpl.checkConfigKmatAndSaveResponse(ResponseFacade_p1vttm_ELOImpl.java:114)
at com.hp.ws.business.response.XmlCacheThread.saveInCache(XmlCacheThread.java:94)
at com.hp.ws.business.response.XmlCacheThread.run(XmlCacheThread.java:63)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - with nested exception:
[javax.ejb.DuplicateKeyException: Bean with primary key: 'dlfalse2006_04_19MY02389497' already exists.]
at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java:673)
at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1010)
at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:115)
at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1216)
at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1990)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:275)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:246)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:363)
at com.hp.ws.business.response.ResponseFacade_p1vttm_ELOImpl.checkConfigKmatAndSaveResponse(ResponseFacade_p1vttm_ELOImpl.java:114)
at com.hp.ws.business.response.XmlCacheThread.saveInCache(XmlCacheThread.java:94)
at com.hp.ws.business.response.XmlCacheThread.run(XmlCacheThread.java:63)
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@110aa25
Error writing from beforeCompletion - with nested exception:
[weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - with nested exception:
[javax.ejb.DuplicateKeyException: Bean with primary key: 'dlfalse2006_04_19MY02389497' already exists.]]
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1683)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:325)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:246)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:363)
at com.hp.ws.business.response.ResponseFacade_p1vttm_ELOImpl.checkConfigKmatAndSaveResponse(ResponseFacade_p1vttm_ELOImpl.java:114)
at com.hp.ws.business.response.XmlCacheThread.saveInCache(XmlCacheThread.java:94)
at com.hp.ws.business.response.XmlCacheThread.run(XmlCacheThread.java:63)

Do let me know if there is any solution for it.

thanks
Binnuri
 
GeeCON Prague 2014
 
subject: weblogic .utils. NestedRuntimeException