Red5应用程序执行过程中遇到的错误

hillhaw 2013-01-29 02:50:04
我的服务器端应用程序完成下面的功能
测试Demo:
1.循环监听数据库,30分钟查询一次
2.手动初始化数据库报警信息为1(也可以不用手动初始化,程序课自动初始化)
3.查询到报警信息为1.启动视频流录制函数,录制15分钟的视频(由客户端不间断推送),录制完后将数据库中报警信息置为0;
4.查询到报警信息为0,自动将报警信息置为1,30分钟后查到为1的时候可自动录制视频


客户端连接应用程序,应用程序执行过程中打印到Red5-service.log中的问题如下:

INFO   | jvm 1    | 2013/01/29 10:34:28 | [WARN] [NioProcessor-5] org.red5.server.stream.consumer.FileConsumer - Exception waiting for write result
INFO | jvm 1 | 2013/01/29 10:34:28 | java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
INFO | jvm 1 | 2013/01/29 10:34:28 | at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) ~[na:1.6.0_24]
INFO | jvm 1 | 2013/01/29 10:34:28 | at java.util.concurrent.FutureTask.get(FutureTask.java:91) ~[na:1.6.0_24]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.red5.server.stream.consumer.FileConsumer.pushMessage(FileConsumer.java:285) ~[red5.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.red5.server.messaging.InMemoryPushPushPipe.pushMessage(InMemoryPushPushPipe.java:82) [red5.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.red5.server.stream.ClientBroadcastStream.dispatchEvent(ClientBroadcastStream.java:377) [red5.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:168) [red5.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164) [red5.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) [red5.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.4.jar:na]
INFO | jvm 1 | 2013/01/29 10:34:28 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_24]
INFO | jvm 1 | 2013/01/29 10:34:28 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_24]
INFO | jvm 1 | 2013/01/29 10:34:28 | at java.lang.Thread.run(Thread.java:662) [na:1.6.0_24]
INFO | jvm 1 | 2013/01/29 10:34:28 | Caused by: java.lang.IllegalArgumentException: null


不知道大家有没有遇到过,或者帮我看看这是什么原因引起的,是我应用程序的问题,还是Red5服务器本身的问题


...全文
928 1 点赞 打赏 收藏 举报
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
盈世coremail 2013-01-30
我也很想知道 coremail邮件系统
  • 打赏
  • 举报
回复
相关推荐
发帖
OpenAPI
加入

2245

社区成员

OpenAPI
申请成为版主
帖子事件
创建了帖子
2013-01-29 02:50
社区公告
暂无公告