enabled security manager, now I get a ClassNotFoundException at deploy time and the app is unusable. Happens with 6.1.1 and 6.1.20. How can I resolve this?
INFO: Deploying web application directory /Users/trapp/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/zsign-user-config-portlet
17:09:15,599 ERROR [pool-2-thread-3][PortalServiceChecker:249] java.lang.ClassNotFoundException: com.liferay.portal.service.ResourcePermissionLocalServiceUtil
java.lang.ClassNotFoundException: com.liferay.portal.service.ResourcePermissionLocalServiceUtil
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.liferay.portal.security.pacl.checker.PortalServiceChecker.touchService(PortalServiceChecker.java:242)
...
Here are my security settings:
security-manager-enabled=true
security-manager-expando-bridge=com.liferay.portal.model.User
#security-manager-services[ WTF to put here for doc library????? ]=\
# com.liferay.portlet.documentlibrary.service.DLAppServiceUtil, \
# com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil,\
# com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil, \
# com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil, \
# com.liferay.portlet.expando.service.ExpandoColumnLocalServiceUtil,\
# com.liferay.portlet.expando.service.ExpandoTableLocalServiceUtil
security-manager-services=\
com.liferay.portal.service.GroupLocalService, \
com.liferay.portal.service.ResourcePermissionLocalService,\
com.liferay.portal.service.ResourcePermissionLocalServiceUtil, \
com.liferay.portal.service.ResourcePermissionService,\
com.liferay.portal.service.ResourcePermissionLocalServiceUtil,\
com.liferay.portal.service.ResourcePermissionServiceUtil,\
com.liferay.portal.service.RoleLocalService,\
com.liferay.portal.service.UserLocalService
security-manager-get-bean-property=\
com.liferay.portal.kernel.util.FileUtil,\
com.liferay.portal.kernel.util.GetterUtil,\
com.liferay.portal.kernel.util.ParamUtil,\
com.liferay.portal.util.PortalUtil,\
com.liferay.portal.kernel.util.PrefsPropsUtil,\
com.liferay.portal.kernel.util.PropsUtil, \
com.liferay.portlet.documentlibrary.util.RawMetadataProcessorUtil
All that is standing between Liferay and world domination is
clear documentation and simplifying really painful bits like the PACL.
Bitte melden Sie sich an, um diesen Inhalt als unangebracht zu kennzeichnen.