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
BTW, i already wrongly posted this
here but i am doing it again cos i didn't get any answer. I hope this time i can get something.
Por favor, faça login para denunciar.