-
1. Re: Invalid Transaction id JMSException in SessionBean
philc Aug 5, 2002 10:12 AM (in response to philc)I saw two changes in the JBoss3.0,1RC1 Change log. Could they be related to this problem since I'm using Oracle 9i?
# Forced ManagedConnection to always return the same XAResource as per spec by caching it, to work around non-spec compliant drivers such as Oracle.
# Create Xids through a factory (mbean), allowing easier configuration. This should make the txmanager work with any xid. The particular XidFactory supplied can be configured to produce xids of maximal size, needed by Oracle. The XidFactory interface is not well defined yet, I will fix it when we verify this works with Oracle -
2. Re: Invalid Transaction id JMSException in SessionBean
philc Aug 5, 2002 4:44 PM (in response to philc)You have to use JMS as a Resource (see online docs) to be able to include it in Container managed transactions.
-
3. Re: Invalid Transaction id JMSException in SessionBean
ygmarchi Feb 24, 2004 5:04 AM (in response to philc)I tried using JMS as a Resource, but:
1) if I use the method createSession (true /* transacted */ , ..)
jboss rolls back the transaction when I close the connection.
2) if I use the method createSession (false /* not transacted */ , ..)
the transaction is non enlisted in the current one, but is only a local
transaction."PhilC" wrote:
You have to use JMS as a Resource (see online docs) to be able to include it in Container managed transactions. -
4. Re: Invalid Transaction id JMSException in SessionBean
ygmarchi Feb 24, 2004 5:29 AM (in response to philc)Also it's not clear to me why the Connection returned by a SpyXAConnectionFactory upon the invocation of createSession (true, ...), is a SpyConnection and not a SpyXAConnection.
The SPEC is clear that the method createXASession should not be used by a client, so how can I get a reference to an XAConnection? -
5. Re: Invalid Transaction id JMSException in SessionBean
adrian.brock Feb 24, 2004 5:46 AM (in response to philc)DO NOT HIJACK OTHER PEOPLES THREADS.
Your question is answered here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43817
Regards,
Adrian