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

WSRP Bean locator exceptions at deployment

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.1.30 EE GA3, 6.2.0 CE M2
    • Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M2
    • Labels:
      None
    • Environment:
    • Fix Priority:
      4

      Description

      1. Deploy WSRP portlet

      07:37:41,225 ERROR [pool-2-thread-2][PortletBeanLocatorUtil:38] BeanLocator is null for servlet context wsrp-portlet
      07:37:41,227 ERROR [pool-2-thread-2][WSRPServletContextListener:50] Unable to initialize WSRP consumer portlets
      com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context wsrp-portlet
      	at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:42)
      	at com.liferay.wsrp.service.WSRPConsumerPortletLocalServiceUtil.getService(WSRPConsumerPortletLocalServiceUtil.java:386)
      	at com.liferay.wsrp.service.WSRPConsumerPortletLocalServiceUtil.initWSRPConsumerPortlets(WSRPConsumerPortletLocalServiceUtil.java:369)
      	at com.liferay.wsrp.servlet.WSRPServletContextListener.doPortalInit(WSRPServletContextListener.java:47)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
      	at com.liferay.wsrp.servlet.WSRPServletContextListener.contextInitialized(WSRPServletContextListener.java:36)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListener(SecurePluginContextListener.java:333)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListeners(SecurePluginContextListener.java:157)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.doInvokeDeploy(ServletContextListenerHotDeployListener.java:66)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:34)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
      	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:64)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:145)
      	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)
      07:37:41,625 INFO  [pool-2-thread-2][HookHotDeployListener:550] Registering hook for wsrp-portlet
      07:37:41,643 INFO  [pool-2-thread-2][UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.UpgradeProcess_1_0_0
      07:37:41,645 INFO  [pool-2-thread-2][UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_0_0.UpgradeWSRPConsumer
      07:37:41,652 INFO  [pool-2-thread-2][UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_0_0.UpgradeWSRPConsumerPortlet
      07:37:41,662 INFO  [pool-2-thread-2][UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_0_0.UpgradeWSRPProducer
      07:37:41,668 INFO  [pool-2-thread-2][UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.UpgradeProcess_1_1_0
      07:37:41,670 INFO  [pool-2-thread-2][UpgradeProcess:207] Upgrading com.liferay.wsrp.hook.upgrade.v1_1_0.UpgradeUuid
      07:37:41,681 INFO  [pool-2-thread-2][HookHotDeployListener:690] Hook for wsrp-portlet is available for use
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tammy.fong Tammy Fong (Inactive)
                Reporter:
                tammy.fong Tammy Fong (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 10 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M2