AnsweredAssumed Answered

red5plugin 0.1.11 config not found exception

Question asked by kakamatyi on Jul 21, 2009
Latest reply on Jul 28, 2009 by Dele Olajide

I use CentOS 5.3, Openfire 3.6.4 and red5plugin 0.1.11 installed to /opt/openfire/plugins.

The system successfully connects to asterisk manager port.

When I try to login using red5phone.html, I got this error message in the hup.log.

How do I have to configure the config and log file location???

 

Red5SIP Client connected 0 service RTMPMinaConnection from 192.168.0.50 : 4753 to  (in: 3420 out 3073 )
Red5SIP Client joined app 0
Red5SIP open
Red5SIP login 567E6311-556C-D487-CB19-9CA0E8CA0FCF
Red5SIP open creating sipUser for 3003 on sip port 5070 audio port 3000 username 567E6311-556C-D487-CB19-9CA0E8CA0FCF
[SIPUser] SIPUser Constructor: sip port:5070 rtp port:3000 config:/opt/openfire/logs/plugins/red5/red5phone/sip.cfg
[SIPUser] SIPUser login
[SIPUser] SIPUser login: RTMPUser
[SIPUser] SIPUser login: SipStack
WARNING: error reading file "/opt/openfire/logs/plugins/red5/red5phone/sip.cfg"
[SIPUser] SIPUser login: SipProvider
java.io.FileNotFoundException: log/127.0.0.1.5070_events.log (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.zoolu.tools.Log.<init>(Log.java:102)
    at org.zoolu.tools.RotatingLog.<init>(RotatingLog.java:73)
    at org.zoolu.sip.provider.SipProvider.initlog(SipProvider.java:338)
    at org.zoolu.sip.provider.SipProvider.<init>(SipProvider.java:262)
    at org.jivesoftware.openfire.plugin.red5.sip.SIPUser.login(SIPUser.java:156)
    at org.jivesoftware.openfire.plugin.red5.sip.Application.login(Application.java:21 7)
    at org.jivesoftware.openfire.plugin.red5.sip.Application.open(Application.java:192 )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:217)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:123)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:154)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:401)
    at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:1 43)
    at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.ja va:119)
    at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
    at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :220)
    at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:264)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException: log/127.0.0.1.5070_messages.log (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.zoolu.tools.Log.<init>(Log.java:102)
    at org.zoolu.tools.RotatingLog.<init>(RotatingLog.java:73)
    at org.zoolu.sip.provider.SipProvider.initlog(SipProvider.java:339)
    at org.zoolu.sip.provider.SipProvider.<init>(SipProvider.java:262)
    at org.jivesoftware.openfire.plugin.red5.sip.SIPUser.login(SIPUser.java:156)
    at org.jivesoftware.openfire.plugin.red5.sip.Application.login(Application.java:21 7)
    at org.jivesoftware.openfire.plugin.red5.sip.Application.open(Application.java:192 )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:217)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:123)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:154)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:401)
    at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:1 43)
    at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.ja va:119)
    at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
    at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :220)
    at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:264)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[SIPUser] login: Exception:>
java.lang.NullPointerException
Red5SIP register
[SIPUser] SIPUser register
Red5SIP Client leaving app 0
Red5SIP Client closing client 567E6311-556C-D487-CB19-9CA0E8CA0FCF
[SIPUser] SIPUser close1
[SIPUser] SIPUser hangup
[SIPUser] SIPUser closeStreams
RTMPUser stopStream
[SIPUser] SIPUser unregister
[SIPUser] SIPUser provider.halt
[SIPUser] close: Exception:>
java.lang.NullPointerException

Attachments

Outcomes