I am trying to get JBoss Remoting to connect across our LAN using Http as the transport protocol but have been unable to get this to work.
We are using the sample classes provided in the org.jboss.samples.simple package, and changed the transport to http.
This worked OK on a local host, but failed across the network. The exception returned was:
org.jboss.remoting.CannotConnectException: Can not connect http client invoker. at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:149).
Yes, it should be possible. However, there is a bug in the HTTPServerInvoker causing it to always bind to localhost. I will make the fix and release a patch shortly.
Until then, can either use a different transport, edit hosts file to point localhost to real ip you want to bind to, or change the HTTPServerInvoker's serverBindAddress variable value in the source and re-compile.