Tomcat is not reading /META-INF/context.xml for plugins
Description
is related to
relates
Activity
Show:

Mark JinDecember 7, 2011 at 7:15 PM
PASSED Manual Testing using the following steps:
1. Edit build.xml file set deployXML to true.
2. Deploy to tomcat.
3. Start tomcat.
4. Deploy plugin.
5. Go to tomcat\conf\Catalina\localhost.
Reproduced on:
Tomcat 6.0.32 + MySQL 5.5.17. 6.1.x Revision: 82739.
Fixed on:
Tomcat 6.0.32 + MySQL 5.5.17. 6.1.x Revision: 95015.

Brian ChanJuly 5, 2011 at 3:23 PM
Rechecked it in. See .
Fixed
Details
Assignee
Mark JinMark Jin(Deactivated)Reporter
Ryan ParkRyan Park(Deactivated)Labels
Branch Version/s
6.0.xBackported to Branch
CommittedComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
6.0.x
Backported to Branch
Committed
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created June 6, 2011 at 10:07 AM
Updated June 24, 2023 at 9:54 AM
Resolved December 6, 2011 at 11:15 AM
Tomcat is not reading /META-INF/context.xml because of the way we are configuring Tomcat at build time.
In server.xml, we overwrite the property deployXML to false, when this attribute should be set to true so that Tomcat can read in the context.xml file and properly place it in /conf/[engine]/[host]/[plugin-name].xml.
Note, previously it may have been disabled so that undeploying portlets would not leave /conf/[engine]/[host]/[plugin-name].xml in the conf folder. This was a bug in Tomcat that has been fixed. Tomcat, on undeploy, will remove this file as well.