Issue Details (XML | Word | Printable)

Key: LEP-7490
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Raymond Auge
Reporter: Alf Høgemark
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
INTERNAL - Old Liferay Portal (Use Liferay Portal Standard Edition)

Wrong name for the FincerCache in Ehcache config files

Created: 13/Sep/08 08:01 AM   Updated: 13/Sep/08 12:13 PM
Component/s: None
Affects Version/s: 5.1.1
Fix Version/s: 5.1.2

Time Tracking:
Not Specified


 Description  « Hide
The following Ehcache config files contains the following cache names :
./portal-impl/src/ehcache/liferay-multi-vm.xml: name="com.liferay.portal.spring.hibernate.FinderCache"
./portal-impl/src/ehcache/liferay-multi-vm-clustered.xml: name="com.liferay.portal.spring.hibernate.FinderCache"

But I think the correct cache name for the "hibernate / orm cache", is "com.liferay.portal.kernel.dao.orm.FinderCache"
./portal-impl/src/com/liferay/portal/dao/orm/hibernate/FinderCacheImpl.java: public static final String CACHE_NAME = FinderCache.class.getName();
and
./portal-kernel/src/com/liferay/portal/kernel/dao/orm/FinderCache.java

You can get more details by reading the bottom of the following article : http://www.kanonbra.com/index.php/projects/performance-testing/18-using-visualvm-on-liferay

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Raymond Auge added a comment - 13/Sep/08 10:12 AM - Visible to
Thank you Alf.

This was a very important finding. I'm glad you caught it.

Brian Chan added a comment - 13/Sep/08 12:13 PM
Thanks Alf!