[Seasar-user:11097] Re: transaction can't correctly rollback underwebsphere

=?GB2312?B?wO7A1g==?= [E-MAIL ADDRESS DELETED]
2007年 10月 18日 (木) 14:59:16 JST


Sorry. My japanese is not well.
        @[E-MAIL ADDRESS DELETED]("
java:comp/UserTransaction")
java:comp/UserTransaction should i modify it? If so what should i write.

What's more, i can't find jta.dicon in my project.Where does it placed?
or i can place the code below anywhere?(for example , j2ee.dicon)

    <component name="TransactionManager"
      class="javax.transaction.TransactionManager">
        @
[E-MAIL ADDRESS DELETED]()
    </component>

    <component name="UserTransaction"
      class="javax.transaction.UserTransaction">
        @[E-MAIL ADDRESS DELETED]
("java:comp/UserTransaction")
    </component>

Thanks for your attention.

2007/10/18, Yasuo Higa <[E-MAIL ADDRESS DELETED]>:
>
> Hi, guys.
> >
> > Transaction can't correctly rollback under websphere.
> > But in tomcat it runs well.
> >
> Did you check below page?
> http://s2container.seasar.org/2.4/ja/transaction.html
>
> > websphere log:
> >
> >
> > [07/10/18 11:21:47:564 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:47,564 [WebContainer : 4] BEGIN
> > jp.wess.web.entrcdApply.EntrcdApplyApprovalConfirmPage#doApprovalConfirm
> ()
> > [07/10/18 11:21:47:564 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:47,564 [WebContainer : 4] トランザクションを開始しました
> > [07/10/18 11:21:47:627 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:47,627 [WebContainer : 4] SELECT RECEIPT_NO_INFO.id,
> > RECEIPT_NO_INFO.ym, RECEIPT_NO_INFO.receipt_no,
> RECEIPT_NO_INFO.timestamp
> > FROM RECEIPT_NO_INFO
> > [07/10/18 11:21:47:769 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:47,769 [WebContainer : 4] UPDATE entrcd_reissue t
> > SET
> > t.status = 20
> >
> > , t.acts_apply_id = '20025'
> >
> >
> >
> >
> > WHERE
> >     t.entrcard_reissue_no = '2200109'
> > [07/10/18 11:21:47:769 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:47,769 [WebContainer : 4] UPDATE receipt_no_info t SET
> t.receipt_no =
> > t.receipt_no+1
> > [07/10/18 11:21:47:816 CST] 00000032 SharedPool    I   J2CA0086W: リソース
> dts
> > からの共用可能接続 MCWrapper id 53c053c0  Managed connection
> > [E-MAIL ADDRESS DELETED]  State:STATE_TRAN_WRAPPER_INUSE
> >  がローカル・トランザクション内包境界内で使用されました。
> > [07/10/18 11:21:48:020 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:48,020 [WebContainer : 4] select
> seq_ENTRCD_REISSUE_STAT_MNG.nextval
> > from dual
> > [07/10/18 11:21:48:036 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:48,036 [WebContainer : 4] INSERT INTO ENTRCD_REISSUE_STAT_MNG (id,
> > entrcard_reissue_no, timestamp, proc_div) VALUES (207, '2200109',
> > '2007-10-18 11.21.48', '20')
> > [07/10/18 11:21:48:083 CST] 00000032 ServiceLogger I
> > com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC
> > が、発生事象ストリーム・ファイル D:\Program
> >
> Files\Websphere\profiles\AppSrv01\logs\ffdc\server1_37163716_07.10.18_11.21.
> 48_0.txt
> > を開きました。
> > [07/10/18 11:21:48:177 CST] 00000032 ServiceLogger I
> > com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC
> > が、発生事象ストリーム・ファイル D:\Program
> >
> Files\Websphere\profiles\AppSrv01\logs\ffdc\server1_37163716_07.10.18_11.21.
> 48_0.txt
> > をクローズしました。
> > [07/10/18 11:21:48:193 CST] 00000032 ServiceLogger I
> > com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC が、発生事象ストリー
> ム・ファイル
> > D:\Program
> >
> Files\Websphere\profiles\AppSrv01\logs\ffdc\server1_37163716_07.10.18_11.21.
> 48_1.txt
> > を開きました。
> > [07/10/18 11:21:48:272 CST] 00000032 ServiceLogger I
> > com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC
> > が、発生事象ストリーム・ファイル D:\Program
> >
> Files\Websphere\profiles\AppSrv01\logs\ffdc\server1_37163716_07.10.18_11.21.
> 48_1.txt
> > をクローズしました。
> > [07/10/18 11:21:48:319 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:48,319 [WebContainer : 4] トランザクションをロールバックしました
> > [07/10/18 11:21:48:319 CST] 00000032 SystemOut     O DEBUG 2007-10-18
> > 11:21:48,319 [WebContainer : 4] END
> > jp.wess.web.entrcdApply.EntrcdApplyApprovalConfirmPage#doApprovalConfirm
> ()
> > Throwable:jp.wess.exception.WessSysException: [ESYS-001]システムエラー発生.
> >
> > what's the problem? help!
> >
> >
> >
> >
> > _______________________________________________
> > Seasar-user mailing list
> > [E-MAIL ADDRESS DELETED]
> > https://ml.seasar.org/mailman/listinfo/seasar-user
> >
> >
> >
>
>
> --
> Yasuo Higa
> [E-MAIL ADDRESS DELETED]
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071018/9fe503cb/attachment.html 


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