facebook

[Tomcat 5] My /META-INF/context.xml file is ignored.

  1. MyEclipse IDE
  2.  > 
  3. FAQ – Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #241673 Reply

    Riyad Kalla
    Member

    Our informed user zartc pointed this one out to us, as outlined in the Tomcat documentation here (section “Tomcat Context Descriptor”) and here. The text says that TOMCAT 5.5.x supports deploying a custom context file from your project as long as it is contained inside of the META-INF directory and named “context.xml”.

    NOTE: It was previous thought that the file had to be named after your project (e.g. META-INF/myapp.xml) but this is infact not true and the file must be named context.xml.

    • This topic was modified 8 years, 8 months ago by support-tony. Reason: Minor edits
Viewing 1 post (of 1 total)
Reply To: [Tomcat 5] My /META-INF/context.xml file is ignored.

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in