Bug 1022182

Summary: Default value for access log prefix differs in schema and CLI
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Blizňák <jbliznak>
Component: WebAssignee: Rémy Maucherat <rmaucher>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hatlapatka <rhatlapa>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: mvelas, rhatlapa
Target Milestone: ER10   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-05 11:38:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Blizňák 2013-10-22 16:12:36 UTC
Description of problem:
In docs/schema/jboss-as-web_1_4.xsd there is defined attribute "prefix" of access log type as:

<xs:attribute name="prefix" default="access_log." />

whereas in CLI the command /subsystem=web/virtual-server=default-host/access-log=configuration:read-resource-description outputs:

 "prefix" => {
                "type" => STRING,
                "description" => "Prefix for the log file name.",
                "expressions-allowed" => false,
                "nillable" => true,
                "default" => false,
                "min-length" => 1L,
                "max-length" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

How reproducible:
Always

Actual results:
Default values differs. The value from CLI is reproduced as string "false" and used for prefixing access log files.

Expected results:
Default values are synchronized.

Comment 1 Martin Velas 2014-08-05 11:38:18 UTC
For EAP 6.3.0.ER10 both the XSD document and the CLI present the same default value for the prefix attribude: 

<xs:attribute name="prefix" default="access_log." />

and

"prefix" => {
                "type" => STRING,
                "description" => "Prefix for the log file name.",
                "expressions-allowed" => false,
                "nillable" => true,
                "default" => "access_log.",
                "min-length" => 1L,
                "max-length" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

So this issue reported against older version, cannot be reproduced against latest 6.3.0.ER10 bits, which means it was fixed earlier. Therefore, we are closing this bug. Thank you for reporting this issue.