Hide Forgot
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.
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?
Radovan, would you agree?
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)?
alright, I'll remove all the comments from web.xml
comments removed from web.xml kie-wb-distributions master: https://github.com/droolsjbpm/kie-wb-distributions/commit/6dfbfd9c362b24a0d669d4321f98d9e79e7f47a3 6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/89d8f814454b2a2eeca3738070aa7af493e8aae5 jbpm-console-ng master: https://github.com/droolsjbpm/jbpm-console-ng/commit/0825bd994e8093ab7f73c8115ed9ce07c6a13b1d 6.0.x: https://github.com/droolsjbpm/jbpm-console-ng/commit/2b1d7da419cac74d127f37999c7c13a10d7e254c
Verified with BPMS-6.0.0.CR1.
qe_test_coverage: this is just about the default configuration that users can change to meet their needs