1 Reply Latest reply on Aug 23, 2006 2:27 PM by vivek v

    CannotConnectException in cluster example

    vivek v Newbie


      I am trying to run the Transport Sample - Clustered example (section 10.8.5 in user's guide). I start up all the three servers and Client. Here is what's happening,

      1) Client talks to SocketServer and things are fine.
      2) I stop SocketServer and Client failsover to the HttpServer. Things are still fine.
      3) I stop HttpServer and now I get the following "CannotConnectException".

      Not sure why the Client is not failing over to the RmiServer when it's still running.

      org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.remoting.Client.invoke(Client.java:473)
       at org.jboss.remoting.transporter.TransporterClient.invoke(TransporterClient.java:238)