On 05.12.2019 19:56, Jerry Malcolm wrote:
I was stuck in traffic an hour from the office when I got a text that one of my 
sites had
gone down.  If I'd been in the office, I'd try bouncing TC first just to try to 
get the
client back online, then dig into the logs to figure out what happened.  But 
while driving
on the freeway, there's no way to access ssh into the server and key in the 
command to
restart tomcat.  httpd was working fine.  It would have been nice to bring up a 
non-tomcat
web page on my phone and press a button to cause the tomcat service to restart. 
 I know I
could probably write something in php or perl or something.  But I don't want 
to reinvent
the wheel.  Are there some packages available that already do something like 
this?


Sorry, but since using one's mobile phone while driving is known as dangerous and even against the law in many places, the security-conscious and law-abiding Tomcat support team does not think it can answer the question as phrased above.

Now if you were to rephrase it, leaving off the "while driving" bit, we might tell you that some such things probably exist already, but that you would have to look at admin-like utilities or packages belonging to your OS distribution, as there is nothing in Tomcat itself which provides such a capability.(*) We may also then warn you about the security aspect of such things, because one would probably not want to allow the general public to restart one's Tomcat server through an open webpage.

(*) (If there was such a capability, there would also be the interesting philosophical question of how to use it, if the Tomcat server is down).



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to