Hi all,

I use servlets to create a tool which helps an administrator to adjust
many parameters of the Apache server (running on the computer which runs
the servlet). In order to do that, i created a GUI
which allows the user to enter or change some values. When the user
confirm the changes, the data is sent to a servlet which rewrite the
configuration files of the Apache server. When the new configuration is
written, the servlet restart the Apache server safely, by using the
"apachectl graceful" or "apachectl restart" command.
I wonder if it's possible to proceed like this for managing Tomcat
configuration. I didn't find any parameter to the "tomcat.sh" script which
act as the "restart" or "graceful" parameter of the "apachectl" command.
In brief, how can i restart the tomcat servlet engine safely with the help
of a servlet (without running two separates tomcat servlets engines) ?

Thanks in advance for your help, and sorry for my poor english language
:-).

--
Julien Gilli
[EMAIL PROTECTED]
http://darktigrou.free.fr

Reply via email to