I think you can reload each individual webapp using the tomcat manager 
page.  http://<server-address>/manager/html  Set up your users in the 
/<tomcat-home>/conf/tomcat-users.xml file.

You can also set Tomcat to auto-reload updated classes by modifying the 
host section(s) of /<tomcat-home>/conf/server.xml file -  I don't recall 
the exact place to put it, but i think the param is called 'reloadable=yes'

Hope that helps.

Lenny Sorey wrote:
> Hi Travis,
>  
> I am using Tomcat 5.5 with Red5.
>  
> I can update swf and flv's without restarting Tomcat,
> but If I change an xml, properties file or rebuild
> a java file with ANT, then you will have to restart Tomcat
> in order for those items to reload.
>  
> Actually restarting Tomcat and getting back into RED5
> takes very little time.
>  
> You just have to notify your users first.
>  
> On a side note, I do all my testing on a different Tomcat Server
> and deploy to a live Tomcat production server.
>  
> Good luck,
>  
> Lenny
>
>  
> On 4/16/07, *Travis McCauley* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi, I experience the same thing. I wound up switching my development
>     environment to Eclipse and running Standalone. But I still intend to
>     deploy in tomcat. Does anyone know of a way to gracefully reload the
>     webapp from within tomcat (I'm using 5.5)? The only way I know is to
>     restart the entire container.
>
>     Thanks,
>     Travis
>     -----Original Message-----
>     From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] On
>     Behalf Of Andreas Folkesson
>     Sent: Saturday, April 14, 2007 2:53 PM
>     To: [email protected] <mailto:[email protected]>
>     Subject: [Red5] Reloading of webapp fails
>
>     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
>
>     _______________________________________________
>     Red5 mailing list
>     [email protected] <mailto:[email protected]>
>     http://osflash.org/mailman/listinfo/red5_osflash.org
>
>     _______________________________________________
>     Red5 mailing list
>     [email protected] <mailto:[email protected]>
>     http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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