click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-5872
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Stephen Marquard
Reporter: Thomas Amsler
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Sakai

Help tool deploys its ehcache.xml

Created: 11-Aug-2006 09:41   Updated: 23-Oct-2008 11:07
Component/s: Help Tool
Affects Version/s: 2.1.2, 2.1.x, 2.2.0, 2.2.1, 2.2.2, 2.2.3
Fix Version/s: 2.1.x, 2.2.x, 2.3.0

Time Tracking:
Not Specified

File Attachments: 1. File sakai-help-sak-5872.diff (0.4 kB)

Environment:
Sakai Help tool
Caching (ehcache configuration)

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
When Hibernate's ehcache plugin starts up, it looks for a configuration file called ehcache.xml in the class path. The main ehcache.xml configuration file is in (common/common-composite-component-data/src/java/ehcache.xml).

The Sakai help tools deploys its ehcache.xml to shared/lib (sakai-comp-shared-help-sakai_2-1-x.jar) as part of the help-component-shared deployment. The problem is that every once a while, the ehcache plugin finds the ehcache.xml in help first and loads that one instead the one in common-composite-component-data. This means that all the cache definitions are missing and every cache is configured with default values as defined in, or lacking any definition in, ehcache.xml file located in help.


 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Thomas Amsler added a comment - 11-Aug-2006 09:45
The fix for this problem is to specifically exclude "ehcache.xml" from being deployed by editing "help/help-component-shared/project.xml"

Thomas Amsler added a comment - 11-Aug-2006 09:46
This patch prevents the help tool to deploy its ehcache.xml file

Stephen Marquard added a comment - 14-Aug-2006 06:39
Jarrod, could you have a look at this? Does Help need to use ehcache at all?

Stephen Marquard added a comment - 29-Aug-2006 00:18
Resolved in r14086. Thanks for the patch.

Peter A. Knoop added a comment - 29-Aug-2006 05:28
Corrected Fix Version.

Megan May added a comment - 30-Aug-2006 13:04
merged into 2.2.x Maint branch

Brian Jorgensen added a comment - 26-Oct-2006 15:17
Fixed in 2.1.x r17485.

Peter A. Knoop added a comment - 18-Apr-2007 07:43
This issue was fixed for 2.3.0, however, there was insufficient time for QA to verify the fix before the release. As the issue has not be re-opened subsequently, we will assume the fix was correct and are closing the issue.