|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (2)
View Page History... |
h1. Solution |
Caching was developed into the code to catch any ldap objects after initial call, this stops any additional calls out to ldap that are not necessary after the initial load. After putting this change in place, user permission changes will not be affected until a browser session times out or is closed. h2. Automated Installation and rollback Instructions: {warning} WARNING: DO NOT REMOVE THE CONTENTS OF THE FILE WHEN RUNNING THE SH FILE.{warning} \\ {panel} *{_}Step 1{_}*: Download patch [GWME-7.1.0-6 - LDAP Patch^ldap-speedfix_v7.1.x.tar.gz] *{_}Step 2{_}*: Unzip the tar to a location that is accessible *{_}Step 3{_}*: Elevate terminal to root *{_}Step 4{_}*: Run the sh file inside the folder. *{_}Step 5{_}*: Follow the prompts. {panel} h2. Manual Installation Instructions: *{_}Step 1:_* Download installation package, unzip and place in accessible location. [GWME-7.1.0-6 - LDAP Patch^ldap-speedfix_v7.1.x.tar.gz] {color:#000000}{*}{_}Step 2{_}{*}{color}{color:#000000}: Stop Groundwork{color} {code} /usr/local/groundwork/ctlscript.sh stop gwservices {code} *{_}Step 3:_* Create backup folder in the unzipped package directory. {code} mkdir gwbackupconfig {code} *{_}Step 4:_* Copy module.xml into backup folder {code} cp -f /usr/local/groundwork/foundation/container/jpp/modules/org/gatein/sso/main/module.xml gwbackupconfig {code} *{_}Step 5: _{*}Copy josso-ldap-identitystore-gwpatch-7.1.0.jar into backup folder {code} cp -f /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib/josso-ldap-identitystore-gwpatch-7.1.0.jar gwbackupconfig {code} *{_}Step 6: _{*}Replace string content in /usr/local/groundwork/foundation/container/jpp/modules/org/gatein/sso/main/module.xml to reflect reference to latest jar file josso-ldap-identitystore-7.1.1-1.jar. {code} sed -i -e 's/josso-ldap-identitystore-gwpatch-7.1.0.jar/josso-ldap-identitystore-7.1.1-1.jar/g' '/usr/local/groundwork/foundation/container/jpp/modules/org/gatein/sso/main/module.xml {code} *{_}Step 7:_* Remove old jar file and virtual link. {code} rm -rf /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib/josso-ldap-identitystore-gwpatch-7.1.0.jar {code} *{_}Step 8:_* Copying new jar file into proper location. {code} cp -f josso-ldap-identitystore-7.1.1-1.jar /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib {code} *{_}Step 9:_* Create virtual link to jar. {code} ln -s -f /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib/josso-ldap-identitystore-7.1.1-1.jar /usr/local/groundwork/jpp/modules/org/gatein/sso/main/ {code} *{_}Step 10:_* Start GW services {code} /usr/local/groundwork/ctlscript.sh start gwservices {code} h2. Manual Rollback Instructions {color:#000000}{*}{_}Step 1{_}{*}{color}{color:#000000}: Stop Groundwork{color} {code} /usr/local/groundwork/ctlscript.sh stop gwservices {code} *{_}Step 2:_* Remove upgraded jar {code} rm -rf /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib/josso-ldap-identitystore-7.1.1-1.jar {code} *{_}Step 3:_* Restore module.xml {code} cp -f gwbackupconfig/module.xml /usr/local/groundwork/foundation/container/jpp/modules/org/gatein/sso/main {code} *{_}Step 4:_* Restore ldap jar file {code} cp -f gwbackupconfig/josso-ldap-identitystore-gwpatch-7.1.0.jar /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib {code} *{_}Step 5:_* Create virtual link to jar file {code} ln -s -f /usr/local/groundwork/foundation/container/josso-1.8.4/webapps/josso/WEB-INF/lib/josso-ldap-identitystore-gwpatch-7.1.0.jar /usr/local/groundwork/jpp/modules/org/gatein/sso/main/ {code} *{_}Step 6:_* Start Groundwork Services {code} /usr/local/groundwork/ctlscript.sh start gwservices {code} |
A patch for this was developed for Groundwork Enterprise 7.1.1 under [SUPPORT:GWME-7.1.1-1 - LDAP Patch]. This patch is compatible with 7.1.0 and the steps can be followed as described. |