Update geronimo-tomcat-config.1.0.xsd to include <context> element
------------------------------------------------------------------
Key: GERONIMO-6011
URL: https://issues.apache.org/jira/browse/GERONIMO-6011
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Tomcat
Reporter: Chi Runhua
Priority: Minor
<context> element is tomcat-specific and now supported in tomcat-2.0.1.xsd, but
if a user uses web-2.0.1 as the default namespace and <container-config> for
tomcat-specific attributes in the deployment plan, the <context> element will
be a problem.
Take the following xml as an example:
{code:xml}
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>default</sys:groupId>
<sys:artifactId>geronimo-web-6</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>car</sys:type>
</sys:moduleId>
</sys:environment>
<container-config>
<tomcat xmlns="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0">
<context ogEffectiveWebXml="true" useHttpOnly="true"
cacheMaxSize="2410" cacheObjectMaxSize="512" cachingAllowed="true"
unloadDelay="2000"></context>
<host>testhost.com</host>
<valve-chain>FirstValve</valve-chain>
<tomcat-realm>TomcatRealm</tomcat-realm>
</tomcat>
</container-config>
</web-app>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira