3 Replies Latest reply on Sep 16, 2001 8:54 PM by nuanda

    XADatasource problem?

    nuanda

      Nobody else seems to have noticed this so maybe I'm doing something incorrectly... But when declaring a transactional datasource in jboss.jcml using the documented and default "org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl"

      I get a class not found exception on server startup. I then looked around and found another XADataSource class in the JBoss dist and used this reference: "org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl"

      With that change everything starts ok and datasource operations seem to be working ok. Just wondering if the docco is out of date or if the Minerva XADAtaSource class should be working for me...are there any problems with using the non-Minerva XADataSource class?

      I am running Jboss 2.4.0-26 on Linux 2.4.2 with Sun's JDK 1.3.1.

      Cheers,

      Dave



        • 1. Re: XADatasource problem?
          davidjencks

          The documentation is out of date. The "Minerva" classes used to be maintained separately by their original author, several months ago they were copied to jboss-cvs and put in a different package, the one that works.

          • 2. Re: XADatasource problem?
            claude

            I have the same problem as Dave.
            However, i still don't know where should i get the Miverva classes and what is the difference between:
            org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
            and
            org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl.

            Can anyone help?

            Claude

            • 3. Re: XADatasource problem?
              nuanda

              I assume from the previous post that they are the same class with a different name.

              So just use:
              org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

              in your jboss.jcml