Re: no UserTransaction in jndi

2007-11-08 Thread Martin Gainty
8, 2007 5:09 AM Subject: Re: no UserTransaction in jndi > > Hello, > > under 5.5.9 the configuration has to be > name="UserTransaction" > type="com.atomikos.icatch.jta.UserTransactionImp" > factory="org.apache.naming.factory.Bea

Re: no UserTransaction in jndi

2007-11-08 Thread Peter Fischer
Hello, under 5.5.9 the configuration has to be With this, the 5.5.9 manager lists the UserTransaction. But I want to use a actual version of tomcat. Should the manager list the UserTransaction if it is configured under 5.5.25 or 6.0.14 with ? regards, Peter -- View this message in context

Re: no UserTransaction in jndi

2007-11-08 Thread Peter Fischer
ly one tomcat running. 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 conte

RE: no UserTransaction in jndi

2007-11-08 Thread Peter Fischer
gs about this at Tomcat startup? > You'r right, so I tried 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: 08.11.2007 10:07:16 or

Re: no UserTransaction in jndi

2007-11-07 Thread Martin Gainty
> To: "Tomcat Users List" 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 in the server.xml > factory="

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 in the server.xml > factory="com.atomikos.icatch.jta.UserTransactionFactory" > /> According to the Tomcat doc, the only valid attribute is fac

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 in the server.xml and to the global . I put the needed jars into the folder "$catalina_home$/lib". Listing all jndi-

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: - p

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 instan

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-09-11 Thread Ignacio de Córdoba
t make it create 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.c

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
I don't have that enabled. Isn't it by default set to true? Here is my context element. -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 5:07 PM To: Tomcat Users List Subject: Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

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.UserTransac

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:com

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

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Vivek Mohan
t-jotm.html 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: factory org.objectweb.jotm.U

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(); UserTransa

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-04-12 Thread Derek Hulley
fine after 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 PROT

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 >

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)

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: 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. -- x Rémy Maucherat Developer & C

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-08 Thread Remy Maucherat
On 2/8/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > No. It's not useful to anyone (well, almost) either. > > Just curious - what do you mean? Are you saying that no one uses a > JTA TransactionManager with Tomcat? Is it something you don't > recommend? My guess is it's better to use a server li

Re: UserTransaction, JOTM and Tomcat 5.5.x

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

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 > 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 it? I c

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Matt Raible
On 2/7/06, Remy 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 speci

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 Transac

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-07 Thread Remy Maucherat
t; > I've updated the following tutorial for Tomcat 5.5.x: > > http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html > > My update: http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html > To summarize: > > Why can't a UserTransaction re

UserTransaction, JOTM and Tomcat 5.5.x

2006-02-06 Thread Matt Raible
longer possible to put a 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 part of server.xml. Then you have to link to it from your context.xml: 2. For the demo (dbtest.war) li