[Red5] Error on shutdown tomcat while red5 installed as war

Juco Sorin jucosorin at yahoo.com
Wed Apr 18 03:34:33 EDT 2007


I reported the bug in JIRA but unfortunately I did not know how to assign it to you. 
It went to Joachim Bauch. I can't find how to change the asignee. 
If you could tell me how to do this I would appreciate it.

Thank you

Sorin Juco

----- Original Message ----
From: Mondain <mondain at gmail.com>
To: Red5 at osflash.org
Sent: Tuesday, April 17, 2007 6:18:04 PM
Subject: Re: [Red5] Error on shutdown tomcat while red5 installed as war

Put a bug in JIRA and assign it to me, ill look into it.

Paul

On 4/17/07, Juco Sorin <jucosorin at yahoo.com
> wrote:
I compiled red5 0.6rc3 into a war using the the ant target provided in build.xml. Deploying works fine and so does the app. Once I try an undeploy or to shutdown the server I get the following error: 

[ERROR] 1017391 main:( 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/red5].error ) Exception sending context destroyed event to listener instance of class org.red5.server.MainServlet 
java.lang.StackOverflowError
        at 
java.util.HashMap$KeyIterator.<init>(HashMap.java:875)
        at java.util.HashMap$KeyIterator.<init>(HashMap.java:875)
        at java.util.HashMap.newKeyIterator(HashMap.java:889)
        at
 java.util.HashMap$KeySet.iterator(HashMap.java:921)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:173)
        at org.springframework.core.AttributeAccessorSupport.attributeNames(AttributeAccessorSupport.java
:69)
        at org.springframework.core.AttributeAccessorSupport.copyAttributesFrom(AttributeAccessorSupport.java:79)
        at org.springframework.beans.PropertyValue.<init>(PropertyValue.java:73)
        at 
org.springframework.beans.MutablePropertyValues.<init>(MutablePropertyValues.java:67)
        at org.springframework.beans.factory.support.AbstractBeanDefinition.<init>(AbstractBeanDefinition.java:183)
        at
 org.springframework.beans.factory.support.RootBeanDefinition.<init>(RootBeanDefinition.java:156)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java
:943)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:920)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition
(AbstractBeanFactory.java:906)
        at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:393)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
(DefaultListableBeanFactory.java:180)
        at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:231)
        at org.springframework.context.support.AbstractApplicationContext.getLifecycleBeans(AbstractApplicationContext.java
:816)
        at org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:801)
        at org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java
:804)
        at org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:804)
        at org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java
:804)
        
 ...etc

10:45:15,902 WARN  org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1182)  - Error while removing context [/red5]

java.lang.UnsupportedOperationException: SLF4J bound commons-logging does not need to implement release().

        at org.apache.commons.logging.impl.SLF4FLogFactory.release(SLF4FLogFactory.java:168)
        at org.apache.commons.logging.LogFactory.release(LogFactory.java:388)
        at org.apache.catalina.loader.WebappClassLoader.clearReferences
(WebappClassLoader.java:1647)
        at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1496)
        at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:734)
        at
 org.apache.catalina.core.StandardContext.stop(StandardContext.java:4398)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893)
        at org.apache.catalina.startup.HostConfig.undeployApps
(HostConfig.java:1180)
        at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1067)
        at
 org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:510)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java
:734)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
 java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

and the server hangs.


The same thing happens when I try to undeploy the webapp.

Anyone got any solution??

Thanks







      Ahhh...imagining that irresistible "new car" smell?
 Check out

new cars at Yahoo! Autos.


_______________________________________________
Red5 mailing list
Red5 at osflash.org

http://osflash.org/mailman/listinfo/red5_osflash.org





-- 
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070418/38496400/attachment.htm


More information about the Red5 mailing list