Hi, Thank you for your solution i add code in catlina.sh, set CATALINA_PID to CATALINA_HOME + /logs/catalinapid.pid (It create the pid file automaticly) in shutdown i get the pid from the file and kill the process.
Thanks. Ruben Waitz wrote: > > Hi prt, > > > > I had the same problem on Linux. I solved it by using an init script > (/etc/init.d/tomcat) which creates a `pid` file. On a tomcat restart the > script makes sure that the process(es) of the pid is being killed before > restarting tomcat. > > > > ruben > > > > > >> -----Oorspronkelijk bericht----- > >> Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens >> prt > >> Verzonden: donderdag 2 augustus 2007 13:25 > >> Aan: [email protected] > >> Onderwerp: [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 > > > ------------------------------------ > www.red5tutorials.net: Tutorials - How tos - FAQ > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > -- View this message in context: http://www.nabble.com/Shutdown-not-work..-tf4205573.html#a12053115 Sent from the Red5 - English mailing list archive at Nabble.com. _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
