[jboss-jira] [JBoss JIRA] (AS7-4198) default value in infinispan subsystem schema is ignored
Radoslav Husar (JIRA)
jira-events at lists.jboss.org
Tue Mar 27 03:42:53 EDT 2012
[ https://issues.jboss.org/browse/AS7-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar reassigned AS7-4198:
-----------------------------------
Assignee: Paul Ferraro (was: Richard Achmatowicz)
This Jira should be either rejected or amended.
* The XSD is never parsed for default values, its only used for validation purposes.
* The decision is to have L1 enabled by default for both EJB and HTTP session clustering.
What's remaining is Michal is asking to have the default to disable and the reenable L1 in the standalone-ha.xml, what do you think Paul? I think we didnt cover this yesterday.
> default value in infinispan subsystem schema is ignored
> -------------------------------------------------------
>
> Key: AS7-4198
> URL: https://issues.jboss.org/browse/AS7-4198
> Project: Application Server 7
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 7.1.1.Final
> Reporter: Michal Linhard
> Assignee: Paul Ferraro
> Priority: Minor
>
> Because of the way the infinispan subsystem is parsed:
> https://github.com/jbossas/jboss-as/blob/master/clustering/infinispan/src/main/java/org/jboss/as/clustering/infinispan/subsystem/InfinispanSubsystemXMLReader_1_1.java#L297
> The default value for l1-lifespan attribute specified here:
> https://github.com/jbossas/jboss-as/blob/master/build/src/main/resources/docs/schema/jboss-as-infinispan_1_1.xsd#L400
> is ignored.
> Could we changed it to zero in the schema, so that there aren't doubts whether L1 is or is not enabled by default when this attribute is omitted ?
> Correct behaviour IMO should be: L1 is disabled by default.
> And that is the way it is, this default value just adds to confusion.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list