我在Windows 8上运行Red5 1.0.7。我很想启动服务器,但是当我尝试运行SimpleChat演示(http://localhost:5080/demos/SimpleChat.html)时,我遇到以下故障:
[WARN] [RTMPConnectionExecutor-1] org.red5.server.net.rtmp.RTMPHandler - Scope not found
org.red5.server.exception.ScopeNotFoundException: Scope not found: SOSample in null
at org.red5.server.scope.ScopeResolver.resolveScope(ScopeResolver.java:112)
at org.red5.server.Context.resolveScope(Context.java:158)
at org.red5.server.net.rtmp.RTMPHandler.onCommand(RTMPHandler.java:323)
at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:116)
at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:72)
at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:38)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[INFO] [RTMPConnectionExecutor-1] org.red5.server.net.rtmp.RTMPHandler - Scope SOSample not found on localhost
[INFO] [RTMPConnectionExecutor-1] org.red5.server.net.rtmp.RTMPMinaConnection - Connection is closed: KG0TZJZBWYITN
事实上,当我尝试运行任何演示应用程序时,我会遇到类似的错误。例如,使用带宽检查应用程序(http://localhost:5080/demos/bwcheck.html):
[WARN] [RTMPConnectionExecutor-2] org.red5.server.net.rtmp.RTMPHandler - Scope not found
org.red5.server.exception.ScopeNotFoundException: Scope not found: bwcheck in null
at org.red5.server.scope.ScopeResolver.resolveScope(ScopeResolver.java:112)
at org.red5.server.Context.resolveScope(Context.java:158)
at org.red5.server.net.rtmp.RTMPHandler.onCommand(RTMPHandler.java:323)
at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:116)
at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:72)
at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:38)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[INFO] [RTMPConnectionExecutor-2] org.red5.server.net.rtmp.RTMPHandler - scope bwcheck not found on localhost
[INFO] [RTMPConnectionExecutor-2] org.red5.server.net.rtmp.RTMPMinaConnection - Connection is closed: ZFUADXAXT2NQX
我原本以为可能需要实际安装这些应用程序,所以我尝试运行安装程序(http://localhost:5080/installer/)。但是,当我开始时,我没有在列表和服务器端看到任何应用程序,我得到以下内容:
[INFO] [RTMPConnectionExecutor-3] org.red5.server.adapter.ApplicationAdapter - W3C x-category:session x-event:connect c-ip:0:0:0:0:0:0:0:1 c-client-id:0
[WARN] [RTMPConnectionExecutor-4] org.red5.server.service.Installer - Service returned an error
显然存在某种配置或安装问题,但我找不到它。有谁知道造成这些问题的原因以及如何解决这些问题?
请告知。