Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Marcelo Aberastain
Marketplace & Enabling Security Manager Plugin & PACL
October 30, 2012 12:38 PM
Answer

Marcelo Aberastain

Rank: Junior Member

Posts: 32

Join Date: December 12, 2011

Recent Posts

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
Marcelo Aberastain
RE: Marketplace & Enabling Security Manager Plugin & PALC
October 24, 2012 11:22 AM
Answer

Marcelo Aberastain

Rank: Junior Member

Posts: 32

Join Date: December 12, 2011

Recent Posts

nobody? am i the only one who have problems with the security manager plugin or i just posting in the wrong place?

TIA,
Marcelo
Juan Fernández
RE: Marketplace & Enabling Security Manager Plugin & PALC
October 30, 2012 12:30 AM
Answer

Juan Fernández

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1227

Join Date: October 2, 2008

Recent Posts

Hi Marcelo:
I answered here
Regards,
Juan
Marcelo Aberastain
RE: Marketplace & Enabling Security Manager Plugin & PALC
October 30, 2012 6:50 AM
Answer

Marcelo Aberastain

Rank: Junior Member

Posts: 32

Join Date: December 12, 2011

Recent Posts

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