[
https://issues.jboss.org/browse/AS7-4198?page=com.atlassian.jira.plugin.s...
]
Richard Achmatowicz edited comment on AS7-4198 at 3/26/12 5:56 PM:
-------------------------------------------------------------------
The xsd defaults have no effect on processing; they are there for documentation purposes
only (according to Brian).
All default values are controlled through AttributeDefintions within the subsystem
definition. This is primarily because management operations, whether they are specified
via XML elements or the management interface, all end up as invoked management operations
which access the AttributeDefinitions and their defaults.
The xsd defaults were set up to match the defaults used in the attribute definitions. In
the case of l1-lifespan, the default is actually 600000.
When building the Infinispan configuration from the management model information, if
l1-lifespan > 0, l1 caching is turned on. So l1 caching is actually on by default (or
at least should be by intention).
was (Author: rachmato):
The xsd defaults have no effect on processing; they are there for documentation
purposes only (according to Brian).
All default values are controlled through AttributeDefintions within the subsystem
definition. This is primarily because management operations, whether they are specified
via XML elements or the management interface, all end up as invoked management operations.
The xsd defaults were set up to match the defaults used in the attribute definitions. In
the case of l1-lifespan, the default is actually 600000.
When building the Infinispan configuration from the management model information, if
l1-lifespan > 0, l1 caching is turned on. So l1 caching is actually on by default (or
at least should be by intention).
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: Richard Achmatowicz
Priority: Minor
Because of the way the infinispan subsystem is parsed:
https://github.com/jbossas/jboss-as/blob/master/clustering/infinispan/src...
The default value for l1-lifespan attribute specified here:
https://github.com/jbossas/jboss-as/blob/master/build/src/main/resources/...
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