Re: -Error in service
Todd Hivnor <[email protected]> Fri, 07 Jul 2006 10:17:54 -0700
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
This is normal behavior. Venura is making an empty HTTP GET request to the OpenAMF servlet. But the OpenAMF servlet is designed to respond to Remoting requests. It is trying to parse a Remoting requests that just isn't there. I would personally prefer that DefaultGateway detect empty HTTP requests, and respond with a simple text message like "Welcome to the OpenAMF Gateway" or some such. This would let you test your configuration, to confirm that OpenAMF is installed at the specified gateway location. But as it stands, the servlet is assuming that it is getting a Remoting request, trying to parse it, and getting and an end-of-file exception. Venura: you need to make your request from Flash. Sean Sullivan wrote: > 1) What version of OpenAMF? > 2) What version of the JDK? > 3) What version of the Flash Player? > 4) Have you tried upgrading to Tomcat 5.5.x? > > > Venura Perera wrote: > >> Hi all, >> >> I'm trying to configure openamf with tomcat-5.0.28.I can deploy >> openamf as a war file >> successfully without any error on tocat server console, but when I try >> to access http://localhost:8080/openamf/gateway link following error >> appears in on the tomcat >> server console. >> I've tried with many ways to solve this but all in vain.So any help >> highly appreciated. >> >> - Server startup in 14875 ms >> - Deserializing Message, for more info turn on debug level >> - Error in service >> java.io.EOFException >> at >> java.io.DataInputStream.readUnsignedShort(DataInputStream.java:400) >> at >> org.openamf.io.AMFDeserializer.readHeaders(AMFDeserializer.java:100) >> at org.openamf.io.AMFDeserializer.<init>(AMFDeserializer.java:80) >> at >> org.openamf.DefaultGateway.deserializeAMFMessage(DefaultGateway.java: >> 155) >> at org.openamf.DefaultGateway.service(DefaultGateway.java:86) >> Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642