Vista combinada Visión Plana Vista de árbol
toggle
Marcelo Aberastain
Marketplace & Enabling Security Manager Plugin & PACL
30 de octubre de 2012 12:38
Respuesta

Marcelo Aberastain

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 12 de diciembre de 2011

Mensajes recientes

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.
Juan Fernández
RE: Marketplace & Enabling Security Manager Plugin & PALC
30 de octubre de 2012 0:28
Respuesta

Juan Fernández

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 2 de octubre de 2008

Mensajes recientes

Hi Marcelo!
Last week I spent some time implementing PACL for a plugin of mine, so I went to the whole process. I hope I can help you

Marcelo Aberastain:

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.


You don't need to restart Liferay everytime you change your plugin's properties, you just need to redeploy the plugin: that's enough. This will speed your process up (like crazy emoticon)

Marcelo Aberastain:

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?


This is completely normal: you are getting security errors every time you try to perform some non-declared action. In your case:

Marcelo Aberastain:

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


This is complaining because you didn't declare you wanted to read those configuration files, so you need to add a line similar to this (these are my plugin's file security directives):

1
2security-manager-files-read=\
3    ${java.io.tmpdir}${file.separator}-,\
4    ${liferay.web.portal.dir}${file.separator}html${file.separator}taglib${file.separator}-,\
5    ${liferay.web.portal.dir}${file.separator}html${file.separator}themes${file.separator}-

...

Marcelo Aberastain:

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] not found


This is a Bean Property Security issue: like I said before you need to declare all beans you're using by adding this directive (again an example of mine):

1security-manager-get-bean-property=\
2    com.liferay.portal.kernel.bean.PortalBeanLocatorUtil,\
3    com.liferay.portal.kernel.cache.CacheRegistryUtil,\
4    com.liferay.portal.kernel.cache.key.CacheKeyGeneratorUtil,\
5    com.liferay.portal.kernel.dao.db.DBFactoryUtil

...

I strongly recommend you to read this chapter in the development guide: Plugin Security Management as there are a lot of real examples that might serve you well.

Don't hesitate in asking for help: I'll try to solve your issues when they appear.
Regards,
Juan
Marcelo Aberastain
RE: Marketplace & Enabling Security Manager Plugin & PALC
30 de octubre de 2012 12:28
Respuesta

Marcelo Aberastain

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 12 de diciembre de 2011

Mensajes recientes

Juan,

Please, see my comments below..

Juan:


Marcelo Aberastain:

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


This is complaining because you didn't declare you wanted to read those configuration files, so you need to add a line similar to this (these are my plugin's file security directives):

1
2security-manager-files-read=\
3    ${java.io.tmpdir}${file.separator}-,\
4    ${liferay.web.portal.dir}${file.separator}html${file.separator}taglib${file.separator}-,\
5    ${liferay.web.portal.dir}${file.separator}html${file.separator}themes${file.separator}-

...
Juan,


I have added to the security-manager-files-read all settings file i have found but i still get the same error. I also added them to the execute and write sections just in case. I have two questions about this:
1) Where you defined those variables like ${java.io.tmpdir} , ${liferay.web.portal.dir}$, etc. Are they LR default ones? (sorry if it is a stupid question)
2) Are the paths to the files relatives from where the liferay-plugin-package.properties file is ? (according to the documentation it could be both, relative or specific but non of them are working for me. BTW, after the plugin is installed my liferay-plugin-package.properties is under liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/myportlet-portlet/WEB-INF. Is this right?

TIA,



Juan:


Marcelo Aberastain:

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] not found


This is a Bean Property Security issue: like I said before you need to declare all beans you're using by adding this directive (again an example of mine):

1security-manager-get-bean-property=\
2    com.liferay.portal.kernel.bean.PortalBeanLocatorUtil,\
3    com.liferay.portal.kernel.cache.CacheRegistryUtil,\
4    com.liferay.portal.kernel.cache.key.CacheKeyGeneratorUtil,\
5    com.liferay.portal.kernel.dao.db.DBFactoryUtil

...


