2 Replies Latest reply on Oct 25, 2002 2:39 AM by Elias Ross

    Warning message with MDB

    dmx Newbie

      I get this message when my message driven bean comes into action. Can anyone tell me what this is abt?

      [exec] 16:02:37,423 WARN [LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you ex

        • 1. Re: Warning message with MDB
          Adrian Brock Master

          You are attempting to use a non XA resource
          in transaction with an XA resource.

          Non XA doesn't have two phase commit.
          The non XA commit could fail (one phase) while the other
          resources are committed.
          Probably not what you want, hence the warning.


          • 2. Re: Warning message with MDB
            Elias Ross Master

            You probably need to use the XAConnectionFactory (look under $JBOSS_HOME/docs) for your database connection, not the usual LocalConnectionFactory. You may also consider just using the NoTxConnectionFactory, which doesn't have 2-phase commit, but hides those warnings.