On 5/29/07, Mondain <[EMAIL PROTECTED]> wrote:
Looks like your using the WAR version... So i assume if you try
"standalone" this might work?
I have tried with the 0.6 and 0.6.1 standalone versions too, and I receive:
(paste from 0.6.1:)
java.lang.NullPointerException
at org.red5.server.net.servlet.AMFGatewayServlet.decodeRequest(
AMFGatewayServlet.java:141)
at org.red5.server.net.servlet.AMFGatewayServlet.serviceAMF(
AMFGatewayServlet.java:115)
at org.red5.server.net.servlet.AMFGatewayServlet.service(
AMFGatewayServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
:491)
at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:367)
at org.mortbay.jetty.security.SecurityHandler.handle(
SecurityHandler.java:185)
at org.mortbay.jetty.servlet.SessionHandler.handle(
SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(
ContextHandler.java:689)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java
:391)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
ContextHandlerCollection.java:146)
at org.mortbay.jetty.handler.HandlerCollection.handle(
HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at org.mortbay.jetty.HttpConnection.handleRequest(
HttpConnection.java:457)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(
HttpConnection.java:765)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
The error from Flex:
(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = (null)
correlationId = "C3AD0686-829A-61A0-01BD-DBF773DC84E9"
destination = ""
extendedData = (null)
faultCode = "Client.Error.MessageSend"
faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Failed: url: 'http://localhost:5080/gateway'"
faultString = "Send failed"
headers = (Object)#2
messageId = "23536E49-E5D5-4B4F-6C34-DBF773EB174E"
rootCause = (Object)#3
code = "NetConnection.Call.Failed"
description = "HTTP: Failed"
details = "http://localhost:5080/gateway"
level = "error"
timestamp = 0
timeToLive = 0
I don't get it, though, how come the NPE at line 141 in AMFGatewayServlet,
since the only object that can be null is codecFactory, and the Spring bean
is defined in red5-common.xml and war/red5-common
I do not have a debugging environment set up with the standalone (jetty)
version of red5 though..
Thanks
Vlad
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org