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

  • Home
  • SEARCH
  • 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 7525789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:38:59+00:00 2026-05-30T03:38:59+00:00

I deploy 3 WAR files using Ant scripts and stop and start tomcat using

  • 0

I deploy 3 WAR files using Ant scripts and stop and start tomcat using startup/shutdown.sh . When I do a shutdown.sh, the Tomcat process does not die. If I forget to do a “lsof -i :8080” followed by a kill , then, tomcat still starts but firefox does not load the page. Why does Tomcat not die gracefully ?

2nd problem : Earlier I used to use Eclipse to handle the start/stop of Tomcat server. In the event of making an update to a js file , inside WebContent, just starting the site in debug=true mode used to suffice. But now, when using Tomcat from command line, I have to regenerate the WAR file and then restart Tomcat for changes to take effect. Why is this so ?

Relevant parts of my conf/server.xml file :

<Host appBase="/home/local/deploy/eclipse/webapps" autoDeploy="true" name="localhost" unpackWARs="true">

        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->

        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log." resolveHosts="false" suffix=".txt"/>

Yes, I haven’t set the context paths explicitly as autoDeploy was true and Tomcat does it for me. So . Could that be an issue ?

  • 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-30T03:39:01+00:00Added an answer on May 30, 2026 at 3:39 am

    Your first problem isn’t so clear, and indeed happens with me often. Sometimes I have to just issue a kill -9. It could be because Tomcat is somehow holding on to an important container thread that is active.

    The second problem is a bit easier. If you are using a tomcat instance that is external to your eclipse installation, you will not be able to “easily” leverage some hot deploy features. The way you were doing it in the past, you were more than likely making use of the eclipse wst plugin. This allows a tomcat container to run and be managed within eclipse.

    Whenever you deploy an application to the eclipse wst tomcat instance, you are actually deploying it to a plugin folder that mirrors tomcat.

    The plugin folder is usually located at $eclispe_home/.metadata/.plugins/org.eclispe.wst.server.core/tmp0/wtpwebapps.

    If you are using an external tomcat instance and do not have it linked to eclipse, you have a completely isolated environment and all your changes will have to be pushed out to tomcat either manually or by creating some sort of builder process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using tomcat manager to deploy my war files. To update a war I
I was trying to deploy a WAR file using the Cargo Ant task version
Is there a way to deploy a given war file on Tomcat server? I
I create a web application (WAR) and deploy it on Tomcat. In the webapp
I am trying to deploy a WAR on the mentioned tomcat application server. However
Hi I'm trying to build/deploy war to websphere process server 7.0. and I run
I need to stop the glassfish server, deploy my war into the glassfish and
i want to deploy the war files developed by different developers on module wise.All
I have a Django app we're attempting to deploy to a Tomcat server, using
I am using Tomcat 7 as a servlet container and I have two war

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.