Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6642617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:57:08+00:00 2026-05-25T23:57:08+00:00

Is it possible to determine if a Tomcat has started successfully AND all of

  • 0

Is it possible to determine if a Tomcat has started successfully AND all of the webapps deployed to it have also started successfully?

Of course I can trawl the Tomcat’s log file, but is there an easier way?

I need to be able to monitor the tomcat programmatically, since I need to start about 15 Tomcats (they can be started in serial). I’m not afraid to write a bash script and monitor the output of each log looking for the success message or any error messages, but surely there’s a more elegant way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:57:08+00:00Added an answer on May 25, 2026 at 11:57 pm

    The most accurate way to ensure a service is up and running is to hit that service with a client.

    In the case of WebApps on Tomkat, a cron job that hits some page of each app that indicates the application’s status (up, down, etc.) is the best way to do this.

    I say it’s the best way for a number of reasons:

    1. It can use the same ports and protocols the application itself uses
    2. It allows you to check “on demand”, so if your heartbeat application needs to “beat faster” to catch failures faster, you can turn it up
    3. It allows you to have the heartbeat process on another server, to protect against the server you are testing crashing and taking the heartbeat notification process down with it
    4. It allows you to scale out easily, both the heartbeat process, and the number of servers you have to hit.
    5. It allows each application to define a “status” page that the heartbeat process can hit and scan to check a number of things internal to the application, if needed, without needing to do the same thing, but by looking at log files.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Determine whether client browser has java installed and can launch applets I
Is it possible to determine if ASP.NET MVC 3 has successfully found any values
I am wondering if it possible to determine if an accepted socket connection has
Possible Duplicate: determine target url based on roles in spring security 3.1 Hello all
Is it possible to determine what properties a class has programmatically? I want to
Is it possible to determine the interfaces that can be used to cast a
Possible Duplicate: Determine a string's encoding in C# Many text editorsr (like Notepad++) can
Is it possible to determine when a ChucK child shred has finished executing if
Is it possible to determine which submit button was used? I have a confirmation
Possible Duplicate: Determine framework (CLR) version of assembly I have a library/DLL file which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.