Carousel Portlet Prevents Ehcache Plugin From Loading With a 'ClassNotFoundException'

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

This article describes the scenario where the Carousel portlet (a third party app made by XTIVIA) and Ehcache plugin are deployed together the deployment of Ehcache plugin fails after restarting the system due to a ClassNotFoundException.

Steps to Reproduce

  1. Obtain Carousel portlet and Ehcache plugin
  2. Start up Liferay Portal 6.1 EE GA3
  3. Deploy Carousel plugin.
  4. Deploy Ehcache plugin.
  5. Ehchache plugin fails to deploy with stacktrace showing a ClassNotFoundException.

Resolution

Set the following in your portal-ext.properties file:

portal.security.manager.strategy=default

Additional Information

Notice that the property that resolves this issue is already set by default in Liferay Portal 6.2

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0