JBoss Community

Re: Messaging bridge question

created by Khurram Majeed in JBoss Messaging - View the full discussion

Guys,

 

Were you able to resolve this issue? I am also getting the same exception which Chip got? Can you guys please help me in this?

 

JBoss.xml

 

======================================================

stat.deployment.cluster.jnp.url = jnp://node2_ip_address:1100/

<message-driven>
            <ejb-name>OutBoundMDB</ejb-name>
            <destination-jndi-name>${stat.deployment.cluster.jnp.url:}topic/OutboundIntegrationTopic</destination-jndi-name>
            <resource-ref>
                <res-ref-name>jms/ConnectionFactory</res-ref-name>
                <jndi-name>${stat.deployment.cluster.jnp.url:}ConnectionFactory</jndi-name>
            </resource-ref>
        </message-driven>

 

======================================================

 

jms-ds.xml

 

======================================================

 

<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
          name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
      <attribute name="ProviderName">DefaultJMSProvider</attribute>
      <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
      <attribute name="FactoryRef">/XAConnectionFactory</attribute>
      <attribute name="QueueFactoryRef">/XAConnectionFactory</attribute>
      <attribute name="TopicFactoryRef">/XAConnectionFactory</attribute>
      <attribute name="Properties"> 
          jnp.partitionName=StatPartition
      </attribute> 
   </mbean>

 

   <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
   <tx-connection-factory>
      <jndi-name>JmsXA</jndi-name>
      <xa-transaction/>
      <rar-name>jms-ra.rar</rar-name>
      <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
      <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
      <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">/DefaultJMSProvider</config-property>
      <max-pool-size>20</max-pool-size>
      <security-domain-and-application>JmsXARealm</security-domain-and-application>
      <depends>jboss.messaging:service=ServerPeer</depends>
   </tx-connection-factory>

 

======================================================

 

I have deployed the application on 2 nodes, first nodes starts smoothly but this exception comes up when 2nd node is started. I have checked that node has joined the cluster

 

======================================================

[GroupMember] New Members : 2 ([192.168.128.215:55200, 192.168.128.131:55200])
[GroupMember] All Members : 2 ([192.168.128.215:55200, 192.168.128.131:55200])

======================================================

 

Can you please help me in this regard?

 

Khurram

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community