求助:(javax.transaction.xa.XAException: 關閉的連線))

miludeer2008發表於2004-10-17
MmsLoginLogBe是一個自己寫的BEAN。

前天部署成功了一個EAR包,
從http://localhost:7001/asset/login可以成功登陸。我把WEBLOGIC一直開著,今天再來登陸就出現了“關閉的連線”這個錯誤。但是重新啟動WEBLOGIC或者重新部署這個應用,就又正常了。
請教高手,這是什麼問題啊?
謝謝!


<2004-10-17 下午01時52分28秒 CST> <Error> <JTA> <BEA-110412> <Name=[EJB com.paic.as.set.persistence.mmsloginlog.MmsLoginLogBe
an.create(java.lang.String,java.util.Date)],Xid=BEA1-001EDF6CB9AB7F28EDB9(17241004),Status=Rolled back. [Reason=Unknown],Heur
isticErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=1,seconds left=499,activeThread=Threa
d[ExecuteThread: '11' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResou
rceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledba
ck,assigned=myserver),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@19caedd,re-Registered = false),SCInfo[mydomain+myserver]=(s
tate=rolledback),properties=({weblogic.transaction.name=[EJB com.paic.as.set.persistence.mmsloginlog.MmsLoginLogBean.create(j
ava.lang.String,java.util.Date)], weblogic.jdbc=t3://10.13.32.138:7001, LOCAL_ENTITY_TX=true}),OwnerTransactionManager=Server
TM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+10.13.32.138:7001+mydomain+t3+, XAResources={},NonXAResources={})],Co
ordinatorURL=myserver+10.13.32.138:7001+mydomain+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, Heur
isticHazard, (javax.transaction.xa.XAException: 關閉的連線)) >
<2004-10-17 下午01時52分28秒 CST> <Notice> <EJB> <BEA-010014> <Error occurred while attempting to rollback transaction: javax
.transaction.SystemException: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction
.xa.XAException: 關閉的連線))
javax.transaction.SystemException: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transa
ction.xa.XAException: 關閉的連線))
at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:396)
at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:362)
at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:226)
at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:181)
at com.paic.as.set.persistence.mmsloginlog.MmsLoginLog_mthno0_LocalHomeImpl.create(MmsLoginLog_mthno0_LocalHomeImpl.j
ava:97)
at com.paic.as.set.business.facade.loginmanager.LoginManagerBean.setLoginLog(LoginManagerBean.java:78)
at com.paic.as.set.business.facade.loginmanager.LoginManager_rh2j1k_EOImpl.setLoginLog(LoginManager_rh2j1k_EOImpl.jav
a:46)
at com.paic.as.set.delegate.CommonDelegate.roleSelect(CommonDelegate.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.paic.pafa.framework.delegate.URLMappingProcessor.processRequest(URLMappingProcessor.java:109)
at com.paic.pafa.framework.frontcontrol.FrontController.doProcess(FrontController.java:206)
at com.paic.pafa.framework.frontcontrol.FrontController.doPost(FrontController.java:178)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
SetLoginLog Error!

相關文章