Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28223

PACL: Console error when WSRP-portlet is deployed with PACL enabled

    Details

      Description

      1. Deploy test-pacl, flash, chat portlets
      2. Deploy wrsp portlet and jsr286-demo-portlet

      See the following console error:

      10:00:54,869 INFO  [HotDeployImpl:164] Deploying wsrp-portlet from queue
      10:00:54,871 INFO  [PluginPackageUtil:1031] Reading plugin package for wsrp-portlet
      10:00:55,015 INFO  [ServiceComponentLocalServiceImpl:271] Running WSRP SQL scripts
      10:00:55,519 ERROR [PortletApplicationContext:150] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [org.springframework.jmx.export.MBeanExporter] not found
      Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/management-spring.xml]
      Bean 'monitoringMBeanExporter'; nested exception is java.lang.ClassNotFoundException: org.springframework.jmx.export.MBeanExporter
      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [org.springframework.jmx.export.MBeanExporter] not found
      Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/management-spring.xml]
      Bean 'monitoringMBeanExporter'; nested exception is java.lang.ClassNotFoundException: org.springframework.jmx.export.MBeanExporter
      	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.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
      	at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
      	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
      	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
      	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
      	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
      	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
      	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
      	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
      	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
      	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
      	at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:139)
      	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
      	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
      	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
      	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
      	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
      	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      	at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:98)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:82)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:41)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:169)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:93)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:63)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:55)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
      	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
      	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.ClassNotFoundException: org.springframework.jmx.export.MBeanExporter
      	at java.lang.ClassLoader.findClass(ClassLoader.java:358)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at com.liferay.portal.kernel.util.PreloadClassLoader.loadClass(PreloadClassLoader.java:41)
      	at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
      	at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
      	at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
      	at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
      	... 48 more
      10:00:56,221 INFO  [HookHotDeployListener:539] Registering hook for wsrp-portlet
      10:00:56,242 INFO  [UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.UpgradeProcess_1_0_0
      10:00:56,244 INFO  [UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_0_0.UpgradeWSRPConsumer
      10:00:56,257 INFO  [UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_0_0.UpgradeWSRPConsumerPortlet
      10:00:56,276 INFO  [UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_0_0.UpgradeWSRPProducer
      10:00:56,285 INFO  [UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.UpgradeProcess_1_1_0
      10:00:56,288 INFO  [UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_1_0.UpgradeUuid
      10:00:56,296 INFO  [HookHotDeployListener:679] Hook for wsrp-portlet is available for use
      10:02:15,687 INFO  [PluginPackageUtil:1414] Checking for available updates
      10:02:15,693 INFO  [PluginPackageUtil:1458] Finished checking for available updates in 5 ms

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 18 weeks, 2 days ago

                Packages

                Version Package
                6.1.20 EE GA2
                --Sprint 11/12
                6.2.0 CE M2