[Seasar-user:11107] Re: transaction can't correctly rollbackunderwebsphere

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


HTTP 500 - ÄÚ²¿¥µ©`¥Ð©` ¥¨¥é©`

Can't view the page published under webshpere.

Is there anything wrong?

--------------------------------------------------------
jdbc.dicon------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.4//EN"
 "http://www.seasar.org/dtd/components24.dtd">
<components namespace="jdbc">
 <include path="jta.dicon"/>
 <include path="jdbc-extension.dicon"/>
 <component class="org.seasar.extension.jdbc.impl.BasicResultSetFactory"/>
 <component class="
org.seasar.extension.jdbc.impl.ConfigurableStatementFactory">
  <arg>
   <component class="org.seasar.extension.jdbc.impl.BasicStatementFactory"/>
  </arg>
  <property name="fetchSize">100</property>
  <!--
  <property name="maxRows">100</property>
  -->
 </component>
 <component name="xaDataSource"
  class="org.seasar.extension.dbcp.impl.XADataSourceImpl">
  <property name="driverClassName">
   "oracle.jdbc.driver.OracleDriver"
  </property>
  <property name="URL">
   "jdbc:oracle:thin:@172.20.38.101:1521:dts"
  </property>
  <property name="user">"dts"</property>
  <property name="password">"dts"</property>
  <destroyMethod>
   @[E-MAIL ADDRESS DELETED]()
  </destroyMethod>
    </component>
 <component name="connectionPool"
  class="org.seasar.extension.dbcp.impl.ConnectionPoolImpl">
  <property name="timeout">600</property>
  <property name="maxPoolSize">10</property>
  <property name="allowLocalTx">true</property>
  <destroyMethod name="close"/>
 </component>
 <component name="dataSource"
  class="javax.sql.DataSource">
  @[E-MAIL ADDRESS DELETED]("dts")
 </component>
</components>
-------------------------------------------------
j2ee.dicon----------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container//EN"
"http://www.seasar.org/dtd/components.dtd">
<components namespace="j2ee">
 <include path="jta.dicon"/>
 <include path="jdbc.dicon"/>

 <component name="requiredTx"
  class="org.seasar.extension.tx.RequiredInterceptor"/>
 <component name="requiresNewTx"
  class="org.seasar.extension.tx.RequiresNewInterceptor"/>
 <component name="mandatoryTx"
  class="org.seasar.extension.tx.MandatoryInterceptor"/>
 <component name="notSupportedTx"
  class="org.seasar.extension.tx.NotSupportedInterceptor"/>
 <component name="neverTx"
  class="org.seasar.extension.tx.NeverInterceptor"/>

  <component
  name="resultSetFactory"
  class="org.seasar.dao.pager.PagerResultSetFactoryWrapper">
  <arg>
   <component class="org.seasar.extension.jdbc.impl.BasicResultSetFactory"/>
  </arg>
  <property name="useScrollCursor">true</property>
 </component>

 <component class="
org.seasar.extension.jdbc.impl.ConfigurableStatementFactory">
  <arg>
   <component class="org.seasar.dao.pager.PagerStatementFactory"/>
  </arg>
  <property name="fetchSize">100</property>
 </component>

    <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>
</components>

Help!
2007/10/18, Yasuo Higa <[E-MAIL ADDRESS DELETED]>:
>
> Hi, guys.
> >
> > 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)
> >
> If you can find "TransactionManager" definition in j2ee.dicon,
> you should replace the definition as follows:
>
> <component name="TransactionManager"
> class="javax.transaction.TransactionManager">
> @com.ibm.ws.Transction.TransactionManagerFactory@
> getTransactionManager()
> </component>
>
> <component name="UserTransaction"
> class="javax.transaction.UserTransaction">
>    @[E-MAIL ADDRESS DELETED]("java:
> comp/UserTransaction")
> </component>
>
> --
> 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$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071018/43bf5808/attachment-0605.html 


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