This content has been marked as final.
Show 2 replies
-
1. Re: Can not make remoting client invocation due to not being
anthony_717 Sep 22, 2008 4:47 AM (in response to anthony_717)The exception occurs when I run the client program.
-
2. Re: Can not make remoting client invocation due to not being
ron_sigal Sep 26, 2008 3:36 AM (in response to anthony_717)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);