Re: no UserTransaction in jndi

2007-11-08 Thread Peter Fischer
. No own webapp deployed or ejb server running. I plan to use XA-transactions with Atomikos transactions. Therefore I need a UserTransaction provided per jndi. This is what I'm testing, but I have problems on the first setup. regards, Peter -- View this message in context: http://www.nabble.com

RE: no UserTransaction in jndi

2007-11-08 Thread Peter Fischer
? You'r right, so I tried Transaction factory=com.atomikos.icatch.jta.UserTransactionFactory / But there is no change in the result: - http://localhost:8080/manager/resources; lists only the UserDatabase - lambdaprobe says that the resource-ref to UserTransaction is not working manager.log

Re: no UserTransaction in jndi

2007-11-08 Thread Peter Fischer
Hello, under 5.5.9 the configuration has to be Resource name=UserTransaction type=com.atomikos.icatch.jta.UserTransactionImp factory=org.apache.naming.factory.BeanFactory/ With this, the 5.5.9 manager lists the UserTransaction. But I want to use a actual version

Re: no UserTransaction in jndi

2007-11-08 Thread Martin Gainty
Subject: Re: no UserTransaction in jndi Hello, under 5.5.9 the configuration has to be Resource name=UserTransaction type=com.atomikos.icatch.jta.UserTransactionImp factory=org.apache.naming.factory.BeanFactory/ With this, the 5.5.9 manager lists

no UserTransaction in jndi

2007-11-07 Thread Peter Fischer
Hello, I try to configure a tomcat 6.0.14 to provide a javax.transaction.UserTransaction in jndi java:comp/UserTransaction. For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction auth=Container factory

Re: no UserTransaction in jndi

2007-11-07 Thread Martin Gainty
List users@tomcat.apache.org Sent: Wednesday, November 07, 2007 8:49 AM Subject: RE: no UserTransaction in jndi From: Peter Fischer [mailto:[EMAIL PROTECTED] Subject: no UserTransaction in jndi For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction

RE: no UserTransaction in jndi

2007-11-07 Thread Caldarale, Charles R
From: Peter Fischer [mailto:[EMAIL PROTECTED] Subject: no UserTransaction in jndi For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction auth=Container factory=com.atomikos.icatch.jta.UserTransactionFactory / According to the Tomcat

Usertransaction

2007-09-06 Thread Gerard Biemolt
Hi All, I'm currently trying to create a transaction between a standalone application and a web service. By starting a usertransaction in the standalone app and bridging it to/with the web service. However I'm unable to get use a transaction in the web service. I took these steps: - published

Re: UserTransaction, JOTM and Tomcat 5.5.x

2007-05-27 Thread sxm
I am able to work with JOTM when I run tomcat stand alone, but when I run it from maven (embedded), UserTransaction doesn't get bind in the context resulting in following error. javax.naming.NamingException: Cannot create resource instance

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-09-11 Thread Ignacio de Córdoba
the java:comp/UserTransaction name in the initial context. The code I am using is: return (UserTransaction)new javax.naming.InitialContext().lookup(java:comp/UserTransaction); Thanks for any help... Ignacio -- View this message in context: http://www.nabble.com/UserTransaction%2C-JOTM

java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Hi I'm using JOTM for transaction management with Tomcat 5.0.28. I have all the required jar files as given in http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html The JNDI look up throws the following exception: Here is the code: Context ctx = new InitialContext(); UserTransaction

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Vivek Mohan
The JNDI look up throws the following exception: Here is the code: Context ctx = new InitialContext(); UserTransaction userTx = (UserTransaction)ctx.lookup(java:comp/UserTransaction); The Entry in the mywebapp.xml file: Resource name=UserTransaction auth=Container type

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Vivek Mohan
sorry, I meant, java:comp/env/UserTransaction -- Vivek. On 7/24/06, Vivek Mohan [EMAIL PROTECTED] wrote: try using java:comp/env.UserTransaction for JNDI lookup. -- Vivek. On 7/24/06, Seetha Rao [EMAIL PROTECTED] wrote: Hi I'm using JOTM for transaction management with Tomcat 5.0.28. I have

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Thanks, but got the same exception. -Original Message- From: Vivek Mohan [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 4:16 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28 sorry, I meant, java:comp/env

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Pid
] Subject: Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28 sorry, I meant, java:comp/env/UserTransaction -- Vivek. On 7/24/06, Vivek Mohan [EMAIL PROTECTED] wrote: try using java:comp/env.UserTransaction for JNDI lookup. -- Vivek. On 7/24/06, Seetha Rao [EMAIL

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Subject: Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28 Have you got useNaming=true enabled in your context.xml, or server.xml Context element? Seetha Rao wrote: Thanks, but got the same exception. -Original Message- From: Vivek Mohan [mailto:[EMAIL PROTECTED

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-04-12 Thread Derek Hulley
that. Regards -- View this message in context: http://www.nabble.com/UserTransaction%2C-JOTM-and-Tomcat-5.5.x-t1073172.html#a3891129 Sent from the Tomcat - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-11 Thread Matt Raible
Just to follow up on this, the settings below work - but HSQLDB doesn't seem to support nested transactions. beginning the transaction DBTest javax.transaction.NotSupportedException: Nested transactions not suppo rted at org.objectweb.jotm.Current.begin(Current.java:233) at

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-11 Thread Remy Maucherat
On 2/11/06, Matt Raible [EMAIL PROTECTED] wrote: Just to follow up on this, the settings below work - but HSQLDB doesn't seem to support nested transactions. beginning the transaction DBTest javax.transaction.NotSupportedException: Nested transactions not suppo rted at

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-08 Thread Remy Maucherat
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=

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Remy Maucherat
On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: For 1), it's simple: Resources are bound in comp/env, while the UserTransaction should go in comp. ResourceLink has a special case for UserTransaction, so it works. There's a special Transaction element which would avoid having to do

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Matt Raible
Maucherat [EMAIL PROTECTED] wrote: On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: For 1), it's simple: Resources are bound in comp/env, while the UserTransaction should go in comp. ResourceLink has a special case for UserTransaction, so it works. There's a special Transaction element which

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Remy Maucherat
On 2/7/06, Matt Raible [EMAIL PROTECTED] wrote: Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? No. It's not useful to anyone (well, almost) either. As far as the JARs location - this shouldn't matter should

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Matt Raible
:./ Transaction name=UserTransaction auth=Container type=javax.transaction.UserTransaction factory=org.objectweb.jotm.UserTransactionFactory jotm.timeout=60/ /Context In WEB-INF/lib I have: commons-cli-1.0.jar commons-logging.jar connector-1_5.jar howl.jar hsqldb.jar

UserTransaction, JOTM and Tomcat 5.5.x

2006-02-06 Thread Matt Raible
a Resource for UserTransaction in context.xml. Why is that? It works fine in Tomcat 5.0.x. For 5.5.x, it seems you have to put the UserTransaction resource in the GlobalNamingResources part of server.xml. Resource name=UserTransaction auth=Container type=javax.transaction.UserTransaction