0 Replies Latest reply on Sep 12, 2006 11:11 AM by lital hacham

    problem connecting to jbos on another unix machine

    lital hacham Newbie

      I'm trying to connect to jboss from tomcat.
      The jboss is running on a different machine with unix operating system.
      I'm using the following properties:
      provider.url = jnp://serverName:1099
      initial.context.factory = org.jnp.interfaces.NamingContextFactory
      url.pkg.prefixes = org.jboss.naming.client

      This works well if the jboss is running on the same machine and also if it is running on other windows machines.

      when trying to connect I get the following exception :
      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host:;

      It seems there is a problem connecting to that port but when I telnet it seems o.k. I get the following :
      ?°T??xp2¼?t!http://suse.il.identify.com:8083/q~q~uq~??¼?sr org.jnp.server.Naming
      Connection to host lost.

      Does anyone have any idea ?

      Thanks a lot,