0

Marketplace & Enabling Security Manager Plugin & PACL

  • Asked - Oct 23, 2012, 03:20 PM
    / Viewed 9784 Times
    Hi All,

    I am trying to publish a portlet in the marketplace so, i need to declare the PALC in the liferay-plugin-package.properties first. I have two questions about it:

    1) Is there any other way than restarting Liferay every time you find and fix a security error by adding the right line into the PALC? I think i am missing something here, if not, this is a very painful process.

    2) My plugin is working fine when the security manager is not enabled. As soon as i enable it i find this error that i don't know how to solve, Any clue?



    14:37:07,210 WARN [pool-2-thread-1][FileChecker:256] Attempted to read file global-configuration.properties
    Loading file:/opt/liferay/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/liferayGoogleAnalytics-portlet/WEB-INF/classes/portlet.properties
    Loading file:/opt/liferay/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/liferayGoogleAnalytics-portlet/WEB-INF/classes/service.properties
    14:37:09,344 INFO [pool-2-thread-1][ClpSerializer:79] Unable to locate deployment context from portal properties
    Loading file:/opt/liferay/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/liferayGoogleAnalytics-portlet/WEB-INF/classes/portlet.properties
    Oct 23, 2012 2:37:09 PM org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring root WebApplicationContext
    14:37:09,361 WARN [pool-2-thread-1][FileChecker:256] Attempted to read file global-configuration.properties
    14:37:09,363 WARN [pool-2-thread-1][FileChecker:256] Attempted to read file ./service-ext.properties
    Loading file:/opt/liferay/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/liferayGoogleAnalytics-portlet/WEB-INF/classes/service.properties
    14:37:09,396 ERROR [pool-2-thread-1][PortletApplicationContext:145] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator] n
    ot found
    Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
    Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator] not found
    Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
    Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
    at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
    at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
    at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
    at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
    at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinit

    .... A lot more lines here, please let me know if you need the complete log..

    TIA,
    Marcelo

    1 Answers

    0
    Answered - Oct 24, 2012, 06:21 PM
    (Edited)
    nobody? am i the only one who have problems with the security manager plugin or i just posting in the wrong place?

    TIA,
    Marcelo
    Replied - Oct 30, 2012, 07:30 AM
    (Edited)
    Hi Marcelo:
    I answered here
    Regards,
    Juan
    Replied - Oct 30, 2012, 01:50 PM
    (Edited)
    Hi Juan,

    Thanks a lot for your answer, i will test it right now.
    BTW, i have already read that info many times but i haven't found all answers i needed.

    I will let you know if everything go well or not!!

    Cheers,
    Marcelo