tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaushal Shriyan <>
Subject Re: graceful restart tomcat
Date Thu, 10 Nov 2011 09:25:59 GMT
On Thu, Nov 10, 2011 at 2:42 PM, Pid <> wrote:
> On 10/11/2011 08:28, Kaushal Shriyan wrote:
>> Hi,
>> Is there a way to forcefully graceful restart tomcat server using bash
>> script via cron.Any sample bash script ?
> Which is it: forceful or graceful?  The two are not usually compatible.
> 'graceful' is found in Apache HTTPD: [the] signal causes the parent
> process to advise the children to exit after their current request (or
> to exit immediately if they're not serving anything). The parent
> re-reads its configuration files and re-opens its log files. As each
> child dies off the parent replaces it with a child from the new
> generation of the configuration, which begins serving new requests
> immediately.
> There is no equivalent for Tomcat.
> The Commons Daemon found in tomcat/bin/commons-daemon-native.tar.gz
> provides a service wrapper and /etc/init.d/ type sample script which may
> be useful.

Hi pid

I dont see commons-daemon-native.tar.gz under /opt/test/apache-tomcat-5.5.27/bin    commons-logging-api-1.1.1.jar
jsvc.tar.gz     startup.bat   tomcat5w.exe
[root@bin]# pwd
[root@bin]# ls
bootstrap.jar  catalina-tasks.xml             cpappend.bat
jkstatus-tasks.xml     service.bat       shutdown.bat
catalina.bat   commons-daemon.jar             digest.bat
jmxaccessor-tasks.xml  setclasspath.bat   tomcat5.exe
tomcat-native.tar.gz  version.bat    commons-logging-api-1.1.1.jar
jsvc.tar.gz     startup.bat   tomcat5w.exe

Please suggest further.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message