[jboss-dev-forums] [Design of JBoss Deployment Framework] - JBAS-4193, xml validation, empty application.xml

alex.loubyansky@jboss.com do-not-reply at jboss.com
Wed Sep 17 08:53:14 EDT 2008


I've been looking into the https://jira.jboss.org/jira/browse/JBAS-4193

To make it work, the following should be uncommented for the following two deployers
   <bean name="EARStructureDeployer" class="org.jboss.deployment.EARStructure">
  |      <property name="comparatorClassName">org.jboss.system.deployers.LegacyDeploymentContextComparator</property>
  |      <!-- uncomment to disable xml validation property name="useValidation">false</property -->
  |    </bean>
  | 
  |    <!-- application.xml parsing deployer -->
  |    <bean name="AppParsingDeployer" class="org.jboss.deployment.AppParsingDeployer">
  |      <!-- uncomment to disable xml validation property name="useValidation">false</property -->
  |      <!-- in case xml validation is disabled, it's also better to turn off schema validation property name="useSchemaValidation">false</property -->
  |    </bean>

Since the application.xml is parsed twice during deployment. For now I left it commented. There is a test in the testsuite for this issue but it has been commented out and I also left it commented out for now.

Having to modify different properties in different services to enable/disable a feature like this is not nice. It would be better to have something like a system property for this. What do you think?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177106#4177106

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177106



More information about the jboss-dev-forums mailing list