2 Replies Latest reply on Oct 15, 2001 2:40 AM by ocquidant

    connection to firebird problem ?

    ocquidant Newbie

      I try to use the firebird database with jboss 2.4.1, classic version for solaris.

      I've downloaded the interclient driver.

      My jboss.jml looks like:

      <!-- firebird -->

      attribute name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,interbase.interclient.Driver


      ........
      ........


      FirebirdDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      <!-- -->
      jdbc:interbase://localhost/opt/dbs/storage/firebird/firebirdDBtest.gdb
      <!-- 1200000 -->
      SYSDBA
      masterkey
      <!-- true -->
      <!-- 0 -->
      <!-- false -->
      <!-- false -->
      <!-- false -->
      <!-- true -->
      <!-- 120000 -->
      <!-- 1800000 -->
      <!-- false -->
      <!-- false -->
      <!-- 1.0 -->
      <!-- 0 -->


      And i obtain a NullPointerExcpetion:

      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:210)
      at org.jboss.Main$1.run(Main.java:116)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:112)


      I have created a database with the bin/isql program.

      Someone could help me ?

      Thanks a lot.

      Nicolas