[jboss-jira] [JBoss JIRA] Updated: (JBAS-7834) XMLs contained by archives are parsed aggressively by deployers, resulting in unexpected errors

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue May 18 15:44:06 EDT 2010


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

Ales Justin updated JBAS-7834:
------------------------------

    JBoss Forum Reference: http://community.jboss.org/message/533521#533521


> XMLs contained by archives are parsed aggressively by deployers, resulting in unexpected errors
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBAS-7834
>                 URL: https://jira.jboss.org/browse/JBAS-7834
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers
>            Reporter: Marius Bogoevici
>            Assignee: Ales Justin
>             Fix For: 6.0.0.M4
>
>
> Take a working application (like a very basic war) and add a file ending in -hibernate.xml (e.g. /WEB-INF/application-hibernate.xml) which references a schema which is unknown to the Hibernate Deployer (or no schema).
> A simple file containing this:
> <broken/>
> would do. 
> From this point on, the application will fail deploying consistently. Unfortunately, application-hibernate.xml is not a reserved file name under JavaEE, so a valid application may contain such files and fail to deploy. In such cases, the application server should be more lenient and ignore those files.
> Note 1: the problem may appear for other suffixes.
> Note 2: the problem has been sporadically noticed in the Spring world, but it's not necessarily a Spring-related issue (heavy usage of XML in Spring may trigger the problem more consistently).

-- 
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