Mark,
This may give you a partial answer if you are using NT or 2000. I simply
made a restart.bat file which included the two lines:
CALL C:\PROGRA~1\APACHE~1\JAKART~1.1\bin\shutdown.bat
CALL C:\PROGRA~1\APACHE~1\JAKART~1.1\bin\startup.bat
The "real" path on my computer is c:\Program Files Apache
Group\jarata-tomcat-4.0.3\bin
If you wanted it to be web based, I would think you could write a servlet
that does a System call, that calls the restart.bat file.
Sincerely,
Tom Kochanowicz
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark Stray
Sent: Wednesday, May 01, 2002 1:16 AM
To: [EMAIL PROTECTED]
Subject: Shutdown Apache/Tomcat
Hi,
Can anyone tell me how to give user access to restart the Apache Webserver.
Can this be done with a command from the URL?
regards, Mark
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com