WEB开发网
开发学院软件开发Java Weblogic中几个internal的XA timeout(状态切换相关... 阅读

Weblogic中几个internal的XA timeout(状态切换相关的超时)

 2009-09-22 00:00:00 来源:WEB开发网   
核心提示: 也就是说,虽然我们将global transaction timeout设定的很长,Weblogic中几个internal的XA timeout(状态切换相关的超时)(5),但如果某一状态切换过程耗费时间过长,事务同样会被超时掉,加入如下的debug options,可以debug 出详细信息

也就是说,虽然我们将global transaction timeout设定的很长,但如果某一状态切换过程耗费时间过长,事务同样会被超时掉。

加入如下的debug options,可以debug 出详细信息,

-Dweblogic.debug.DebugJTA2PC=true, -Dweblogic.debug.DebugJTA2PCStackTrace=true

下面是一段debug输出,注意其中的wakeUpAfterSeconds为120secs 

        ####<Feb 23, 2009 1:05:09 PM CST> <Debug> <JTA2PC> <fjin> <server_1> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <BEA1-02A2E9A37F31> <> <1235365509343> <000000> <java.lang.Exception: DEBUG: Name=JDBC Internal,Xid=BEA1-02A2E9A37F31(19522730),Status=Prepared,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=3000,activeThread=Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads],SCInfo[driver_test_domain+server_1]=(state=pre-prepared),properties=({weblogic.transaction.name=JDBC Internal}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=server_1+192.168.0.51:7011+driver_test_domain+t3+, XAResources={OracleXADS},NonXAResources={})]) wakeUpAfterSeconds(120)
 at weblogic.transaction.internal.TxDebug.debugStack(TxDebug.java:60)
 at weblogic.transaction.internal.TransactionImpl.wakeUpAfterSeconds(TransactionImpl.java:1940)
 at weblogic.transaction.internal.ServerTransactionImpl.setPreparedUnsync(ServerTransactionImpl.java:3095)
 at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2179)
 at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:266)
 at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:227)
 at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:283)
 at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:684)
 at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:460)
 at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1504)
 at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1413)
 at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1401)
 at weblogic.common.resourcepool.ResourcePoolImpl.testUnusedResources(ResourcePoolImpl.java:1834)
 at weblogic.common.resourcepool.ResourcePoolImpl.access$700(ResourcePoolImpl.java:37)
 at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2002)
 at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
 at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
> 

上一页  1 2 3 4 5 

Tags:Weblogic internal XA

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接