如果你是用StreamingAMFChannel,而client side的web browser使用http 1.0协议,那么就会出error:
[BlazeDS]Endpoint with id 'my-streaming-amf' cannot service the streaming request made with HTTP 1.0. Only HTTP 1.1 is supported.
解决方法是:
HTTP协议版本支持问题,HTTP1.1才开始支持blazeds
查看浏览器internet选项-高级-有个http设置看看是否为HTTP1.1
如果用到了tomact,那就顺便再检查下下面的配置(一般不会出问题)
server.xml中配置
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
ref link: http://topic.csdn.net/u/20100928/09/611462be-1cf5-43d1-9df7-40938fc018dd.html