tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <remy.mauche...@gmail.com>
Subject Re: UserTransaction, JOTM and Tomcat 5.5.x
Date Wed, 08 Feb 2006 14:35:52 GMT
Since you're doing docs, META-INF/context.xml should be simplified to:
<Context>

    <Resource name="jdbc/myDB" auth="Container" type="javax.sql.DataSource"
        factory="org.objectweb.jndi.DataSourceFactory"
        driverClassName="org.hsqldb.jdbcDriver"
        username="sa" password=""
        url="jdbc:hsqldb:."/>

    <Transaction factory="org.objectweb.jotm.UserTransactionFactory"
        jotm.timeout="60"/>

</Context>

No servlet class reloading anymore (not useful to many people), and
the Transaction element has all the necessary defaults since it's a
special resource.

--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message