3 Replies Latest reply on Nov 12, 2002 9:05 PM by adrian.brock

    Connection refused to JBOSS MQ

    carton

      Hi,

      JBoss is running on my linux box. When I try to connect to my queue from a windows workstation I get this error :

      java.rmi.ConnectionException : connection refused to host 127.0.0.1.

      Here the properties I use :
      Properties properties = new Properties();
      properties.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
      properties.setProperty("java.naming.provider.url","jnp://carton-linux:1099");
      properties.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");

      On the other hand, if JBoss is running on my windows workstation I have no trouble to connect to my queue from anywhere ...

      Any ideas ? Thanks