I had declared many beans but i still don't find the right one. Do you have a tip to find the right line to put in the get-bean/set-bean section from the error output?
I mean, i can tell this is not the case
1
2security-manager-get-bean-property=\
3com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator


Thanks in advance Juan, you are the only one helping here!
Anónimo
RE: Marketplace & Enabling Security Manager Plugin & PALC
22 de noviembre de 2012 9:02
Respuesta

Anónimo

Hi Marcelo,

Marcelo:

I have added to the security-manager-files-read all settings file i have found but i still get the same error. I also added them to the execute and write sections just in case. I have two questions about this:
1) Where you defined those variables like ${java.io.tmpdir} , ${liferay.web.portal.dir}$, etc. Are they LR default ones? (sorry if it is a stupid question)


I saw that for example java.io.tmpdir can be defined in JAVA_OPTS.

Marcelo:

2) Are the paths to the files relatives from where the liferay-plugin-package.properties file is ? (according to the documentation it could be both, relative or specific but non of them are working for me. BTW, after the plugin is installed my liferay-plugin-package.properties is under liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/myportlet-portlet/WEB-INF. Is this right?

Yes, the file paths can be either relative or absolute. That's correct, liferay-plugin-package.properties is in the portlet's WEB-INF directory.

Marcelo:

I had declared many beans but i still don't find the right one. Do you have a tip to find the right line to put in the get-bean/set-bean section from the error output?


This thread might help you regarding the missing beans:
http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/17880131

Cheers,
Gábor
Florencia Gadea
RE: Marketplace & Enabling Security Manager Plugin & PALC
14 de diciembre de 2012 7:17
Respuesta

Florencia Gadea

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 27 de marzo de 2012

Mensajes recientes

Hi Everyone,

I'm having exactly the same exception that Marcelo:

1 Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
2org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator] not found
3Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
4Bean ''; nested exception is java.lang.ClassNotFoundException:


I applied all of your suggestions and still haven't been able to solve that issue. Not even debugging.

Here is my liferay-plugin-package.properties:

 1security-manager-enabled=true
 2
 3security-manager-class-loader-reference-ids=\ VideoChat-portlet
 4
 5security-manager-files-read=\
 6${java.io.tmpdir}${file.separator}-,\
 7${liferay.web.portal.dir}${file.separator}html${file.separator}taglib${file.separator}-,\
 8${liferay.web.portal.dir}${file.separator}html${file.separator}themes${file.separator}-
 9
10security-manager-files-write=${java.io.tmpdir}${file.separator}-
11
12security-manager-search-engine-ids=\ SYSTEM_ENGINE
13
14security-manager-get-bean-property=\
15com.liferay.portal.util.PortalUtil,\
16com.liferay.portal.kernel.deploy.hot.HotDeployUtil,\
17com.liferay.portal.kernel.portlet.PortletClassLoaderUtil,\
18com.liferay.portal.kernel.util.PropsUtil,\
19com.liferay.portal.kernel.servlet.DirectRequestDispatcherFactoryUtil,\
20com.liferay.portal.kernel.cache.key.CacheKeyGeneratorUtil,\
21com.liferay.portal.kernel.servlet.DirectServletRegistryUtil,\
22com.liferay.portal.kernel.configuration.ConfigurationFactoryUtil,\
23com.liferay.portlet.PortletPreferencesFactoryUtil,\
24com.liferay.portal.kernel.dao.orm.EntityCacheUtil,\
25com.liferay.portal.kernel.cache.CacheRegistryUtil,\
26com.liferay.portal.kernel.dao.shard.ShardUtil,\
27com.liferay.portal.kernel.staging.LayoutStagingUtil,\
28com.liferay.portal.kernel.dao.db.DBFactoryUtil,\
29com.liferay.portal.kernel.dao.orm.FinderCacheUtil,\
30com.liferay.portal.security.auth.AuthTokenUtil,\
31com.liferay.portal.kernel.util.HttpUtil,\
32com.liferay.portal.service.permission.PortletPermissionUtil,\
33com.liferay.portal.kernel.util.HtmlUtil,\
34com.liferay.portal.kernel.language.LanguageUtil,\
35com.liferay.portal.kernel.spring.util.SpringFactoryUtil,\
36com.liferay.portal.kernel.util.InfrastructureUtil,\
37com.liferay.portal.kernel.bean.PortalBeanLocatorUtil,\ 
38com.liferay.portal.kernel.util.LocaleUtil
39
40security-manager-services[portal]=\
41com.liferay.portal.service.GroupLocalService,\
42com.liferay.portal.service.PortletPreferencesLocalService,\
43com.liferay.portal.service.LayoutLocalService,\
44com.liferay.portal.service.LayoutSetLocalService


