hi; 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 JTA. will the tomcat user transaction implementation be enough in this case?
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 5:26 PM To: Tomcat Users List Subject: RE: JTA & tomcat 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:[EMAIL PROTECTED] >Sent: Thursday, August 05, 2004 12:17 PM >To: '[EMAIL PROTECTED]' >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 >[EMAIL PROTECTED] >tel: +972 9 7619288 >fax: +972 9 7443626 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
