Hi ,
    I am having a CMT stateless session bean A with transaction attribute of "Required" and a CMP entity bean B with transaction attribute of "Required". I am using Weblogic server 8.1 and oracle database. When i make a method call from bean A to bean B , i get the following stack trace. Please help me on this , thanx in advance ..


<Exception occurred during commit of transaction Name=[EJB com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgrEJBImpl.getTemplateInitVariables(long)],Xid=BEA1-0023A4AC71477F28EDB9(10768298),Status=Rolled back. [Reason=weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - with nested exception:

[java.sql.SQLException: Io exception: Connection reset]],HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=31,seconds left=60,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=myserver),[email protected]),SCInfo[mydomain+myserver]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgrEJBImpl.getTemplateInitVariables(long)], weblogic.jdbc=t3://10.18.8.134:7001}),local properties=({modifiedListeners=[[email protected]]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+10.18.8.134:7001+mydomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=myserver+10.18.8.134:7001+mydomain+t3+): java.sql.SQLException: Io exception: Connection reset

at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)

at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)

at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)

at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1853)

at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1764)

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2354)

at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:421)

at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:95)

at weblogic.ejb20.manager.BaseEntityManager.executeInsertStmt(BaseEntityManager.java:546)

at weblogic.ejb20.manager.BaseEntityManager.executeDBOperations(BaseEntityManager.java:435)

at weblogic.ejb20.internal.TxManager$TxListener.executeDBOperations(TxManager.java:596)

at weblogic.ejb20.internal.TxManager$TxListener.executeDBOperationsDriver(TxManager.java:571)

at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java:731)

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:1142)

at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1868)

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:250)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)

at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:289)

at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)

at com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgr_ua1l2j_EOImpl.getTemplateInitVariables(ProcessInstanceMgr_ua1l2j_EOImpl.java:380)

at com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgr_ua1l2j_EOImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

--------------- nested within: ------------------

weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - with nested exception:

[java.sql.SQLException: Io exception: Connection reset]

at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java:743)

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:1142)

at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1868)

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:250)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)

at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:289)

at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)

at com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgr_ua1l2j_EOImpl.getTemplateInitVariables(ProcessInstanceMgr_ua1l2j_EOImpl.java:380)

at com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgr_ua1l2j_EOImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

--------------- nested within: ------------------

weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: [email protected]

Error writing from beforeCompletion - with nested exception:

[weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - with nested exception:

[java.sql.SQLException: Io exception: Connection reset]]

at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)

at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:289)

at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)

at com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgr_ua1l2j_EOImpl.getTemplateInitVariables(ProcessInstanceMgr_ua1l2j_EOImpl.java:380)

at com.huawei.oss.workflow.wes.controller.processcontrol.ProcessInstanceMgr_ua1l2j_EOImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

.>