Any other suggestions?
Anónimo
RE: Marketplace & Enabling Security Manager Plugin & PALC
9 de enero de 2013 9:08
Respuesta

Anónimo

Hi Guys,

I have found some threads with similar exceptions you have:

http://www.liferay.com/community/forums/-/message_boards/message/11547984 - It was caused by API changes
http://www.liferay.com/it/community/forums/-/message_boards/message/14859622 - Bad plugin version (API change?)
http://www.liferay.com/de/web/jonas.yuan/blog/-/blogs/4410909 - Bad plugin version

http://issues.liferay.com/browse/LPS-28223
http://issues.liferay.com/browse/LPS-28555

http://issues.liferay.com/secure/attachment/33179/chat+fail.txt

What we have here might be slightly different, since your plugins work correctly without the security manager enabled.

Regards,
Gábor
Florencia Gadea
RE: Marketplace & Enabling Security Manager Plugin & PALC
20 de febrero de 2013 5:43
Respuesta

Florencia Gadea

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 27 de marzo de 2012

Mensajes recientes

Hi Gabor,

As you say, that problem is not related to ours, because our plugins work perfectly without the security manager enabled. We are still having this problem:

 113:18:13,053 WARN  [pool-2-thread-2][FileChecker:256] Attempted to read file /home/flor/global-configuration.properties
 213:18:13,055 WARN  [pool-2-thread-2][FileChecker:256] Attempted to read file /home/flor/service-ext.properties
 3Loading file:/home/flor/liferayProyects/liferay.6.1.1/bundles/tomcat-7.0.27/temp/1-VideoChat-portlet/WEB-INF/classes/service.properties
 413:18:13,095 ERROR [pool-2-thread-2][PortletApplicationContext:145] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator] n
 5ot found
 6Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
 7Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
 8org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator] not found
 9Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
10Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
11        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
12        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
13        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
14        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
15        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
16        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
17        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
18        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
19        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
20        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
21        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
22        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
23        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
24        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
25        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
26        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
27        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
28        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:134)
29        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
30        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)


Has anyone come to a solution to this?

Regards,
Flor.
Cameron McBride
RE: Marketplace & Enabling Security Manager Plugin & PALC
21 de febrero de 2013 12:55
Respuesta

Cameron McBride

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 11 de julio de 2012

Mensajes recientes

This will fix the two PACL warnings:

global-configuration.properties,\
service.properties,\
${user.home}${file.separator}-,\
Florencia Gadea
RE: Marketplace & Enabling Security Manager Plugin & PALC
22 de febrero de 2013 4:33
Respuesta

Florencia Gadea

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 27 de marzo de 2012

Mensajes recientes

Hi Cameron,

Thanks, but that did not solve the problem.

Regards,

Flor.
Raymond Augé
RE: Marketplace & Enabling Security Manager Plugin & PACL
22 de febrero de 2013 7:40
Respuesta

Raymond Augé

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 7 de febrero de 2005

Mensajes recientes

Florencia, is there any more stack trace than that?

The fragment you posted is suspiciously short. Whenever we see a spring context initialization failures the stacktraces are typically thousands of lines long with the real cause being the very last. Can you make sure to post it fully?

btw, I'm quite certain this is related to either the reflection bug, the environment properties bug, or the classloader bugs we're working on.
Florencia Gadea
RE: Marketplace & Enabling Security Manager Plugin & PACL
25 de febrero de 2013 4:14
Respuesta

