4 Replies Latest reply on Apr 27, 2006 10:57 AM by abhiejit

    Failure getting messages from a remote queue

    NA NA Newbie

      Hello,

      I'm trying to get my application to read a message from a remote queue. I have provided the following information in setting this up:

      Property---Value
      java.naming.factory.initial---org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs---org.jnp.interfaces
      queue.connectionfactory.name---ConnectionFactory
      java.naming.provider.url---cslnt20:1099

      To test this I put a message on the remote machine and another locally. The local message is read every time. If I put in an incorrect hostname eg instead of cslnt20 I put in x then it doesn't work at all. This indicates that the hostname is being used but not correctly.

      Has anyone encountered this before?

      I'm using JBoss 4.

      Thanks very much,

      Ger