Bug 793818 (JBEPP-893)

Summary: Issue with picketlink cache - cached items are never evicted
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: mposolda
Component: unspecifiedAssignee: hfnukal <hfnukal>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GACC: epp-bugs, mweiler
Target Milestone: ---   
Target Release: 5.2.0.ER04   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-893
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
EPP version 5.1.0.GA, Picketlink version 1.1.7.GA
Last Closed: 2011-10-11 20:34:52 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:

Description mposolda 2011-04-18 12:23:02 UTC
Link type: Superset, Source: JBEPP-893, Destination: JBEPP-1090
Link type: Superset, Source: JBEPP-893, Destination: JBEPP-1284
project_key: JBEPP

See GTNPORTAL-1866 .

Fix by upgrading to PicketLink IDM 1.1.9

Comment 1 mposolda 2011-04-18 12:23:46 UTC
Link: Added: This issue is related to GTNPORTAL-1866


Comment 2 Scott Mumford 2011-08-09 03:48:25 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: An issue with PicketLink cache never evicting cached items has been resolved with an upgrade to PicketLink IDM 1.1.9.


Comment 3 Scott Mumford 2011-09-23 03:00:46 UTC
Changed Release Notes Status to Not Required as already included in 5.1.1 Release Notes.

Comment 4 Scott Mumford 2011-09-23 03:00:46 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Not Required


Comment 5 Martin Weiler 2011-09-30 11:38:06 UTC
The change to idm-configuration.xml (added cacheExpiration parameter) has not made it into the EPP 5.1.1 code base, so the issue is only partially resolved in EPP 5.1.1. To fix it in EPP 5.1.1, add the 'cacheExpiration' parameter to $EPP_HOME/jboss-as/server/$CONFIG/deploy/gatein.ear/02portal.war/WEB-INF/conf/organization/idm-configuration.xml:

{noformat}
  <component>
    <key>org.exoplatform.services.organization.idm.PicketLinkIDMService</key>
    <type>org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl</type>
    <init-params>

      [...]

      <value-param>
        <name>cacheExpiration</name>
        <value>1800000</value>
      </value-param>
    </init-params>
  </component>
{noformat}


Comment 6 Martin Weiler 2011-10-11 08:11:52 UTC
Link: Added: This issue incorporates JBEPP-1090


Comment 7 Martin Weiler 2011-10-11 08:16:05 UTC
Correction to the previous comment: this issue is not fixed in EPP 5.1.1, as the necessary code changes are missing as well: 
https://source.jboss.org/changelog/GateIn?cs=6310
https://source.jboss.org/changelog/GateIn?cs=6311

Comment 9 Martin Weiler 2011-10-12 07:44:33 UTC
Link: Added: This issue incorporates JBEPP-1284