1 2 Previous Next 19 Replies Latest reply on Jan 30, 2004 9:43 AM by Priya Vasudevan

    QueueConnectionFactory lookups wrong host

    sohnj Newbie

      I am have jboss instance setup on my local host and on a remote machine.

      I've written a test client to send a queue message to the remote machine with the following:

      java -Djava.naming.provider=jnp://xxxx:1090

      Connecting to queuefacorty by:
      QueueConnectionFactory factory = (QueueConnectionFactory)iintialContext.lookup("UILConnectionFactory");

      However, everytime I run the client, it automatically connects to my local server and not the remote instance of JBOSS.

      Any thoughts?

        1 2 Previous Next