To check status of Tomcat server in Linux
40,639
Like others have pointed out, if you are receiving an HTTP standard response code of 404 then it means that Tomcat is up.
But to answer your question, you can try
#rctomcat7 status
Author by
Nabe
Updated on July 09, 2022Comments
-
Nabe almost 2 years
I need to know whether Tomcat 7.0.2.3 is on or not.
I got an error page that shows this message:
HTTP Status 404 - /cas/login type Status report message /cas/login description The requested resource (/cas/login) is not available. Apache Tomcat/7.0.23
I need to check the status and start the service of Tomcat in Linux. I have tried:
#/bin/startup.sh #rctomcat7 start
But all these are not working.
-
Timo almost 10 yearsI have Ubuntu 13/04, Tomcat 8 extracted as zip (first download) to my home folder. I do not have a init.d script, neither your idea Kevin is working. I start and stop with catalina.sh which works. But how check status?
-
Jakub Jirutka over 9 yearsJust install it from a package with proper init script. If you don’t have Tomcat package in your distro, then try to find any third-part init script or write your own. It’s not so hard. The scripts distributed with Tomcat aren’t good for production.