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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:18:23+00:00 2026-06-12T02:18:23+00:00

Just moved from Tomcat 6 to Tomcat 7 and noticed that when you deploy

  • 0

Just moved from Tomcat 6 to Tomcat 7 and noticed that when you deploy a webapp called widget the META-INF/context.xml no longer get copied to conf/Catalina/localhost/widget.xml.

What Im unclear about is whether it needs to be, will the settings in context.xml be used if left in META-INF or do they only have effect if moved to conf/Catalina/localhost/widget.xml

Im using a vanilla tomcat 7 installation

  • 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-06-12T02:18:25+00:00Added an answer on June 12, 2026 at 2:18 am

    See the documentation (my emphasis):

    Individual Context elements may be explicitly defined:

    • In an individual file at /META-INF/context.xml inside the application
      files. Optionally (based on the Host’s copyXML attribute) this may be
      copied to $CATALINA_BASE/conf/[enginename]/[hostname]/ and renamed to
      application’s base file name plus a “.xml” extension.

    The documentation for Host has this to say on copyXML:

    Set to true if you want a context XML descriptor embedded inside the
    application (located at /META-INF/context.xml) to be copied to xmlBase
    when the application is deployed. On subsequent starts, the copied
    context XML descriptor will be used in preference to any context XML
    descriptor embedded inside the application even if the descriptor
    embedded inside the application is more recent.
    The flag’s value
    defaults to false. Note if deployXML is false, this attribute will
    have no effect.

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

Sidebar

Related Questions

I just moved from Visual Studio 2008 to Visual Studio 2010 (final) and noticed one major
I just moved my Wordpress site from using nginx to Apache2, and found that
Just moved from Tomcat 5 to Tomcat 7 and having problems with deployment. I
I just moved a project from localhost over to my remote server, and noticed
So i have just moved everything from my localhost to a new online server
I've just moved over from shared to dedicated hosting, and suddenly POST is not
I have just moved a site from a dedicated server to a GoDaddy shared
We just moved over to Git from SVN. In trying to clean up some
I just moved a web app project from VSS to TFS and when I
I just started with WPF. Moved from Window Form. Where do those openDialog, saveDialog

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.