Thanks JohannesI looked into the logs and found these errors generating when I 
call the shutdown script. Apparently all of a sudden - red5 is shutting down 
now but wont start 

org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'red5.core' defined in class path resource [red5.xml]: Instantiation 
of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class 
[org.springframework.context.support.FileSystemXmlApplicationContext]: 
Constructor threw exception; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'rtmpTransport' defined in class path resource [red5-core.xml]: 
Invocation of init method failed; nested exception is java.net.BindException: 
Address already in use 
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254) 
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) 
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) 
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) 
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) 
        at java.security.AccessController.doPrivileged(Native Method) 
Caused by: org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class 
[org.springframework.context.support.FileSystemXmlApplicationContext]: 
Constructor threw exception; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'rtmpTransport' defined in class path resource [red5-core.xml]: 
Invocation of init method failed; nested exception is java.net.BindException: 
Address already in use 
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'rtmpTransport' defined in class path resource 
[red5-core.xml]: Invocation of init method failed; nested exception is 
java.net.BindException: Address already in use 

So I have to do a grep for java processes and I see one of them running red5 
bootstrap or something and I have to explicitly kill it and then red5 is able 
to start again. 

Thanks 

--- On Mon, 12/20/10, Johannes Nel <[email protected]> wrote:

From: Johannes Nel <[email protected]>
Subject: Re: [osflash] Red5-shutdown script does not work
To: "Open Source Flash Mailing List" <[email protected]>
Date: Monday, December 20, 2010, 4:20 AM

go check your log files to see what is happening, an exception must be thrown 
somewhere

On Mon, Dec 20, 2010 at 5:04 AM, Omair Aasim <[email protected]> wrote:



Hey guysI installed red5 on EC2 using the Fedora AMI. I am using the version 
0.8.0. I am able to start red5.sh and it comes up and i'm able to access it by 
going to http://xx.xx.xx.xx:5080.
But when I run the red5-shutdown.sh script, nothing seems to happen and the 
server continues to run. I even created a daemon service using the link below - 
but that does not work either
http://www.red5wiki.com/wiki/Installing_and_running_Red5
The only way I can shut it down is by doing a grep for java process and killing 
the process id
ps -ef | grep java
kill -9 875
I have no idea what the problem is. Anyone has any idea - I've tried almost 
every solution posted on google.
Thanks









      
_______________________________________________

osflash mailing list

[email protected]

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





-- 
j:pn 
\\no comment


-----Inline Attachment Follows-----

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



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

Reply via email to