3 Replies Latest reply on Mar 20, 2002 9:48 AM by adrian.brock

    JBoss Latest CVS Connector Build fail - doesn't find Connect

    houstonbernie

      Hi,

      I downloaded the latest JBoss 3 beta from CVS today and built it by invoking build.bat in the build directory. It almost builds fine, only the connector directory/package doesn't build properly. Which is a shame since it contains org.jboss.resource.ConnectionFactoryLoader a required class to use/deploy datasources. I can start JBoss OK and it starts up correctly, however throws an exception that it can't find org.jboss.resource.ConnectionFactoryLoader. This of course makes sense, since the package it belongs to can't be built. Anybody had the same problem and can help me out there?

      I'd greatly appreciate that.

        • 1. Re: JBoss Latest CVS Connector Build fail - doesn't find Con

          You have java 1.4

          There is code "commented out" in the sources that you
          will need to uncomment. It is marked with 1.4 in the
          comment.

          Regards,
          Adrian

          • 2. Re: JBoss Latest CVS Connector Build fail - doesn't find Con
            houstonbernie

            Thanks a lot, that almost saved my day, i.e. I managed to build JBoss, run it and even deploy my mySQL datasource with a slightly changed mysql-service.xml I got from CVS. However on deploying my jar file with EJB's (which worked perfectly well with JBoss 3 alpha from jboss.org) I get the following exception:

            2002-03-20 14:56:40,297 INFO [org.jboss.ejb.EjbModule] Deploying BenutzerSession
            2002-03-20 14:56:40,587 INFO [org.jboss.ejb.EjbModule] Deploying PartnerFacade
            2002-03-20 14:56:40,728 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.PartnerJur] Initializing CMP plugin for PartnerJur
            2002-03-20 14:56:41,168 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.PartnerJur] Loading standardjbosscmp-jdbc.xml : file:/C:/Programme/GNU/WinCvs/jboss-all/build/output/jboss-3.0.0beta2/server/default/conf/standardjbosscmp-jdbc.xml
            2002-03-20 14:56:41,609 ERROR [org.jboss.ejb.EntityContainer] Exception in service lifecyle operation: create
            java.lang.NullPointerException
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.createTypeSimple(JDBCTypeFactory.java:113)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.getJDBCType(JDBCTypeFactory.java:75)
            at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.(JDBCAbstractCMPFieldBridge.java:55)
            at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.(JDBCCMP2xFieldBridge.java:43)
            at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.createCMPField(JDBCEntityBridge.java:274)
            at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadCMPFields(JDBCEntityBridge.java:141)
            at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:101)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:276)
            at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:138)
            at org.jboss.ejb.EntityContainer.create(EntityContainer.java:329)
            at org.jboss.ejb.Container.invoke(Container.java:765)
            at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1003)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
            at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:745)
            ...

            How come? Are there any more significant other changes in any of the other config files that I should be aware of? Like in jboss-service.xml... do I have to put anything else into it?

            Thanks!

            • 3. Re: JBoss Latest CVS Connector Build fail - doesn't find Con

              You'll have to ask this the persistence forum,
              I'm not a CMP person.

              I do know EJB-QL got totally reimplemented with
              some changes to the cmp config.

              Regards,
              Adrian