You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (Closed) (JIRA)" <ji...@apache.org> on 2011/10/24 09:52:32 UTC

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

     [ https://issues.apache.org/jira/browse/TOMEE-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed TOMEE-39.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0-beta-2
         Assignee: Romain Manni-Bucau

cool, sorry for the multiple tries
                
> 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