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 122247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:05:55+00:00 2026-05-11T04:05:55+00:00

How do I get Tomcat to remove the web application artifacts when using the

  • 0

How do I get Tomcat to remove the web application artifacts when using the Manager to undeploy the application?

I am using Tomcat 6.0.18. The application was deployed using the tomcat-maven-plugin 1.0-SNAPSHOT but the behavior is the same through the maven plugin or the web interface.

The Tomcat documentation provides warnings on how undeploy should behave on the Manager How To.

The war file can be removed; however, the unpacked application directory remains preventing a redeploy.

  • 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. 2026-05-11T04:05:56+00:00Added an answer on May 11, 2026 at 4:05 am

    It might be that your application cannot completely be undeployed because there are background threads (that you most likely started yourself) or long running requests that are preventing the application to stop completely.

    Did you inspect the log files? Did they state if the application could be undeployed successfully? Or the opposite? Can you get a Thread dump after you attempted to undeploy (kill -3 processid on Unix, Ctrl-Break in a console in Windows) and see if there is something still running that shouldn’t?

    Also note that most applications I’ve seen cannot be undeployed completely with regard to the memory they took. I’ve run into OutOfMemoryErrors (PermGen) quite often, especially after redeploying webapps (you’ll find a lot of references on PermGen if you google for it) therefor I believe redeploying is ok for development machines, but not for production ones. It’s better to know this before you’re puzzled by this in production.

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

Sidebar

Ask A Question

Stats

  • Questions 113k
  • Answers 113k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well I don't think returning multiple lists is a good… May 11, 2026 at 10:09 pm
  • Editorial Team
    Editorial Team added an answer After about 8 hours of wasted time, I can answer… May 11, 2026 at 10:09 pm
  • Editorial Team
    Editorial Team added an answer Did you enable the Output window? View -> Output menu… May 11, 2026 at 10:09 pm

Related Questions

I've got a tomcat 6 web app running with Apache httpd as the front
I am writing a Tomcat app. As part of its functionality, it needs to
I have configured Tomcat to use LDAP / AD. How can I get more
How do I count the number of files in a directory using Java ?

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.