Florencia Gadea

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 27 de marzo de 2012

Mensajes recientes

Hi Ray,

Sorry, I don't know why it didn't get fully pasted:

Here it is the whole stack trace:

  1Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
  2Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
  3org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator] not found
  4Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
  5Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
  6        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
  7        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
  8        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
  9        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
 10        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
 11        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
 12        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
 13        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
 14        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
 15        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
 16        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
 17        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
 18        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
 19        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
 20        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
 21        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
 22        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
 23        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:134)
 24        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
 25        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
 26        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
 27        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
 28        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
 29        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
 30        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 31        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
 32        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
 33        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
 34        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
 35        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
 36        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
 37        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
 38        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
 39        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
 40        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
 41        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
 42        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
 43        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
 44        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
 45        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
 46        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
 47        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 48        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
 49        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
 50        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
 51        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
 52        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
 53        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 54        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 55        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 56        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 57        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 58        at java.lang.Thread.run(Thread.java:679)
 59Caused by: java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator
 60        at java.lang.ClassLoader.findClass(ClassLoader.java:373)
 61        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 62        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 63        at com.liferay.portal.kernel.util.PreloadClassLoader.loadClass(PreloadClassLoader.java:41)
 64        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
 65        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
 66        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
 67        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
 68        ... 49 more
 6911:49:57,605 ERROR [pool-2-thread-2][PortletApplicationContext:145] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.hibernate.PortletHibernateConfiguration] not found
 70Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]
 71Bean 'liferayHibernateSessionFactory'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.hibernate.PortletHibernateConfiguration
 72org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.hibernate.PortletHibernateConfiguration] not found
 73Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]
 74Bean 'liferayHibernateSessionFactory'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.hibernate.PortletHibernateConfiguration
 75        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
 76        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
 77        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
 78        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
 79        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
 80        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
 81        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
 82        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
 83        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
 84        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
 85        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
 86        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
 87        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
 88        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
 89        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
 90        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
 91        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
 92        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:134)
 93        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
 94        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
 95        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
 96      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
 97        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
 98        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
 99        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
