tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Katz <>
Subject RE: JTA & tomcat
Date Thu, 05 Aug 2004 17:36:18 GMT
actually, my need are very basic. i dont even need a distributed transaction
only a simple JDBC transaction but for architecture reasons i cant use the
JDBC transaction in the DAO level but something in a higher level such as
will the tomcat user transaction implementation be enough in this case?

-----Original Message-----
From: Shapira, Yoav []
Sent: Thursday, August 05, 2004 5:26 PM
To: Tomcat Users List
Subject: RE: JTA & tomcat

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

Yoav Shapira
Millennium Research Informatics

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

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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message