Restart sequence for Tomcat

Posted on 2014-08-21
Last Modified: 2014-10-24

I would like to ask the startup or stop sequence for Apache & Tomcat. Is there any sequence which one should be start or stop first? Should start Apache then Tomcat or vice versa. Please help.

Question by:kaka0
    LVL 35

    Expert Comment

    By "Apache" do you mean Apache Web Server? There are many Apache things, in fact Tomcat is actually Apache Tomcat, so I'm just clarifying what you are asking? If so, are you saying the Apache Web Server is the frontend for receiving HTTP requests that are then forwarded to Tomcat for processing via a connector like AJP, etc?

    If so, then NO, it shouldn't matter at all which one is started first. We have a similar setup at work, and we can start in any order. Also, we can restart either service independently of the other and then once they are both up, everything works fine.

    Author Comment

    That is Apache httpd server. We want to stop and start both. Will it make any difference?

    I know some companies using only Apache or Tomcat. Some companies may use both.
    LVL 35

    Accepted Solution

    Will it make any difference?
    As I said... no, it won't make a difference.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! How to Know You are Making a Difference at EE In August, 2013, one …
    When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure ( It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
    The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
    The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now