[
https://issues.jboss.org/browse/AS7-3949?page=com.atlassian.jira.plugin.s...
]
Pavel Slegr commented on AS7-3949:
----------------------------------
well, this is strange... as regarding xsd spec the background-validation-millis type is
defined like "nonNegativeInteger"
<xs:element name="background-validation-millis"
type="xs:nonNegativeInteger" minOccurs="0">
and nonNegativeInteger is: "An integer containing only non-negative values
(0,1,2,..)"
thus zero is valid value to add...
trying to reproduce...
Admin console: invalid parameter value being specified when creating
datasources
--------------------------------------------------------------------------------
Key: AS7-3949
URL:
https://issues.jboss.org/browse/AS7-3949
Project: Application Server 7
Issue Type: Bug
Components: Console
Affects Versions: 7.1.0.Final
Reporter: Jan Martiska
Assignee: Pavel Slegr
Priority: Critical
Fix For: 7.1.1.Final
When creating a datasource (regular or XA datasource), the console sets by default
"background-validation-millis" => 0L .. This will cause the operation to fail
with message: "JBAS014708: 0 is an invalid value for parameter
background-validation-millis. A minimum value of 1 is required"
Tested on latest upstream snapshot.
--
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