[JBoss JIRA] Created: (JBAS-7834) XMLs contained by archives are parsed aggressively by deployers, resulting in unexpected errors
by Marius Bogoevici (JIRA)
XMLs contained by archives are parsed aggressively by deployers, resulting in unexpected errors
-----------------------------------------------------------------------------------------------
Key: JBAS-7834
URL: https://jira.jboss.org/jira/browse/JBAS-7834
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployers
Reporter: Marius Bogoevici
Assignee: Ales Justin
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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBDEPLOY-233) Let's break relative order or deployer name ordering backward compatibility
by Richard Opalka (JIRA)
Let's break relative order or deployer name ordering backward compatibility
---------------------------------------------------------------------------
Key: JBDEPLOY-233
URL: https://jira.jboss.org/jira/browse/JBDEPLOY-233
Project: JBoss Deployers
Issue Type: Feature Request
Affects Versions: JBDEPLOY-2.0.8.SP1
Reporter: Richard Opalka
Fix For: JBDEPLOY-2.0.9.GA, JBDEPLOY-2.1.0.Alpha1
There is a requirement to implement deployers comparison if they are "equivalent".
This requirement is because of BC and should be removed ASAP IMHO.
Here are the top two reasons why it should be removed:
* it breaks topological ordering algorithm linear complexity
* deployers should define their order using inputs/outputs only and shouldn't rely on relative order or deployer name ordering
I suggest to remove this ordering from our algorithms and then fix particular deployers in AS trunk, that would fail because of wrong ordering.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month