0 Replies Latest reply on Dec 10, 2004 2:06 PM by Marco

    How to access an Queue inside a Cluster with a MDB ???

    Marco Newbie

      Hi, can anyone help me?

      I have JBoss 3.2.6 in my PC and I want to access a Queue that is on a remote PC that bellongs to a cluster.
      My PC doesn't belong to the cluster!!


      I can send and receive messages from that Queue but with simple clients, not with a MDB.

      Do I need to put all the IP address of the PC's in the cluster for the provider URL? Or must I put localhost?

      properties.put(Context.PROVIDER_URL, "jnp://xxx.xxx.92.233:1100, xxx.xxx.92.146:1100");


      And on 'hajndi-jms-ds.xml' do I need to put again the IP's?

      <attribute name="Properties">
       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
       java.naming.provider.url=localhost:1100, xxx.xxx.92.146:1100, xxx.xxx.92.233:1100
       </attribute>


      Best Regards