1 Reply Latest reply on Aug 10, 2002 9:59 AM by davidjencks

    Oracle + Minerva

    garvett

      Hello,

      I've been attempting to connect to Oracle 9i using the below:


      OracleDS
      JCA:service=RARDeployer

      Minerva JDBC LocalTransaction ResourceAdapter


      This has worked for both MS SQL Server and MySQL. However, with Oracle, the 2nd time that any DataSource.getConnection() is called, a NullPointerException is thrown.

      I changed the mbean to the following:


      OracleDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      This seemed to fix the problem. But I'm not satisfied because I still do not have any idea why the first configuration failed. Has anyone encountered anything similar? I'm using 2.4.0.

      Thank you very much in advance!

        • 1. Re: Oracle + Minerva
          davidjencks

          It's really odd that the behavior is different for different drivers, but I think you want to set blocking=true. The 2.4 cvs or 2.4.8 version has different pooling code that ignores the blocking parameter and always blocks.