moisesbelda / stickyNotes-portlet

stickyNotes is a portlet developed to liferay portal that allow us to have a dashboard to post sticky notes, and it can be located anywhere on the portal. With stickyNotes you can post ads, events, reminders, or anything you can think of, in a visual and simple way. Arrange notes as you want, just drag it. Other users can see and interact with them. stickyNotes is the perfect tool of communication for any portal: educational, business, etc..
1 stars 3 forks source link

java.lang.SecurityException: Attempted to access declared members #1

Open idovitz opened 11 years ago

idovitz commented 11 years ago

Can't deploy: tried to install from marketplace and a self compiled package from eclipse

version: Liferay Portal Community Edition 6.1.1 CE GA2 Patched (Paton / Build 6101 / July 31, 2012) (LCE patchers)

ERROR [localhost-startStop-4][ManagementService:110] Error registering cache for management for net.sf.ehcache:type=Cache,CacheManager=hibernate-clustered,name=com.stickynotes.model.impl.stickyNoteImpl . Error was Attempted to access declared members java.lang.SecurityException: Attempted to access declared members

011at com.liferay.portal.security.pacl.checker.BaseChecker.throwSecurityException(BaseChecker.java:259)

011at com.liferay.portal.security.pacl.checker.RuntimeChecker.checkPermission(RuntimeChecker.java:71)

011at com.liferay.portal.security.pacl.ActivePACLPolicy.checkPermission(ActivePACLPolicy.java:55)

011at com.liferay.portal.security.lang.PortalSecurityManager.checkPermission(PortalSecurityManager.java:103)

011at com.liferay.portal.security.lang.PortalSecurityManager.checkPermission(PortalSecurityManager.java:74)

011at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1679)

011at java.lang.Class.checkMemberAccess(Class.java:2204)

011at java.lang.Class.getEnclosingClass(Class.java:1137)

moisesbelda commented 10 years ago

I think this is an error throwed by PACL security.

If you has builded war from the source, please, try to disable PACL at project source... Edit /docroot/WEB-INF/liferay-plugin-package.properties and disable this property:

security-manager-enabled=false

I think PACL is too buggy with Liferay 6.1.x! Please try and tell me if works.

Thanks!