2 Replies Latest reply on May 13, 2004 7:38 PM by stephen

    access remote connection factory

    stephen Newbie

      Hello Adrian,

      With reference to your FAQ on how to access remote Jboss connection factory using a managed connection pool.

      I get imcomplete deployment exception. My deployment descriptor is as follow. I notice, if i remove the tx-connection-factory part, it will get deployed without any problems.

      Please Help

      
       <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
       name="jboss.mq:service=JMSProviderLoader,name=RemoteMQProvider,server=stephenting">
      
       <attribute name="ProviderName">RemoteJMSProvider</attribute>
       <attribute name="ProviderUrl">jnp://172.16.0.153:1099</attribute>
       <attribute name="ProviderAdapterClass"> org.jboss.jms.jndi.JBossMQProvider </attribute>
       <attribute name="QueueFactoryRef">UIL2XAConnectionFactory</attribute>
       <attribute name="TopicFactoryRef">UIL2XAConnectionFactory</attribute>
       </mbean>
      
      
      
       <tx-connection-factory>
       <jndi-name>RemoteJmsXA</jndi-name>
       <xa-transaction/>
       <adapter-display-name>Remote JMS Adapter</adapter-display-name>
       <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
       <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/RemoteJMSProvider</config-property>
       <security-domain-and-application>RemoteJmsXARealm</security-domain-and-application>
      </tx-connection-factory>
      
      
       <application-policy name = "RemoteJmsXARealm">
       <authentication>
       <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
       flag = "required">
       <module-option name = "principal">guest</module-option>
       <module-option name = "userName">guest</module-option>
       <module-option name = "password">guest</module-option>
       <module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=RemoteJmsXA</module-option>
       </login-module>
       </authentication>
       </application-policy>
      
      



      MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=TxCM,name=RemoteJmsXA
      state: CONFIGURED
      I Depend On: jboss.jca:service=ManagedConnectionPool,name=RemoteJmsXA
      jboss.jca:service=CachedConnectionManager
      jboss.security:service=JaasSecurityManager
      jboss:service=TransactionManager

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

      Depends On Me: jboss.jca:service=TxCM,name=RemoteJmsXA
      , ObjectName: jboss.jca:service=ManagedConnectionFactory,name=RemoteJmsXA
      state: CONFIGURED
      I Depend On: jboss.jca:service=RARDeployment,name=Remote JMS Adapter

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

      Thanks

      Regards,
      Stephen