1 Reply Latest reply on Dec 19, 2002 11:12 PM by adrian.brock

    XA-JMS with non-XA-JDBC

    lion78at

      Hello!

      I am using in one transaction of a session-bean JMS (with JmsXA) and JDBC (with non-XA Oracle DataSource).

      So I get the following warning:

      [org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you expect!

      My questions now:
      1. Is this a problem or can I neglect this warning?
      2. Is there an non-XA-JMS-RA available and can/should I use it (I need transactions!)?
      3. I know that there is a XA-Oracle-Datasource available, should I use it with the XA-JMS-RA?
      4. Is my information right, that XA is for distributed transactions and that an (normal) non-XA-JMS-RA also supports transactions?

      Thanks and greetings, Bernhard.

        • 1. Re: XA-JMS with non-XA-JDBC

          The warning is telling you that nonXA oracle
          doesn't support two phase commit.

          So you db update might fail, but the JMS part
          could commit.
          With XA oracle prepare is called first before
          any commits to test whether the commit will
          work on all resources.

          Regards,
          Adrian