[ https://issues.apache.org/jira/browse/TOMEE-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133710#comment-13133710 ]
Romain Manni-Bucau commented on TOMEE-39: ----------------------------------------- can you have a try with the last one please? > context.xml of WAR not loaded > ----------------------------- > > Key: TOMEE-39 > URL: https://issues.apache.org/jira/browse/TOMEE-39 > Project: TomEE > Issue Type: Bug > Affects Versions: 1.0.0-beta-2 > Environment: Linux, Java6 > Reporter: Werner Froidevaux > Attachments: opencrx-core-CRX.ear > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira