3 Replies Latest reply on Aug 29, 2002 9:21 PM by slumley1

    Connection refused problem

    slumley1

      I installed jboss 3.0 on a machine with NT server and I wa able to get the examples running no problem. I then installed it on my machine at home, which is running XP and is not on any network, and I am getting the below problem when I run the example client. I have added the -Djava.rmi.server.hostname=localhost to the client script and still received this error. Any help would be great.

      Thanks


      javax.naming.CommunicationException. Root exception is java.rmi.ConnectExceptio
      n: Connection refused to host: 152.163.0.0; nested exception is:
      java.net.ConnectException: Operation timed out: connect
      java.net.ConnectException: Operation timed out: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
      at java.net.Socket.(Socket.java:273)
      at java.net.Socket.(Socket.java:100)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
      SocketFactory.java:25)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
      SocketFactory.java:120)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
      )
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:83)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:445)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)
      at test.client.TestClient.main(TestClient.java:21