-
Documentation
-
Resolution: Done
-
Major
-
7.0.0.GA
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
- Book: Red Hat JBoss Enterprise Application Platform 7.0 Development Guide
- Issue description:
There is an "Example: META-INF/jboss-all.xml" in 3.7.4. Configuring Session Sharing between Subdeployments in Enterprise Archives. If we deploy with it XML structure on EAP 7.0, it will fail with errors. You can refer https://issues.jboss.org/browse/JBEAP-13098.
The example XML structure does not valid against the XML schema, shared-session-config_1_0.xsd.<jboss umlns="urn:jboss:1.0"> <shared-session-config xmlns="urn:jboss:shared-session-config:1.0"> <max-active-sessions>10</max-active-sessions> <session-config> <session-timeout>0</session-timeout> <cookie-config> <name>JSESSIONID</name> <domain>domainName</domain> <path>/cookiePath</path> <comment>cookie comment</comment> <http-only>true</http-only> <secure>true</secure> <max-age>-1</max-age> </cookie-config> </session-config> <tracking-mode>COOKIE</tracking-mode> </shared-session-config> <replication-config> <cache-name>web</cache-name> <replication-granularity>SESSION</replication-granularity> </replication-config> </jboss>
- Suggestion for improvement:
It should be fixed as below structure:<jboss umlns="urn:jboss:1.0"> <shared-session-config xmlns="urn:jboss:shared-session-config:1.0"> <max-active-sessions>10</max-active-sessions> <session-config> <session-timeout>0</session-timeout> <cookie-config> <name>JSESSIONID</name> <domain>domainName</domain> <path>/cookiePath</path> <comment>cookie comment</comment> <http-only>true</http-only> <secure>true</secure> <max-age>-1</max-age> </cookie-config> <tracking-mode>COOKIE</tracking-mode> </session-config> <replication-config> <cache-name>web</cache-name> <replication-granularity>SESSION</replication-granularity> </replication-config> </shared-session-config> </jboss>
- documents
-
JBEAP-13098 ParseError <tracking-mode> element for the shared-session-config of META-INF/jboss-all.xml
-
- Closed
-
- is cloned by
-
JBEAP-13877 [7.1] Wrong Example: META-INF/jboss-all.xml in 3.7.4. of JBoss EAP 7.0 Development Guide
-
- Closed
-