Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 906776

Summary: Following the docs for excluding subsystem leads to ParseError
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Siamak Sadeghianfar <ssadeghi>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED CURRENTRELEASE QA Contact: Tom WELLS <twells>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: lcarlon, nchaudha, pkremens, rdickens, vigoyal
Target Milestone: ---Keywords: Documentation, EasyFix
Target Release: EAP 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 953328 (view as bug list) Environment:
Last Closed: 2013-05-24 00:30:09 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:
Bug Depends On:    
Bug Blocks: 953328    

Description Siamak Sadeghianfar 2013-02-01 13:09:55 UTC
The instructions for excluding a subsystem in the docs[1] lead to :
JBAS018754: Unexpected content of type 'element start', name is 'exclude-subsystems', text is: 'null'

The sample jboss-deployment-structure.xml in the docs doesn't specify the namespace and the default version assumed by EAP 6.0.1 is not 1.2. "exclude-subsystem" is introduced in version 1.2 of jboss-deployment-structure schema. Specifying the namespace solves the problem:

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">

The docs need to be updated accordingly.


[1] https://access.redhat.com/knowledge/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Development_Guide/Exclude_a_Subsystem_from_a_Deployment.html

Comment 1 Vikram Goyal 2013-03-20 05:58:12 UTC
Fix is in. Will provide a link when the docs are built next. Moving this to MODIFIED.

Comment 2 Petr Kremensky 2013-04-16 09:49:25 UTC
From description I understand, that problem with missing jboss-deployment-structure tag is mainly related to EAP 6.0.1 and EAP 6.0.0, so this issue should be fixed alson in 6.0 documentation.

http://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Development_Guide/Exclude_a_Subsystem_from_a_Deployment.html

Comment 3 Vikram Goyal 2013-04-18 00:25:31 UTC
Thanks pkremens.

I have created a new BZ# 953328 to clone this bug and targeted that for EAP 6.0.0. 

Moving this back to ON_QA.

Comment 4 Petr Kremensky 2013-04-18 07:34:30 UTC
Verified