Hi, I am new to jboss. I need to create an remote application that the client side will make in small application used through Java web start. And the server will be EJB on jboss. I follow the demo (as below) to make a simple demo for testing.
But I faced the following exception : "java.lang.Exception: Can not make remoting client invocation due to not being connected to server."
I used JDK 1.6.0_03 and jboss-remoting-2_5_0_GA. Can anyone tell me what wrong about the application.
Since the client need to run under java web start, so it cannot include big size jar file as jbossall-client.jar. But what jars should be included?
Interesting. I didn't know that demo existed.
The demo is based on an older version of Remoting, probably 1.4. As of Remoting 2.0, it is necessary to call Client.connect() before calling Client.invoke(). I.e.,
Client remotingClient = new Client(locator); remotingClient.connect(); remotingClient.invoke("Do something, null);