[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7976) jboss-app.xml is not parsed when no application.xml is provided

Ales Justin (JIRA) jira-events at lists.jboss.org
Wed Jun 2 11:07:45 EDT 2010


     [ https://jira.jboss.org/browse/JBAS-7976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin resolved JBAS-7976.
-------------------------------

    Fix Version/s: 6.0.0.M3
                       (was: 6.0.0.M4)
       Resolution: Done


> jboss-app.xml is not parsed when no application.xml is provided
> ---------------------------------------------------------------
>
>                 Key: JBAS-7976
>                 URL: https://jira.jboss.org/browse/JBAS-7976
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers
>    Affects Versions: 6.0.0.M2
>            Reporter: Alessio Soldano
>            Assignee: Ales Justin
>             Fix For: 6.0.0.M3
>
>         Attachments: [JBAS-7976]__#2.patch, [JBAS-7976]__fix_JBossAppParsing_deployer_.patch
>
>
> JBossAppParsingDeployers does not actually parse jboss-app.xml when no application.xml descriptor is provided. In that case, the EARContentsDeployer creates a JBoss50AppMetaData instance and attach that to the deployment unit. Later JBossAppParsingDeployer (actually AbstractParsingDeployerWithOutput::createMetaData(DeploymentUnit unit, Set<String> names, String suffix, String key)) finds the metadata are already there and returns without doing the actual parse.
> A consequence of this is that, for instance, a security domain declared in jboss-app.xml is not picked up.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list