7 Replies Latest reply on May 31, 2003 10:46 PM by jonlee

    can not connect to jboss 3.0.6 from remote client

    pstrotmann

      Hi all,

      connecting to the server with a client running on the same physical machine (192.168.0.1) as the server works fine (thank you JonLee):

      gp-client:
      [gp] GpClient started
      [gp] new InitialContext() successful
      [gp] jndi.lookup('gp/GpController') successful
      [gp] gpControllerHome.create() successful
      [gp] Anzahl Gps zu Strot,443 : 2
      [gp] Anzahl Gps zu Strot, : 3
      [gp] gpCtl.remove() successful

      BUILD SUCCESSFUL

      to run the client I used ant:










      After installing the client on another computer (192.168.0.2) using the same ant control (except changing localhost to 192.168.0.1, the name of the remote machine I get:

      gp-client:
      [gp] GpClient started
      [gp] new InitialContext() successful
      [gp] jndi.lookup('gp/GpController') not successful
      javax.naming.communication.exception. root exception is java.rmi.connect.exception: connection refused to host: 127.0.0.1;
      nested exception is: java.net.connectException is: Connection refused

      the physical connection between the computers by ping works in both directions. Did I use a wrong syntax spe
      cifying the remote computer or is there some serversided configWork necessary to allow the access to the server ?

      peter