Bug 1045088

Summary: <distributable/> tag is commented out in web.xml
Product: [Retired] JBoss BPMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, rsynek, rzhang
Target Milestone: CR1   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: SSO does not work properly with distributable application on EAP 6.1.1 in the default configuration. However, it can be configured to work in EAP cluster. Consequence: <distributable/> tag has been commented out in EAP6 deployable binaries, which makes clustering of web session unavailable by default. Workaround (if any): To enable both SSO and distributable application feature, SSO must be configured to use proper cache container with replicated cache. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:06:10 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:
Attachments:
Description Flags
standalone-ha.xml none

Description Radovan Synek 2013-12-19 15:08:59 UTC
Created attachment 839021 [details]
standalone-ha.xml

Description of problem:
<distributable/> tag has been commented out in EAP6 deployable binaries, which makes clustering of web session unavailable. 

This has been done in order to fix SSO (https://issues.jboss.org/browse/GUVNOR-2033), but I believe that EAP 6.1.1 can be configured properly and SSO should work with distributable applications.

For distributable application the sso element (subsystem urn:jboss:domain:web) must point to cache container and replicated cache (see a subsystem urn:jboss:domain:infinispan in standalone-ha.xml) as follows:
<sso cache-container="web" cache-name="sso" reauthenticate="false" />

I am attaching my standalone-ha.xml (-ha and -full-ha have configured replicated cache by default, so only <sso ..> needs to be added).

steps to reproduce:
1. enable <distributable/> in web.xml of Business Central, deploy it together with dashbuilder
2. use the attached standalone-ha.xml (or just make those configuration changes)
3. run the server, log in to Business Central
4. navigate to Dashboards -> Business Dashboards, Dashbuilder application should appear without any need to log in again.

Comment 1 Maciej Swiderski 2013-12-20 12:32:23 UTC
confirmed that it does work with HA configuration. Although that would force all users to use the HA settings by default even though is not needed (no clustering setup). My vote is to document how to configure it with distributable for cluster based solutions. As session replication has adds some overhead as well and not always this is needed.

Wdyt?

Comment 2 Kris Verlaenen 2013-12-20 14:28:30 UTC
Radovan, would you agree?

Comment 3 Radovan Synek 2013-12-20 15:20:59 UTC
That's a valid proposal, I agree, let's document it properly and make SSO without distributable application the default option. May I just ask you to remove the comment from web.xml pointing to https://issues.jboss.org/browse/WFLY-986 (it's confusing)?

Comment 4 Maciej Swiderski 2013-12-20 15:23:49 UTC
alright, I'll remove all the comments from web.xml

Comment 6 Radovan Synek 2014-01-21 14:43:40 UTC
Verified with BPMS-6.0.0.CR1.

Comment 7 Radovan Synek 2014-03-18 15:55:23 UTC
qe_test_coverage: this is just about the default configuration that users can change to meet their needs