Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
The security-domain element in batch-jberet subsystem is not placed correctly in standalone-elytron.xml profile.
The current configuration in the profile is:
<subsystem xmlns="urn:jboss:domain:batch-jberet:2.0"> <default-job-repository name="in-memory"/> <security-domain name="ApplicationDomain"/> <default-thread-pool name="batch"/> <job-repository name="in-memory"> <in-memory/> </job-repository> <thread-pool name="batch"> <max-threads count="10"/> <keepalive-time time="30" unit="seconds"/> </thread-pool> </subsystem>
And XSD (wildfly-batch-jberet_2_0.xsd) says:
<xs:sequence> <xs:element name="default-job-repository" type="namedType" minOccurs="1" maxOccurs="1"> </xs:element> <xs:element name="default-thread-pool" type="namedType" minOccurs="1" maxOccurs="1"> </xs:element> <xs:element name="restart-jobs-on-resume" type="booleanType" minOccurs="0" maxOccurs="1"> </xs:element> <xs:element name="security-domain" type="namedType" minOccurs="0" maxOccurs="1"> </xs:element> <xs:element name="job-repository" type="job-repositoryType" minOccurs="1" maxOccurs="unbounded"/> <xs:element name="thread-pool" type="thread-poolType" minOccurs="1" maxOccurs="unbounded"/> <xs:element name="thread-factory" type="threads:thread-factory" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
As a result the profile XML validation ends with error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'security-domain'. One of '{"urn:jboss:domain:batch-jberet:2.0":default-thread-pool}' is expected.
Attachments
Issue Links
- clones
-
JBEAP-8120 The batch subsystem configuration doesn't validate in standalone-elytron.xml profile
-
- Verified
-