[jboss-user] [JBoss Messaging] - Re: Messaging bridge question

Khurram Majeed do-not-reply at jboss.com
Fri Dec 24 11:36:31 EST 2010


Khurram Majeed [http://community.jboss.org/people/kmajeed] created the discussion

"Re: Messaging bridge question"

To view the discussion, visit: http://community.jboss.org/message/577497#577497

--------------------------------------------------------------
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
[http://community.jboss.org/message/577497#577497]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101224/f9bc73dc/attachment.html 


More information about the jboss-user mailing list