[Seasar-user:11924] S2JDBCとWAS6TransactionManagerで例外が発生します

Noritaka Ishizumi [E-MAIL ADDRESS DELETED]
2007年 12月 5日 (水) 22:58:54 JST


はじめまして、石墨と申します。

現在、WAS 6.1.0.13において、Seasar2 2.4.18-rc3のS2JDBCと
S2TxのWAS6Transactionを利用しようとしているのですが、
S2TxのAspectをかけたメソッドからの戻りで、下記の例外が発生してしまいます。

S2JDBCではなく、S2Daoを利用した場合には問題なくトランザクション処理されるのですが、
何か調査の方法や、解決のいとぐちをご存知の方があれば、
ご教授いただけるとありがたいです。


[07/12/05 21:47:29:546 JST] 00000020 RegisteredSyn E   WTRN0074E:
after_completion 同期操作で例外が発生しました: java.lang.NullPointerException:
jdbcContext
	at org.seasar.extension.jdbc.manager.JdbcManagerImpl.afterCompletion(JdbcManagerImpl.java:286)
	at com.ibm.ws.uow.ComponentContextSynchronizationWrapper.afterCompletion(ComponentContextSynchronizationWrapper.java:84)
	at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeAfter(RegisteredSyncs.java:424)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.distributeAfter(TransactionImpl.java:3880)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.postCompletion(TransactionImpl.java:3859)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.commitXAResources(TransactionImpl.java:2516)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1642)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1602)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1537)
	at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:239)
	at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:163)
	at com.ibm.ws.uow.UOWManagerImpl.uowCommit(UOWManagerImpl.java:1055)
	at com.ibm.ws.uow.UOWManagerImpl.uowEnd(UOWManagerImpl.java:1025)
	at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:975)
	at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:509)
	at org.seasar.extension.tx.adapter.WAS6TransactionManagerAdapter.executeCallback(WAS6TransactionManagerAdapter.java:123)
	at org.seasar.extension.tx.adapter.WAS6TransactionManagerAdapter.required(WAS6TransactionManagerAdapter.java:67)
	at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:41)
	at pagecode.tilesContent.CM010TPage$$EnhancedByS2AOP$$642c642c$$MethodInvocation$$doButton1Action0.proceed(MethodInvocationClassGenerator.java)
	at pagecode.tilesContent.CM010TPage$$EnhancedByS2AOP$$642c642c.doButton1Action(CM010TPage$$EnhancedByS2AOP$$642c642c.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:127)
	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:73)
	at javax.faces.component.UICommand.broadcast(UICommand.java:312)
	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:298)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:412)
	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)


Seasar-user メーリングリストの案内