100        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
101        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
102        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
103        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
104        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
105        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
106        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
107        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
108        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
109        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
110        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
111        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
112        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
113        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
114        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
115        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
116        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
117        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
118        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
119        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
120        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
121        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
122        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
123        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
124        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
125        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
126        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
127        at java.lang.Thread.run(Thread.java:679)
128Caused by: java.lang.ClassNotFoundException: com.liferay.portal.spring.hibernate.PortletHibernateConfiguration
129        at java.lang.ClassLoader.findClass(ClassLoader.java:373)
130        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
131        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
132        at com.liferay.portal.kernel.util.PreloadClassLoader.loadClass(PreloadClassLoader.java:41)
133        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
134        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
135        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
136        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
137        ... 49 more
13811:49:57,644 ERROR [pool-2-thread-2][PortletApplicationContext:145] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ChainableMethodAdviceInjector] not found
139Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/cluster-spring.xml]
140Bean 'com.liferay.portal.spring.aop.ChainableMethodAdviceInjector'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ChainableMethodAdviceInjector
141org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.aop.ChainableMethodAdviceInjector] not found
142Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/cluster-spring.xml]
143Bean 'com.liferay.portal.spring.aop.ChainableMethodAdviceInjector'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ChainableMethodAdviceInjector
144        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
145        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
146        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
147        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
148        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
149        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
150        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
151        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
152        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
153        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
154        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
155        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
156        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
157        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
158        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
159        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
160        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
161        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:134)
162        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
163        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
164        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
165        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
166        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
167        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
168        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
169        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
170        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
171        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
172        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
173        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
174        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
175        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
176        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
177        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
178        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
179        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
180        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
181        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
182        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
183        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
184        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
185        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
186        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
187        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
188        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
189        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
190        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
191        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
192        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
193        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
194        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
195        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
196        at java.lang.Thread.run(Thread.java:679)
197Caused by: java.lang.ClassNotFoundException: com.liferay.portal.spring.aop.ChainableMethodAdviceInjector
198        at java.lang.ClassLoader.findClass(ClassLoader.java:373)
199        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
200        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
201        at com.liferay.portal.kernel.util.PreloadClassLoader.loadClass(PreloadClassLoader.java:41)
202        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
203        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
204        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
205        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
206        ... 49 more
20711:49:57,698 ERROR [pool-2-thread-2][PortletApplicationContext:145] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor] not found
208Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/dynamic-data-source-spring.xml]
209Bean 'transactionAdvice'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor
210org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor] not found
211Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/dynamic-data-source-spring.xml]
212Bean 'transactionAdvice'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor
213        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
214        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
215        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
216        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
217        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
218        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
219        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
220        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
221        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
222        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
223        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
224        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
225        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
226        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
227        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
228        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
229        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
230        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:134)
231        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
232        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
233        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
234        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
235        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
236        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
237        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
238        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
239        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
240        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
241        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
242        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
243        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
244        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
245        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
246        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
247        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
248        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
249        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
250        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
251        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
252        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
253        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
254        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
255        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
256        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
257        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
258        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
259        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
260        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
261        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
262        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
263        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
264        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
265        at java.lang.Thread.run(Thread.java:679)
266Caused by: java.lang.ClassNotFoundException: com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor
267        at java.lang.ClassLoader.findClass(ClassLoader.java:373)
268        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
269        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
270        at com.liferay.portal.kernel.util.PreloadClassLoader.loadClass(PreloadClassLoader.java:41)
271        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
272        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
273        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
274        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
275        ... 49 more
27611:49:57,721 ERROR [pool-2-thread-2][PortletApplicationContext:145] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.dao.shard.advice.ShardAdvice] not found
277Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/shard-data-source-spring.xml]
278Bean 'com.liferay.portal.dao.shard.advice.ShardAdvice'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.dao.shard.advice.ShardAdvice
279org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.dao.shard.advice.ShardAdvice] not found
280Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/shard-data-source-spring.xml]
281Bean 'com.liferay.portal.dao.shard.advice.ShardAdvice'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.dao.shard.advice.ShardAdvice
282        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
283        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
284        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
285        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
286        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
287        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
288        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
289        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
290        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
291        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
292        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
293        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
294        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
295        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
296        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
297        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
298        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
299        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:134)
300        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
301        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
302        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
303        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
304        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
305        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
306        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
307        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
308        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
309        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
310        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
311        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
312        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
313        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
314        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
315        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
316        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
317        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
318        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
319        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
320        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
321        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
322        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
323        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
324        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
325        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
326        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
327        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
328        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
329        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
330        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
331        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
332        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
333        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
334        at java.lang.Thread.run(Thread.java:679)
335Caused by: java.lang.ClassNotFoundException: com.liferay.portal.dao.shard.advice.ShardAdvice
336        at java.lang.ClassLoader.findClass(ClassLoader.java:373)
337        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
338        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
339        at com.liferay.portal.kernel.util.PreloadClassLoader.loadClass(PreloadClassLoader.java:41)
340        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
341        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
342        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
343        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
344        ... 49 more
34511:49:57,755 ERROR [pool-2-thread-2][ContextLoader:227] Context initialization failed
346org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
347        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
348        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
349        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
350        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
351        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
352        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
353        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
354        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
355        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
356        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
357        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
358        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
359        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
360        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
361        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
362        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
363        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
364        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
365        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
366        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
367        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
368        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
369        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
370        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
371        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
372        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
373        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
374        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
375        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
376        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
377        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
378        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
379        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
380        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
381       at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
382        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
383        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
384        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
385        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
386        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
387        at java.lang.Thread.run(Thread.java:679)
388Caused by: java.lang.NullPointerException
389        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:909)
390        at com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl.register(PersistedModelLocalServiceRegistryImpl.java:64)
391        at com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil.register(PersistedModelLocalServiceRegistryUtil.java:56)
392        at com.rcs.service.service.base.ChatRoomLocalServiceBaseImpl.afterPropertiesSet(ChatRoomLocalServiceBaseImpl.java:557)
393        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
394        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
395        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
396        at java.lang.reflect.Method.invoke(Method.java:616)
397        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$7.run(AbstractAutowireCapableBeanFactory.java:1533)
398        at java.security.AccessController.doPrivileged(Native Method)
399        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1531)
400        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
401        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
402        ... 40 more
40311:49:57,756 ERROR [pool-2-thread-2][HotDeployImpl:191] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error initializing Spring for VideoChat-portlet
404com.liferay.portal.kernel.deploy.hot.HotDeployException: Error initializing Spring for VideoChat-portlet
405        at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
406        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:43)
407        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
408        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
409        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
410        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
411        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
412        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
413        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
414        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
415        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
416        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
417        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
418        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
419        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
420        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
421        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
422        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
423        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
424        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
425        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
426        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
427        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
428        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
429        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
430        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
431        at java.lang.Thread.run(Thread.java:679)
432Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
433        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
434        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
435        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
436        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
437        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
438        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
439        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
440        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
441        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
442        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
443        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
444        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
445        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
446        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
447        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
448        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
449        ... 25 more
450Caused by: java.lang.NullPointerException
451        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:909)
452        at com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl.register(PersistedModelLocalServiceRegistryImpl.java:64)
453        at com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil.register(PersistedModelLocalServiceRegistryUtil.java:56)
454        at com.rcs.service.service.base.ChatRoomLocalServiceBaseImpl.afterPropertiesSet(ChatRoomLocalServiceBaseImpl.java:557)
455        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
456        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
457        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
458        at java.lang.reflect.Method.invoke(Method.java:616)
459        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$7.run(AbstractAutowireCapableBeanFactory.java:1533)
460        at java.security.AccessController.doPrivileged(Native Method)
461        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1531)
462        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
463        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
464        ... 40 more
46511:49:58,198 INFO  [DispatcherPortlet:102] Initializing portlet 'VideoChat'
46611:49:58,233 INFO  [DispatcherPortlet:263] FrameworkPortlet 'VideoChat': initialization started
46711:49:58,239 ERROR [DispatcherPortlet:276] Context initialization failed
468org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
469        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
470        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
471        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
472        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
473        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
474        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
475      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
476        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
477        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
478        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
479        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
480        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
481        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
482        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
483        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
484        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
485        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
486        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
487        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
488        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
489        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
490        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
491        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
492        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
493        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
494        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
495        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
496        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
497        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
498        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
499        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
500        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
501        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
502        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
503        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
504        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
505        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
506        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
507        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
508        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
509        at java.lang.Thread.run(Thread.java:679)
510Caused by: java.lang.NullPointerException
511        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:909)
512        at com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl.register(PersistedModelLocalServiceRegistryImpl.java:64)
513        at com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil.register(PersistedModelLocalServiceRegistryUtil.java:56)
514        at com.rcs.service.service.base.ChatRoomLocalServiceBaseImpl.afterPropertiesSet(ChatRoomLocalServiceBaseImpl.java:557)
515        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
516        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
517        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
518        at java.lang.reflect.Method.invoke(Method.java:616)
519        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$7.run(AbstractAutowireCapableBeanFactory.java:1533)
520        at java.security.AccessController.doPrivileged(Native Method)
521        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1531)
522        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
523        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
524        ... 40 more
52511:49:58,241 ERROR [pool-2-thread-2][PortletBagFactory:313] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
526org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
527        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
528        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
529        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
530        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
531        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
532        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
533        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
534        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
535        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
536        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
537        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
538        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
539        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
540        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
541        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
542        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
543        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
544        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
545        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
546        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
547        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
548        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
549        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
550        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
551        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
552        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
553        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
554        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
555        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
556        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
557        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
558        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
559        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
560        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
561        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
562        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
563        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
564        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
565        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
566        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
567        at java.lang.Thread.run(Thread.java:679)
568Caused by: java.lang.NullPointerException
569       at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:909)
570        at com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl.register(PersistedModelLocalServiceRegistryImpl.java:64)
571        at com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil.register(PersistedModelLocalServiceRegistryUtil.java:56)
572        at com.rcs.service.service.base.ChatRoomLocalServiceBaseImpl.afterPropertiesSet(ChatRoomLocalServiceBaseImpl.java:557)
573        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
574        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
575        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
576        at java.lang.reflect.Method.invoke(Method.java:616)
577        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$7.run(AbstractAutowireCapableBeanFactory.java:1533)
578        at java.security.AccessController.doPrivileged(Native Method)
579        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1531)
580        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
581        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
582        ... 40 more
58311:49:58,243 INFO  [DispatcherPortlet:102] Initializing portlet 'VideoChat'
58411:49:58,243 INFO  [DispatcherPortlet:263] FrameworkPortlet 'VideoChat': initialization started
58511:49:58,243 ERROR [DispatcherPortlet:276] Context initialization failed
586org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
587        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
588        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
589        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
590        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
591        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
592        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
593        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
594        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
595        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
596        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
597        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
598        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
599        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
600        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
601        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
602        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
603        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
604        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
605        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
606        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
607        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
608        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
609        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
610        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
611        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
612        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
613        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
614        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
615        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
616     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
617        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
618        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
619        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
620        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
621        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
622        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
623        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
624        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
625        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
626        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
627        at java.lang.Thread.run(Thread.java:679)
628Caused by: java.lang.NullPointerException
629        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:909)
630        at com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl.register(PersistedModelLocalServiceRegistryImpl.java:64)
631        at com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil.register(PersistedModelLocalServiceRegistryUtil.java:56)
632        at com.rcs.service.service.base.ChatRoomLocalServiceBaseImpl.afterPropertiesSet(ChatRoomLocalServiceBaseImpl.java:557)
633        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
634        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
635        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
636        at java.lang.reflect.Method.invoke(Method.java:616)
637        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$7.run(AbstractAutowireCapableBeanFactory.java:1533)
638        at java.security.AccessController.doPrivileged(Native Method)
639        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1531)
640        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
641        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
642        ... 40 more
64311:49:58,244 ERROR [pool-2-thread-2][HotDeployImpl:191] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for VideoChat-portlet
644com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for VideoChat-portlet
645        at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
646        at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:123)
647        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
648        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
649        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
650        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
651        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.fireDeployEvent(SecurePluginContextListener.java:233)
652        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
653        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
654        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
655        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
656        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
657        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
658        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
659        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
660        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
661        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
662        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
663        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
664      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
665        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
666        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
667        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
668        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
669        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
670        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
671        at java.lang.Thread.run(Thread.java:679)
672Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rcs.service.service.ChatRoomLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
673        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
674        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
675        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
676        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
677        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
678        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
679        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
680        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
681        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
682        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
683        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
684        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
685        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
686        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
687        at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:77)
688        at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:40)
689        ... 25 more
690Caused by: java.lang.NullPointerException
691        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:909)
692        at com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl.register(PersistedModelLocalServiceRegistryImpl.java:64)
693        at com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil.register(PersistedModelLocalServiceRegistryUtil.java:56)
694        at com.rcs.service.service.base.ChatRoomLocalServiceBaseImpl.afterPropertiesSet(ChatRoomLocalServiceBaseImpl.java:557)
695        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
696        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
697        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
698        at java.lang.reflect.Method.invoke(Method.java:616)
699        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$7.run(AbstractAutowireCapableBeanFactory.java:1533)
700        at java.security.AccessController.doPrivileged(Native Method)
701        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1531)
702        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
703        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
704        ... 40 more


Regards,

Flor.
Pranay Sanam
RE: Marketplace & Enabling Security Manager Plugin & PACL
26 de diciembre de 2013 2:54
Respuesta

Pranay Sanam

Ranking: Youngling

Mensajes: 0

Fecha de incorporación: 14 de agosto de 2012

Mensajes recientes

Hi ,

Have you got any solution to this?

We are also facing the same issues for knowledge base portlet

Forums

To access the Developer Forum, please login to your Liferay.com account if you are already a registered developer or register to become a developer.