Bug 1378117 - simplify Externalize HTTP Session
Summary: simplify Externalize HTTP Session
Keywords:
Status: NEW
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Documentation
Version: 6.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: jdg-docs@redhat.com
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-21 13:54 UTC by Shay Matasaro
Modified: 2019-12-16 06:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Build Name: 23149, Administration and Configuration Guide-6.6 Build Date: 08-09-2016 09:25:13 Topic ID: 44411-776217 [Specified]
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Shay Matasaro 2016-09-21 13:54:28 UTC
Title: Externalize HTTP Session from JBoss EAP 6.4 and later to JBoss Data Grid

The docs describe the addition of a new cache container and cache where externalization can be done by simply adjusting the existing web cache (repl or dist)

for example :
<cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan" statistics-enabled="true">
                <transport lock-timeout="60000"/>
                <replicated-cache name="repl" mode="ASYNC" batching="true">
                    <file-store/>
                </replicated-cache>
                <replicated-cache name="sso" mode="SYNC" batching="true"/>
                <distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
                    <file-store/>
                </distributed-cache>
            </cache-container>


Also there jboss-web.xml is not a must, only needed in order to fine tune settings

Comment 2 dereed 2016-09-21 18:49:04 UTC
At the least a separate cache config is needed (and jboss-web.xml to point to it), because the JDG cache name is hard-coded, and can't be shared between apps.


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