I use tomcat 5.5.23,jdk1.5.0_06,
I deploy the red5.war to tomcat.
It does not work fine,until I copy the jars to WEB-INF/lib.
jar:
mina-filter-ssl-1.1.0.jar;
mina-integration-spring-1.1.0.jar;
mina-core-1.1.0.jar;

But when I shut down the tomcat ,it throws exceptions .I have kill the java 
process.

anybody can help?

exceptions:
DEBUG] 1330973 main:( org.red5.server.jmx.JMXAgent.unregisterMBean ) leaving 
unregisterMBean... 
[ERROR] 1359302 main:( 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/red5].listenerStop
 ) 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:821)
        at java.util.HashMap$KeyIterator.<init>(HashMap.java:821)
        at java.util.HashMap.newKeyIterator(HashMap.java:835)
        at java.util.HashMap$KeySet.iterator(HashMap.java:867)
        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:77)
        at 
org.springframework.beans.MutablePropertyValues.<init>(MutablePropertyValues.java:69)
        at 
org.springframework.beans.factory.support.AbstractBeanDefinition.<init>(AbstractBeanDefinition.java:190)
        at 
org.springframework.beans.factory.support.RootBeanDefinition.<init>(RootBeanDefinition.java:166)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:963)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:930)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:916)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFactory.java:350)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:173)
        at 
org.springframework.context.support.AbstractApplicationContext.getLifecycleBeans(AbstractApplicationContext.java:913)
        at 
org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:896)
        at 
org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:899)
        at 
org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:899)
        at 
org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:899)
        at 
org.springframework.context.support.AbstractApplicationContext.isRunning(AbstractApplicationContext.java:899)
......

[INFO] 1359326 main:( 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/red5].log ) 
Shutting down Log4J Jul 30, 2007 12:06:41 PM 
org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8088
Jul 30, 2007 12:06:41 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime




----- Original Message ----- 
From: prt 
To: Red5 
Sent: 2007-08-02, 19:24:40
Subject: [Red5] Shutdown not work..


Hi to all,

I have red5 under Tomcat 5.5.
When i start the tomcat at first time after i add the red5.war it was work
fine.
But when i shutdown the tomcat the port 9999 and 1935 didn't close.
So i have to kill the process that hold the open ports by my self.
If not so when i start the tomcat again the red5 is not work, because the
port 1935 is hold by other process.

Anybody can help ?

Thank you.
-- 
View this message in context: 
http://www.nabble.com/Shutdown-not-work..-tf4205573.html#a11962696
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to