Bug 906776 - Following the docs for excluding subsystem leads to ParseError
Summary: Following the docs for excluding subsystem leads to ParseError
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Documentation
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: EAP 6.1.0
Assignee: Vikram Goyal
QA Contact: Tom WELLS
URL:
Whiteboard:
Depends On:
Blocks: 953328
TreeView+ depends on / blocked
 
Reported: 2013-02-01 13:09 UTC by Siamak Sadeghianfar
Modified: 2015-05-18 01:29 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 953328 (view as bug list)
Environment:
Last Closed: 2013-05-24 00:30:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.