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
at
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
The java.lang.NoSuchMethodError goes away if you recompile the carol
library using JDK 1.5. The JOTM uses the carol stubs, I presume. Anyway, I
got the hint from this location:
http://jira.ofbiz.org/browse/OFBIZ-737
I compiled JOTM for good measure as well. All seemed to work fine after
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 that, but
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?
As far as the JARs location - this shouldn't matter should it? I can
put it in $CATALINA_HOME/common/lib *or* in WEB-INF/lib - right?
I've tried changing my context,
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
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
Transaction element. Is that new in 5.5.x? Is it documented
anywhere?
No. It's not useful to anyone (well, almost) either.
Just
10 matches
Mail list logo