0 Replies Latest reply on Oct 9, 2001 10:54 AM by ayan

    Oracle Minarva Pool

    ayan Newbie

      Hi,
      I'm using jboss2.4.2 with Tomcat4.0 and getting exception while starting the server after configuring jboss.jcml for Oracle minarv Datasource using the following cnfiguration:

      <!-- ==================================================================== -->
      <!-- JDBC -->
      <!-- ==================================================================== -->


      org.hsqldb.jdbcDriver,oracle.jdbc.driver.OracleDriver



      1476
      true
      default
      false



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

      jdbc:hsqldb:hsql://localhost:1476
      1200000
      sa
      10

      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0



      RadarDSLarge
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      jdbc:oracle:thin:@oraclehost.domain.com:1521:mydb_instname
      user
      pass
      10
      true
      3600000
      1.0
      0
      true
      60000
      true
      1800000
      480000
      true
      true
      true
      TRANSACTION_NONE



      Following is the exception I'm receiving:



      [JdbcProvider] Starting
      [JdbcProvider] Started
      [XADataSourceLoader] Starting
      [RadarDSLarge] XA Connection pool RadarDSLarge bound to java:/RadarDSLarge
      [RadarDSLarge] java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
      [RadarDSLarge] Pool RadarDSLarge factory org.jboss.pool.jdbc.xa.XAConnectionFactory@3ef810 unable to create new object!
      [RadarDSLarge] Pool RadarDSLarge [0/0/10] waiting for a free object
      [RadarDSLarge] java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
      [RadarDSLarge] Pool RadarDSLarge factory org.jboss.pool.jdbc.xa.XAConnectionFactory@3ef810 unable to create new object!
      [RadarDSLarge] Pool RadarDSLarge [0/0/10] couldn't find an object to return!
      [XADataSourceLoader] Stopped
      java.lang.NullPointerException
      at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178)
      at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:221)
      at org.jboss.Main$1.run(Main.java:127)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:123)
      [Configuration] java.lang.NullPointerException
      [Configuration] at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178)
      [Configuration] at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407)
      [Configuration] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [Configuration] at java.lang.reflect.Method.invoke(Native Method)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Configuration] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:83
      6)
      [Configuration] at $Proxy0.start(Unknown Source)
      [Configuration] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [Configuration] at java.lang.reflect.Method.invoke(Native Method)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Configuration] at org.jboss.Main.(Main.java:221)
      [Configuration] at org.jboss.Main$1.run(Main.java:127)
      [Configuration] at java.security.AccessController.doPrivileged(Native Method)
      [Configuration] at org.jboss.Main.main(Main.java:123)
      [ServerDataCollector] Starting
      [ServerDataCollector] JBoss Management Service 'servercollector' bound to servercollector


      I'm using Oracle 8.1.7 thin JDBC driver. I've properly placed the clsses12.zip file at jboss/lib/ext directory. And also the uername and password are correct, works with normal java jdbc code.

      Any help will really be appreciated.
      Thanks,
      Ayan