tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: JTA & tomcat
Date Thu, 05 Aug 2004 15:25:44 GMT

Hola,
Version 5.0.26 (and better yet, 5.0.27 which is stable) fixes the
TransactionFactory bug you're seeing.  So update to 5.0.27 if you can.

You would probably need to download JOTM (not JTOM, unless JTOM just
happens to be a Java transaction provider project I don't know about ;))
or another similar component, but that depends on your needs: how do you
plan on using these transactions?  If you use a JDBC DataSource provider
that's XA-enabled, such as Tyrex, you can use its transactions and
leverage Tomcat's JNDI capabilities all in one: see the User
Transactions section of
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.htm
l.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Guy Katz [mailto:gkatz@allot.com]
>Sent: Thursday, August 05, 2004 12:17 PM
>To: 'tomcat-user@jakarta.apache.org'
>Subject: JTA & tomcat
>
>hi;
>threre are some thread regarding this but i did not find a definite
answer.
>
>does tomcat has a UserTransaction implementation ready to use out of
the
>box? or do i have to download JTOM or something similar in order to use
a
>JTA UserTransaction.
>i use tomcat 5.0.25.   when i lookup  "java:comp:UserTransaction" i get
an
>exception below:
>javax.naming.NamingException: Cannot create resource instance
>at
org.apache.naming.factory.TransactionFactory.getObjectInstance(Transa
>ctionFactory.java:145)
>at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
>01)
>at org.apache.naming.NamingContext.lookup(NamingContext.java:838)
>
>so i guess that something is binded under this name in JNDI and flow
goes
>to
>the trasactionFactory so what the deal here?
>any help is appreciated.
>thanks in advance.
>
>____________________
>Guy Katz
>Allot Communications
>gkatz@allot.com
>tel: +972 9 7619288
>fax: +972 9 7443626
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message