2016-02-11 68 views
1

Red5的測試頁面,但在打開安裝我得到錯誤我也是打開的端口5080,1935,5229843 .The錯誤,如下面我得到。錯誤RED5網狀態:NetConnection.Connect.Failed

Net status: NetConnection.Connect.Failed 
Trying to connect to war location 

在日誌中收到這些錯誤

 WARN o.r.server.net.rtmp.RTMPConnManager - Exception creating connection 
org.springframework.core.task.TaskRejectedException: Executor [[email protected][Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2]] did not accept task: [email protected]5e03 
    at org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.execute(ThreadPoolTaskScheduler.java:226) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 
    at org.red5.server.net.rtmp.RTMPConnection.startWaitForHandshake(RTMPConnection.java:423) ~[red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPConnManager.createConnection(RTMPConnManager.java:176) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPConnManager.createConnection(RTMPConnManager.java:56) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPMinaIoHandler.createRTMPMinaConnection(RTMPMinaIoHandler.java:297) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPMinaIoHandler.sessionCreated(RTMPMinaIoHandler.java:61) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.sessionCreated(DefaultIoFilterChain.java:772) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionCreated(DefaultIoFilterChain.java:459) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$700(DefaultIoFilterChain.java:48) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionCreated(DefaultIoFilterChain.java:913) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.IoFilterAdapter.sessionCreated(IoFilterAdapter.java:74) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionCreated(DefaultIoFilterChain.java:459) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionCreated(DefaultIoFilterChain.java:452) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.service.IoServiceListenerSupport.fireSessionCreated(IoServiceListenerSupport.java:211) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(AbstractPollingIoProcessor.java:542) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSessions(AbstractPollingIoProcessor.java:510) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:68) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1120) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_20] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_20] 
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_20] 
Caused by: java.util.concurrent.RejectedExecutionException: Task java.[email protected]12e54e rejected from [email protected][Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2] 
    at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047) ~[na:1.8.0_20] 
    at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823) [na:1.8.0_20] 
    at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326) ~[na:1.8.0_20] 
    at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533) ~[na:1.8.0_20] 
    at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:622) ~[na:1.8.0_20] 
    at org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.execute(ThreadPoolTaskScheduler.java:223) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 
    ... 21 common frames omitted 
2016-02-11 15:06:20,728 [NioProcessor-4] INFO o.r.server.net.rtmp.RTMPConnection - Rejected message: Packet [[header data type=20, channel=3, timer=0], [message timestamp=0]] on AJBBLZP7WF0FT 
2016-02-11 15:06:30,651 [NioProcessor-5] WARN o.r.server.net.rtmp.RTMPConnManager - Exception creating connection 
org.springframework.core.task.TaskRejectedException: Executor [[email protected][Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2]] did not accept task: [email protected]285a 
    at org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.execute(ThreadPoolTaskScheduler.java:226) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 
    at org.red5.server.net.rtmp.RTMPConnection.startWaitForHandshake(RTMPConnection.java:423) ~[red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPConnManager.createConnection(RTMPConnManager.java:176) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPConnManager.createConnection(RTMPConnManager.java:56) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPMinaIoHandler.createRTMPMinaConnection(RTMPMinaIoHandler.java:297) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.red5.server.net.rtmp.RTMPMinaIoHandler.sessionCreated(RTMPMinaIoHandler.java:61) [red5-server-common-1.0.6-SNAPSHOT.jar:1.0.6-SNAPSHOT] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.sessionCreated(DefaultIoFilterChain.java:772) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionCreated(DefaultIoFilterChain.java:459) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$700(DefaultIoFilterChain.java:48) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionCreated(DefaultIoFilterChain.java:913) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.IoFilterAdapter.sessionCreated(IoFilterAdapter.java:74) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionCreated(DefaultIoFilterChain.java:459) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionCreated(DefaultIoFilterChain.java:452) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.service.IoServiceListenerSupport.fireSessionCreated(IoServiceListenerSupport.java:211) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(AbstractPollingIoProcessor.java:542) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSessions(AbstractPollingIoProcessor.java:510) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:68) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1120) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.10-SNAPSHOT.jar:na] 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_20] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_20] 
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_20] 
Caused by: java.util.concurrent.RejectedExecutionException: Task java.[email protected]7794fd rejected from [email protected][Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2] 
    at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047) ~[na:1.8.0_20] 
    at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823) [na:1.8.0_20] 
    at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326) ~[na:1.8.0_20] 
    at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533) ~[na:1.8.0_20] 
    at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:622) ~[na:1.8.0_20] 
    at org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.execute(ThreadPoolTaskScheduler.java:223) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 
    ... 21 common frames omitted 

請誰能幫助。 在此先感謝。

回答

1

後很多搜索我米加入我的IP地址WebApps的解決了我的問題/安裝/ WEB-INF/red5_web屬性文件中像下面

webapp.virtualHosts=localhost, localhost:5080, my ip address 

現在是工作的罰款。

1

嘗試使用1.0.6-RELEASE而不是1.0.6-SNAPSHOT。此外,安裝程序需要一些工作,因爲googlecode(戰爭所在的地方)已經完成。

+0

你能告訴我一步一步的過程,我想在1.0.6 -RELEASE中做什麼。請問我對RED 5非常陌生 – KCN

+0

主維基上有一些最新的信息,從那裏開始;如果您使用Linux,請嘗試此https://github.com/Red5/red5-server/wiki/Installation-on-Linux –

+0

我使用Windows 8.現在演示已安裝,但在從webapps/root/Demos運行演示時顯示警報,請檢查URI字符串連接並再試一次 – KCN