tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio de Córdoba <>
Subject Re: UserTransaction, JOTM and Tomcat 5.5.x
Date Mon, 11 Sep 2006 10:27:32 GMT

Hi there,
I am trying to follow docs in these messages to implement transaction
support in my stand alone Tomcat 5.5.17, but not to use it with JDBC but
with a remote JBoss server.
I get a "comp not bound" error:

Caused by: javax.naming.NameNotFoundException: comp not bound
        at org.jnp.server.NamingServer.getBinding(
        at org.jnp.server.NamingServer.getBinding(
        at org.jnp.server.NamingServer.getObject(
        at org.jnp.server.NamingServer.lookup(
        at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(
        at sun.rmi.transport.Transport$
        at Method)

when doing the lookup. I've tried to register the <Transaction> element in
all places in tomcat (conf/context.xml, server.xml, META-INF/context.xml in
my webapp, ...) but can't make it create the java:comp/UserTransaction name
in the initial context.
The code I am using is:
	   return (UserTransaction)new

Thanks for any help...

View this message in context:
Sent from the Tomcat - User forum at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message