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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:05:30+00:00 2026-05-26T01:05:30+00:00

Here is the scenario: We are using Linux, Tomcat stack and we deploy our

  • 0

Here is the scenario:

We are using Linux, Tomcat stack and we deploy our webapp using war files. Basically the deployment process is as follows:

  • git pull latest
  • ant build
  • create war file
  • upload the war file to the server

Now everytime we have to update the code (lets assume that only front end code needs to be deployed) … we repeat the same steps above … however we do one additinal thing mentioned below:

There are three directories under

--webapps
   -- myapp
       -- logs
       -- upload
       -- other stuff

Before redeploying the war file we always take a backup of anything under logs and upload (these files are mission critical)

I was wondering if this step is necessary … in other words:

  • will the content in upload and logs be overwritten by whatever is there in the war file (there is nothing since this is a fresh build)
  • or it will keep the files as it is and do a merge between the existing webapp and stuff coming from the war file

I am hoping that it is the latter

However I have never tried it, I wanted to know if someone already know the answer to this … I can then test and verify the claim

–Jatin

  • 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-26T01:05:30+00:00Added an answer on May 26, 2026 at 1:05 am

    You’ll have to test it to be sure. But you certainly shouldn’t store files in this location in the first place. Store them outside the tomcat webapps directory, because this directory is supposed to contain webapps, and nothing else.

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

Sidebar

Related Questions

Ok, so here is the scenario: I have an activeX that uploads files using
Here is my scenario: I'm using nhibernate, openning and closing the session in an
Here's the scenario. I'm using a url rewriter that allows me to specify patterns
Here's the scenario. I'm debugging my own app (C/C++) which is using some library
My usage-scenario may seem a bit unusual, but here it is: When using vim
Here's the scenario using Assembly.ReflectionOnlyLoadFrom : Both my assembly Inspected and my reflection Application
Here's my scenario: Using SQL Server sessions (due to web farm) customErrors is On
This is probably a java noob question but here is my scenario: using selenium,
Here is the scenario. I have an Oracle consolidated database. I am using Mobilink
Here's my scenario: I am using Silverlight, RIA and POCO objects (no Entity Framework;

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.