qickrooms / red5phone

Automatically exported from code.google.com/p/red5phone
0 stars 0 forks source link

Red5Phone does not start #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
I am currently trying to get the red5phone to work on a windows 2008
server. I encounter a massive problem with either the red 5 server or the
phone software.

I installed the red 5 server 0.7.0. After that I replaced the red5.jar,
unzipped the sip.zip file into the webapps folder and restarted the server.
When I try to open http://localhost:5080/sip I get a 503 HTTP Error:
Service unavailable? All other applications seem to work fine.

My error.log file says that the red5phone application has some error at
startup:

2008-08-21 13:46:22,610 [WrapperSimpleAppMain] WARN  org.mortbay.log -
Failed startup of context
org.mortbay.jetty.webapp.WebAppContext@15200be{/sip,file:/C:/Program%20Files/Red
5/webapps/sip/}
java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at
org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration
.java:168)
    at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1217)
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
    at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollect
ion.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
    at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
    at org.mortbay.jetty.Server.doStart(Server.java:222)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
    at org.red5.server.jetty.JettyLoader.init(JettyLoader.java:136)
    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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.inv
okeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1242)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.inv
okeInitMethods(AbstractAutowireCapableBeanFactory.java:1208)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini
tializeBean(AbstractAutowireCapableBeanFactory.java:1172)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre
ateBean(AbstractAutowireCapableBeanFactory.java:427)
    at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra
ctBeanFactory.java:249)
    at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle
ton(DefaultSingletonBeanRegistry.java:155)
    at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe
anFactory.java:246)
    at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe
anFactory.java:160)
    at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti
ateSingletons(DefaultListableBeanFactory.java:291)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA
pplicationContext.java:352)
    at
org.springframework.context.access.ContextSingletonBeanFactoryLocator.initialize
Definition(ContextSingletonBeanFactoryLocator.java:141)
    at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFact
ory(SingletonBeanFactoryLocator.java:382)
    at org.red5.server.Standalone.main(Standalone.java:152)
    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.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
    at java.lang.Thread.run(Unknown Source)

I am wondering if anyone could give me a hint, what is going wrong?

OS: Windows Server 2008
Java: 1.6.0_07
Red 5 Server: 0.7.0

In a quick run I have also tested this behaviour on OSX which fails already
when replacing the red5.jar file?

Thanks a lot
Sebi

Original issue reported on code.google.com by s.gierli...@gmail.com on 21 Aug 2008 at 12:14

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If the sip.zip file is in the webapps folder, you need to move it to another 
location.

Original comment by joe.oommen@gmail.com on 5 Oct 2008 at 3:10

GoogleCodeExporter commented 9 years ago
Hey,

did anyone resolve this? I am getting the same issue.

- Tadej

Original comment by tadej.gr...@gmail.com on 11 Nov 2008 at 10:10

GoogleCodeExporter commented 9 years ago
hi

I have this problem too.
I noticed that the red5 server works until I replace the red5.jar

Original comment by chiod...@gmail.com on 14 Nov 2008 at 11:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi 

I have the same problem. 

The red5 work! 
So if a put http://localhost:5080/ the index page of red5 appear.

But when i put http://localhost:5080/sip I get a 503 HTTP Error:

Service unavailable

Please somebody help.

Thank's in advance!

Original comment by barros...@gmail.com on 16 Dec 2008 at 1:18

GoogleCodeExporter commented 9 years ago
rtmpconnection #phone _onStatus «undefined» 
netconnection: Status: 1 
connection failed to http://localhost:5080 : «undefined» 

?????????

Original comment by flashdr...@googlemail.com on 11 Mar 2009 at 6:52

GoogleCodeExporter commented 9 years ago
Hello,

I got the same problem that when I replace red5.jar, red5 doesn't start up. 
Doing a
diff between the two jars, it can be seen that the one provided here has quite 
a few
extra classes. Could someone please provide a short description of how the new 
jar
was build.

Thank you,
Phil

Original comment by Phil.M...@gmail.com on 18 Mar 2009 at 9:25