[Red5] Reloading of webapp fails
Andreas Folkesson
andreas.folkesson at epireal.com
Sat Apr 14 14:52:53 EDT 2007
Hi,
I'm currently running tomcat with red5 0.6 rc3 and I have a problem
each time I reload the webapp without first shutting down tomcat. I
get a BindException:
[ERROR] 1766 ContainerBackgroundProcessor[StandardEngine[Catalina]]:
( org.red5.server.MainServlet.contextInitialized )
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.apache.mina.transport.socket.nio.SocketAcceptor' defined in
ServletContext resource [/WEB-INF/red5-core.xml]: Invocation of init
method failed; nested exception is java.net.BindException: Address
already in use
I can see that MainServlet calls:
applicationContext.close();
which in turn should invoke unbind on the SocketAcceptor. I don't
know where the problem is, if spring never calls the method or if
mina never closes the socket. Any thoughts? Has anyone been able to
get reloading of a webapp working without this exception?
/Andreas
More information about the Red5
mailing list