[Red5] Remoting from a java app
Anze Cesar
anze.cesar at gmail.com
Mon Oct 8 06:32:54 PDT 2007
Hi,
I'm trying to invoke a method on red5 (0.6.2) from another java application.
I use stripes framework, but that's besides the point I think.
I followed this example:
http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt#remoting
but it does not work the way I would want.
I have this method in my Application.java:
public String HelloWorld() {
return "Hello World";
}
I call it like this from the remote application:
String url = "http://localhost:5080/videowall/gateway";
RemotingClient client = new RemotingClient(url);
Object[] args = new Object[]{"Hello world!"};
Object result = client.invokeMethod("HelloWorld", args);
null is returned and logs say this:
[ERROR] 1088086 btpool1-16:( org.red5.server.service.ServiceInvoker.invoke )
Method HelloWorld not found in si.marand.video.Application at c5d9c1
What did I miss/what am I doing wrong here?
All your help is appreciated.
--
lp,
Anže
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071008/55323ded/attachment.html
More information about the Red5
mailing list