Bug 905526

Summary: Swap files are not deleted with disabled value storage
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Michal Vanco <mvanco>
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: epp-bugs, jpallich, mvecera, theute
Target Milestone: CR01   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Content Repository API for Java (JCR) swap files are not deleted automatically. In extreme situations this issue could lead to server storage reaching capacity. To work around the issue, it is recommended to delete the `JPP_HOME/standalone/data/gatein/jcr/swap/` directory during maintenance procedures and before restarting the portal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 17:31:32 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:
Embargoed:

Description Michal Vanco 2013-01-29 15:21:03 UTC
There is a bug that occurs when we disable the value storage (which seems to be the case in GateIn 3.5/ JPP 6.0 by default), in that particular case we realized that the swap files were not properly cleaned up. 

More details here https://jira.exoplatform.org/browse/JCR-2053. 

The bug will be fixed in 1.15.2 and 1.14.11. The bug fix consists in purging the swap files at runtime but also at startup time so it is important to make sure that your cluster config doesn't make the swap directory being shared between the cluster nodes otherwise you could face some issues at startup.

This BZ is for tracking purpose and a need of Release note for JPP 6.0 GA, issue will be fixed by upgrading JCR to 1.15.2 and higher.

Comment 1 Jared MORGAN 2013-03-01 04:58:42 UTC
This needs CCFR if it is going to be included in the Release Notes for 6.0

Comment 4 Jiri Pallich 2013-09-13 13:06:10 UTC
Fixed in eXo JCR 1.15.2 - subject for testing.

Comment 8 Jiri Pallich 2013-11-06 17:31:32 UTC
Fixed in JPP 6.1.0