[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.riena] Re: Stuck with remote services

One difference I see between my example and the Pingpong example is that with the pingpong example during startup of the server the following is logged in the console:
3-mei-2009 12:22:55 org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.x
3-mei-2009 12:22:56 org.mortbay.util.Container start
INFO: Started org.eclipse.equinox.http.jetty.internal.Servlet25Handler@1aae94f
3-mei-2009 12:22:56 org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
3-mei-2009 12:22:56 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:8080
3-mei-2009 12:22:56 org.mortbay.util.Container start
INFO: Started org.mortbay.http.HttpServer@7109c4


I don't have this with my example. It is as if my server does not start the Jetty HTTP service.

Best regards,

Sjoerd


"Sjoerd Kessels" <kessels.sjoerd@xxxxxxxxx> wrote in message news:gtjq41$q22$1@xxxxxxxxxxxxxxxxxxxx
Hello,

I am trying to create an example using Riena remote services but I just cannot get it to work. I followed the PingPong example as close as possible but still no luck.

When I run the server and then the client I get a Connection Reset error, thrown by Hessian. When I try the url of the rmote service in a browser I also get this error. So I thought something must be wrong with the remote service.

But now comes the strange part: When I start the Riena pingpong example server and then try the url of my own remote service (that is totally independent of the pingpong example) the browser now says 'Hession requires Post'. So now the remote servcie seems to work?!
But when I try my client again after this I still get an error but a different one: com.caucho.hessian.client.HessianRuntimeException: java.io.FileNotFoundException: http://localhost:8080/hessian/HelloServer?sendMessage&RID-edoujto3


I cannot see what is wrong. Has anybody experienced something like this? Any Ideas?

Thanks,

Sjoerd