0 Replies Latest reply on May 27, 2008 10:05 AM by mhaduk

    Incomplete deployment of RAR (ConnectionFactory) in Cluster

    mhaduk Newbie

      Hi,

      I am trying to configure RAR as a HA-Singleton. I have created RAR and *-ds.xml (connection factory) that is working fine when deployed in */deploy directory.
      If I try to deploy this in */deploy-hasingleton deployment of connection factory fails with this message:

      15:23:02,453 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.jca:service=NoTxCM,name=ra/CIMD2JCA
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=ManagedConnectionPool,name=ra/CIMD2JCA
      jboss.jca:service=CachedConnectionManager
      Depends On Me:
      jboss.jca:service=ConnectionFactoryBinding,name=ra/CIMD2JCA

      ObjectName: jboss.jca:service=ManagedConnectionPool,name=ra/CIMD2JCA
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=ManagedConnectionFactory,name=ra/CIMD2JCA
      Depends On Me:
      jboss.jca:service=NoTxCM,name=ra/CIMD2JCA

      ObjectName: jboss.jca:service=ManagedConnectionFactory,name=ra/CIMD2JCA
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=RARDeployment,name='message-router-cimd2-jca-config-1.0.0-
      SNAPSHOT.rar'
      Depends On Me:
      jboss.jca:service=ManagedConnectionPool,name=ra/CIMD2JCA

      ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=ra/CIMD2JCA
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=NoTxCM,name=ra/CIMD2JCA

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:service=RARDeployment,name='message-router-cimd2-jca-confi
      g-1.0.0-SNAPSHOT.rar'
      State: NOTYETINSTALLED
      Depends On Me:
      jboss.jca:service=ManagedConnectionFactory,name=ra/CIMD2JCA

      RAR file is deployed previosly because is can see in the logs that ResourceAdapter has started.

      *-ds.xml file looks like that:
      <?xml version="1.0" encoding="UTF-8"?>

      <connection-factories>
      <loader-repository>jboss.test:loader=JavaClassIsolation</loader-repository>
      <no-tx-connection-factory>
      <jndi-name>ra/CIMD2JCA</jndi-name>
      <rar-name>message-router-cimd2-jca-config-1.0.0-SNAPSHOT.rar</rar-name>
      <connection-definition>XXX.cimd2.jca.spec.CIMD2ConnectionFactory</connection-definition>
      <adapter-display-name>CIMD2JCAAdapter</adapter-display-name>
      </no-tx-connection-factory>
      </connection-factories>

      Is this some simple typical problem, did any one tried to deploy RAR and connection factory as a HAsingleton?

      Regards,
      Daniel