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=31276>.
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=31276

Child elements of context.xml are lost when deployed in a war

           Summary: Child elements of context.xml are lost when deployed in
                    a war
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Alpha
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using the HTML manager interface I deployed a war file that was already on the 
server (i.e. I did not upload the war file). The war file contained a META-
INF/context.xml which itself had some context parameter elements and a logger 
element. The application deploys correctly and these parameters are read but 
the xml file created in conf/Catalina/localhost does not contain any child 
elements - just a rewritten version of the <context>.

If the server is restarted, the application fails to start correctly because of 
the missing context elements.

I have seen related queries about the context failing to load resources but 
this is different. It loads them but does not preserve them for a restart.

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

Reply via email to