1 Reply Latest reply on Jan 16, 2005 12:57 PM by starksm64

    Cannot install JPOX JCA when migrating to JBoss 4

    wegorkie

      Hello,

      I have a problem with installing JPOX JCA adapter in JBoss 4 (for use with Derby database).
      In JBoss 3.2.6 everything works ok.

      Here are my exact steps I do:

      1. I start JBoss

      2. I copy the files of JDBC driver to deploy dir

      These are files: db2jcc.jar, db2jcc_license_c.jar
      Downloaded from: http://www-106.ibm.com/developerworks/db2/downloads/jcc/

      3. I copy the JPOX JCA adapter file to deploy dir

      This is file: jpox-1.1.0-beta-1.rar
      Downloaded from: http://sourceforge.net/project/showfiles.php?group_id=86139&package_id=95353

      4. I copy the jpox-ds.xml config file to deploy dir

      Here is the file dump:

      <?xml version="1.0" encoding="UTF-8"?>
      <connection-factories>
       <tx-connection-factory>
       <jndi-name>jpox</jndi-name>
       <adapter-display-name>JPOX Connector</adapter-display-name>
       <config-property name="ConnectionDriverName"
       type="java.lang.String">com.ibm.db2.jcc.DB2Driver</config-property>
       <config-property name="ConnectionURL"
       type="java.lang.String">jdbc:derby:net://localhost:1527/"f:/temp/oqsWorkingDir/dboqs"</config-property>
       <config-property name="UserName"
       type="java.lang.String">app</config-property>
       <config-property name="Password"
       type="java.lang.String">app</config-property>
       <config-property name="AutoCreateSchema"
       type="boolean">true</config-property>
       </tx-connection-factory>
      </connection-factories>
      


      So, in JBoss 3.2.6 everything seems to be ok:


      13:43:22,496 INFO [Server] JBoss (MX MicroKernel) [3.2.6 (build: CVSTag=JBoss_3_2_6 date=200410140106)] Started in 14s:581ms
      13:44:33,047 INFO [RARMetaData] Loading
      13:45:19,024 INFO [JDO] PersistenceManagerFactory : JPOX - Vendor: JPOX Version: 1.1.0-beta-1
      13:45:19,024 INFO [JDO] PersistenceManagerFactory initialised for datastore URL=jdbc:derby:net://localhost:1527/"f:/temp/oqsWorkingDir/dboqs" driver=com.ibm.db2.jcc.DB2Driver userName=app
      13:45:19,034 INFO [jpox] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=jpox to JNDI name 'java:/jpox'


      But, in JBoss 4 I get exceptions that are hard for me to understand (as I am beginner in JBoss):


      13:59:12,632 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 19s:18ms
      14:00:43,673 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      MBeans waiting for other MBeans:
      ObjectName: jboss.jca:name=jpox,service=TxCM
      state: CONFIGURED
      I Depend On: jboss.jca:name=jpox,service=ManagedConnectionPool
      jboss.jca:service=CachedConnectionManager
      jboss:service=TransactionManager

      Depends On Me: jboss.jca:name=jpox,service=ConnectionFactoryBinding

      ObjectName: jboss.jca:name=jpox,service=ManagedConnectionPool
      state: CONFIGURED
      I Depend On: jboss.jca:name=jpox,service=ManagedConnectionFactory

      Depends On Me: jboss.jca:name=jpox,service=TxCM

      ObjectName: jboss.jca:name=jpox,service=ManagedConnectionFactory
      state: CONFIGURED
      I Depend On: jboss.jca:name='',service=RARDeployment

      Depends On Me: jboss.jca:name=jpox,service=ManagedConnectionPool

      ObjectName: jboss.jca:name=jpox,service=ConnectionFactoryBinding
      state: CONFIGURED
      I Depend On: jboss.jca:name=jpox,service=TxCM

      Depends On Me:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.jca:name='',service=RARDeployment
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: jboss.jca:name=jpox,service=ManagedConnectionFactory


      Any clue would be appreciated.

      Thanks.