transaction manager

==error==
javax.transaction.RollbackException

==reason==
the error when try to use two different type datasources, non-xa and xa, in a same transaction.

==log==
[08/04/07 13:37:10:118 JST] 0000009f RegisteredRes E WTRN0063E: 既存の 2 フェーズ可能リソースと一緒に 1 フェーズ可能リソースをコミットしようとする不正な試みが行われました。
[08/04/07 13:37:10:118 JST] 0000009f RegisteredRes E WTRN0086I: トランザクション 00000119272C12AC00000001000000141958447DBC1C067F7CE14BF65756462CF8FF57FB00000119272C12AC00000001000000141958447DBC1C067F7CE14BF65756462CF8FF57FB00000001 の準備フェーズで XAException が検出されました。 ローカル・リソースがこの後に続きます。
[08/04/07 13:37:10:134 JST] 0000009f RegisteredRes E WTRN0089I: XATransactionWrapper@ 62826282 XAResource: com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl@627a627a enlisted: true mcWrapper.hashCode()1639866814: 評定: commit
[08/04/07 13:37:10:134 JST] 0000009f RegisteredRes E WTRN0089I: XATransactionWrapper@ 56425642 XAResource: com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl@55f655f6 enlisted: true mcWrapper.hashCode()2008446902: 評定: commit
[08/04/07 13:37:10:134 JST] 0000009f RegisteredRes E WTRN0089I: LocalTransactionWrapper@:33a433a4 localTransaction:com.ibm.ws.rsadapter.spi.WSRdbSpiLocalTransactionImpl@3e123e12 enlisted:true registeredForSynctruemcWrapper.hashcode()1597136690: 評定: none
[08/04/07 13:37:10:150 JST] 0000009f SystemOut O 2008/04/07 13:37:10 DEBUG TransactionSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHolder@26602660] for key [com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@4d648f94] from thread [WebContainer : 4]
[08/04/07 13:37:10:197 JST] 0000009f SystemOut O 2008/04/07 13:37:10 DEBUG TransactionSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHolder@2e4e2e4e] for key [com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@61200ee3] from thread [WebContainer : 4]
[08/04/07 13:37:10:212 JST] 0000009f SystemOut O 2008/04/07 13:37:10 DEBUG TransactionSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHolder@36483648] for key [com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@28d9d69d] from thread [WebContainer : 4]
[08/04/07 13:37:10:244 JST] 0000009f SystemOut O 2008/04/07 13:37:10 DEBUG TransactionSynchronizationManager - Clearing transaction synchronization
[08/04/07 13:37:10:337 JST] 0000009f SystemOut O 2008/04/07 13:37:10 ERROR SimpleMappingExceptionResolverEx - Handled the following exception.
org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException
javax.transaction.RollbackException
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage3CommitProcessing(TransactionImpl.java:1811)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1590)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1512)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:237)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:162)
at com.ibm.ws.Transaction.JTA.UserTransactionImpl.commit(UserTransactionImpl.java:285)
at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:787)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:500)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:473)
at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:267)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy59.handleRequest(Unknown Source)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at ......
2008-04-07 23:07 : __fw__spring : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud