0 Replies Latest reply on Jul 25, 2005 8:25 AM by khamre

    Can't get rid of "Prepare called on a local tx..."

    khamre

      I am trying to configure jboss 3.2.6 with Oracle 9.2 and XA.

      "Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure."

      According to http://wiki.jboss.org/wiki/Wiki.jsp?page=GetquotWARNPrepareCalledOnALocalTx.quotWhenUsingJMSWithJDBC,
      :This is because your transactional resource (for example, your JDBC Datasource) does not support two phase commit protocol.

      But I have configured jboss exactly according to http://wiki.jboss.org/wiki/Wiki.jsp?page=IHaveProblemsWithOracleXA
      and
      http://docs.jboss.org/jbossas/getting_started/v4/html/db.html

      I am using ojdbc14.jar as a driver. (the latest one for 10g) and, yes, the database is configured for xa.

      Where can I start looking?

      regards, Kjetil