DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39444>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39444

           Summary: autocreate a Context Descriptor for webApps without
                    META-INF/context.xml
           Product: Tomcat 5
           Version: 5.5.17
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I read in the documentation in chapter "A word on Contexts" the text
below.

If I put a war-file (which doesn't contain a META-INF/context.xml) into
the webapps-dir, the war-file is extracted and the webApp deployed, e.g.
on startup.

But afterwards the Context Descriptor isn't autogenerated and placed in
  $CATALINA_HOME/conf/[enginename]/[hostname]/
as expected.

As a result my webApp is deployed every startup again.

----
Context Descriptors not only help Tomcat to know how to configure
Contexts but other tools such as the Tomcat Manager and TDC often use
these Context Descriptors to perform their roles properly.

The locations for Context Descriptors are;

   1. $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml
   2. $CATALINA_HOME/webapps/[webappname]/META-INF/context.xml

If a Context Descriptor is not provided for a Context, Tomcat
automatically creates one and places it in (1) with a filename of
[webappname].xml although if manually created, the filename need not
match the web application name as Tomcat is concerned only with the
Context configuration contained within the Context Descriptor file(s).
----

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to