Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0-beta-2
-
None
-
None
-
Linux, Java6
Description
A WAR's context.xml is not loaded.
If the context.xml is put in the WAR in META-INF/context.xml it is not loaded. This works with Tomcat 6 + OpenEJB.
I attached a simple EAR containing a web module with a valid META-INF/context.xml. As test modify the context.xml so that it is invalid, e.g.
<Context
this context.xml is not valid
path="/opencrx-core-CRX"
docBase="${catalina.home}/apps/opencrx-core-CRX/opencrx-core-CRX.war"
>
</Context>
TomEE deploys the EAR without warnings or errors.
I tested a real EAR with a context.xml defining a realm which is also not loaded.