3 Replies Latest reply on Apr 15, 2002 3:23 PM by davidjencks

    JBoss 3.0 CMP and PostgreSQL

      I'm trying to establish a datasource for my Entity beans with PostgreSQL. I'm using the jdbc7.0-1.2.jar driver. I copied the sample PostgreSQL service xml file from the CVS repository (ver 1.3) and placed it in my deploy directory (changes made for my system). I get a new JNDI entry in JBoss, but when I look into it, it is stopped. When I try to Start it manually I get the following.

      The MBean [jboss.jca:service=ConnectionFactoryLoader,name=StealthWatchDS] throws an MBeanException when calling [start]:
      java.lang.Exception: Can't find allegedly deployed rar: jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter

      I don't quite understand everything that is going on here with the resource adapter stuff. Can anyone point me in the right direction.

      Note: I don't get any warnings during JBoss startup.

      Thanks,

        • 1. Re: JBoss 3.0 CMP and PostgreSQL

          Follow-up: When I try to start the datasource manually, I get the following output in JBoss.

          08:50:26,021 ERROR [StealthWatchDS] Starting failed
          java.lang.Exception: Can't find allegedly deployed rar: jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction
          ResourceAdapter
          at org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFactoryLoader.java:431)
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
          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 com.sun.jdmk.comm.HtmlInvokePage.buildPage(HtmlInvokePage.java:240)
          at com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRequestHandler.java:325)
          at com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlRequestHandler.java:152)
          at com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler.java:79)
          at com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:84)
          at java.lang.Thread.run(Thread.java:496)

          • 2. Re: JBoss 3.0 CMP and PostgreSQL
            svevor

            Hi,
            Can you give me idea how to get from cvs postgresql config
            1.3?
            Thanks.

            • 3. Re: JBoss 3.0 CMP and PostgreSQL
              davidjencks

              1. Please upgrade to rc1.

              2. The example config files for rc1 are at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosscx/src/etc/example-config/

              See if you still have a problem.

              thanks
              david jencks