You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (Commented) (JIRA)" <ji...@apache.org> on 2012/01/23 11:47:08 UTC

[jira] [Commented] (TOMEE-39) context.xml of WAR not loaded

    [ https://issues.apache.org/jira/browse/TOMEE-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191097#comment-13191097 ] 

David Blevins commented on TOMEE-39:
------------------------------------

2011-10-21 - http://svn.apache.org/viewvc?view=revision&revision=1187205 - rmannibucau
2011-10-22 - http://svn.apache.org/viewvc?view=revision&revision=1187705 - rmannibucau

                
> 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
>            Assignee: Romain Manni-Bucau
>             Fix For: 1.0.0-beta-2
>
>         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