. 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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
]
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
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
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
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
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
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=
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
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
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
:./
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
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
25 matches
Mail list logo