3 Replies Latest reply on Nov 26, 2001 12:10 PM by Harold Venstrom

    Firebird and Jboss problem

    Harold Venstrom Newbie

      Hi I have a problem to get petshop working with firebird. The problem I get is that I do not seems to be able to connect to the data base. I get the following print out:

      PopulateServlet Error:
      java.lang.NullPointerException java.lang.NullPointerException at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.getDBConnection(PopulateServlet.java:366) at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.checkConnection(PopulateServlet.java:179) at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.doGet(PopulateServlet.java:125) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Unknown Source)


      I use the following definition in jboss.jcm:

      <mbean code="org.jboss.jdbc.XADataSourceLoader"name="DefaultDomain:service=XADataSource,name=EstoreDB">
      EstoreDB
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      <!-- -->
      jdbc:interbase://localhost/D:/Program/Firebird/Bin/FIREINTHEHALL.GDB
      <!-- 1200000 -->
      sysdba
      <!-- 10 -->
      masterkey
      <!-- false -->
      <!-- false -->
      <!-- false -->
      <!-- true -->
      <!-- 120000 -->
      <!-- 1800000 -->
      <!-- false -->
      <!-- false -->
      <!-- 1.0 -->
      <!-- 0 -->