Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Murali Karteek
After Upgrade Project to 6.1.1Facing issues with FinderCache & EntityCache
3. April 2013 23:08
Antwort

Murali Karteek

Rang: Junior Member

Nachrichten: 37

Eintrittsdatum: 5. März 2012

Neue Beiträge

I have successfully Upgraded my project from Liferay6.0.6 to 6.1.1 .

It's working fine but I found an issue while deploying my portlets they are FinderCache & EntityCache Errors on Server.

 1Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 2SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.FinderCache.com.
 3liferay.portal.model.impl.OrganizationImpl.List2.data] but has failed to stop it. This is very likely to create a memory leak.
 4Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 5SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.FinderCache.com.
 6liferay.portlet.asset.model.impl.AssetEntryImpl.data] but has failed to stop it. This is very likely to create a memory leak.
 7Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 8SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.EntityCache.com.
 9liferay.portlet.asset.model.impl.AssetEntryImpl.data] but has failed to stop it. This is very likely to create a memory leak.
10Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
11SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.EntityCache.com.
12liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl.data] but has failed to stop it. This is very likely to create a memory leak.
13Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
14SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.FinderCache.com.
15liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl.data] but has failed to stop it. This is very likely to create a memory leak.
16Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
17SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.FinderCache.com.
18liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl.data] but has failed to stop it. This is very likely to create a memory leak.
19Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
20SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.EntityCache.com.
21liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl.data] but has failed to stop it. This is very likely to create a memory leak.
22Apr 3, 2013 1:10:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
23SEVERE: The web application [/example-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.EntityCache.com.
24liferay.portal.model.impl.RepositoryImpl.data] but has failed to stop it. This is very likely to create a memory leak.



Can any one Help me to resolve this Issue
Juan Gonzalez
RE: After Upgrade Project to 6.1.1Facing issues with FinderCache & EntityCa
4. April 2013 00:07
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2892

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

Better post your code snippets (XXLocalServiceImpl, XXFinderImpl etc) so we can see how do you use the cache.
Murali Karteek
RE: After Upgrade Project to 6.1.1Facing issues with FinderCache & EntityCa
4. April 2013 01:44
Antwort

Murali Karteek

Rang: Junior Member

Nachrichten: 37

Eintrittsdatum: 5. März 2012

Neue Beiträge

Hi ,

Better post your code snippets (XXLocalServiceImpl, XXFinderImpl etc) so we can see how do you use the cache.


i dont think the error is with XXLocalServiceImpl, XXFinderImpl classes.
While Upgrading I found the error

com.liferay.portal.convert.ConvertException: java.sql.BatchUpdateException: Duplicate entry '10112-103-4-10140_XXXXX_103-10119' for key 'IX_8D83D0CE'

For this, I just altered the `resourcepermission` table
UNIQUE KEY `IX_8D83D0CE` (`companyId`,`name`,`scope`,`primKey`,`roleId`), to
KEY `IX_8D83D0CE` (`companyId`,`name`,`scope`,`primKey`,`roleId`).

Then upgrade process completed successfully ...

I think my problem resides around this ....

Thanks & regards,
Karteek
Juan Gonzalez
RE: After Upgrade Project to 6.1.1Facing issues with FinderCache & EntityCa
4. April 2013 01:45
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2892

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

Then you can try re-index portal and restart so all caches are emptied.
Murali Karteek
RE: After Upgrade Project to 6.1.1Facing issues with FinderCache & EntityCa
4. April 2013 03:15
Antwort

Murali Karteek

Rang: Junior Member

Nachrichten: 37

Eintrittsdatum: 5. März 2012

Neue Beiträge

Hi Juan ,

I followed your suggestion still i am getting error.


SEVERE: The web application [/adayana-mle-lite-lms-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.FinderCache.com.
liferay.portal.model.impl.ServiceComponentImpl.List1.data] but has failed to stop it. This is very likely to create a memory leak.
Apr 4, 2013 10:01:53 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/adayana-mle-lite-lms-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.EntityCache.com.
liferay.portal.model.impl.ServiceComponentImpl.data] but has failed to stop it. This is very likely to create a memory leak.
Apr 4, 2013 10:01:53 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/adayana-mle-lite-lms-portlet] appears to have started a thread named [com.liferay.portal.kernel.dao.orm.FinderCache.com.
liferay.portal.model.impl.ServiceComponentImpl.data] but has failed to stop it. This is very likely to create a memory leak.


thanks& regards,
karteek
Mohammad Azharuddin
RE: After Upgrade Project to 6.1.1Facing issues with FinderCache & EntityCa
4. April 2013 03:39
Antwort

Mohammad Azharuddin

Rang: Expert

Nachrichten: 477

Eintrittsdatum: 17. September 2012

Neue Beiträge

hi
did you change your entity name after building service..?