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

    QueueConnectionFactory lookups wrong host

    sohnj Newbie

      Hi,
      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
      -Djava.naming.factory.initial=org.jnp.interfacts.NamingContextFactory
      -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces.


      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?
      Thanks!

        1 2 Previous Next