1 Reply Latest reply on Dec 6, 2001 4:50 PM by kasia

    Problems connecting to interbase

    kasia Newbie

      I hope this is the right forum for this question.

      I'm trying to connect to an InterBase database using JBOSS. When creating pool connections on start, I get this exception:

      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)


      Here's my configuration for interbase in the jboss.jcml file:


      InterbasePool
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      jdbc:interbase://localhost/opt/interbase/data/databasename.gdb
      SYSDBA
      masterkey


      I've tried it this way, also with:

      user=SYSDBA;password=masterkey

      Both cause the same exception.
      Can anyone help me out here? I'm new to both jboss & interbase.

      FYI: I can connect to interbase both locally and remotely, so the database configuration ought not be an issue. Same instance of jboss connects fine to oracle.

      Thanks!