フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Marcelo Aberastain
Marketplace & Enabling Security Manager Plugin & PACL
2012/10/30 12:38
答え

Marcelo Aberastain

ランク: Junior Member

投稿: 32

参加年月日: 2011/12/12

最近の投稿

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
2012/10/24 11:22
答え

Marcelo Aberastain

ランク: Junior Member

投稿: 32

参加年月日: 2011/12/12

最近の投稿

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
2012/10/30 0:30
答え

Juan Fernández

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1262

参加年月日: 2008/10/02

最近の投稿

Hi Marcelo:
I answered here
Regards,
Juan
Marcelo Aberastain
RE: Marketplace & Enabling Security Manager Plugin & PALC
2012/10/30 6:50
答え

Marcelo Aberastain

ランク: Junior Member

投稿: 32

参加年月日: 2011/12/12

最近の投稿

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