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

Console throws InvokerFilterHelper error when deploying OpenSocial lpkg

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.30 EE GA3
    • Fix Version/s: 6.1.X EE, 6.2.0 CE RC6
    • Component/s: Open Social
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.1.30 EE GA3.
      Plugins 6.1.20 EE GA3 Git ID: e99f05f6d1f2e5ab197163be5424b06abb7c885b.

      Description

      Console displays errors when deploying the OpenSocial lpkg.

      Steps to reproduce:

      1. Start server
      2. Deploy OpenSocial lpkg

      Expected result:
      OpenSocial should be deployed without errors being thrown in console.

      Actual result:
      Console shows InvokerFilterHelper error.

      Console output:

      23:43:22,826 ERROR [localhost-startStop-3][InvokerFilterHelper:199] Unable to initialize filter com.liferay.opensocial.shindig.servlet.AuthenticationServletFilter
      javax.servlet.UnavailableException: Guice Injector not found! Make sure you registered org.apache.shindig.common.servlet.GuiceServletContextListener as a listener
              at org.apache.shindig.common.servlet.InjectedFilter.init(InjectedFilter.java:42)
              at com.liferay.opensocial.shindig.servlet.AuthenticationServletFilter.init(AuthenticationServletFilter.java:67)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.getFilter(InvokerFilterHelper.java:194)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.initFilter(InvokerFilterHelper.java:231)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.readLiferayFilterWebXML(InvokerFilterHelper.java:322)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doPortalInit(InvokerFilter.java:151)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
              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:54)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:94)
              at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
              at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
              at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
              at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
              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)
      23:43:22,834 ERROR [localhost-startStop-3][InvokerFilterHelper:199] Unable to initialize filter com.liferay.opensocial.shindig.servlet.ShindigFilter
      javax.servlet.UnavailableException: Guice Injector not found! Make sure you registered org.apache.shindig.common.servlet.GuiceServletContextListener as a listener
              at org.apache.shindig.common.servlet.InjectedFilter.init(InjectedFilter.java:42)
              at com.liferay.opensocial.shindig.servlet.ShindigFilter.init(ShindigFilter.java:105)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.getFilter(InvokerFilterHelper.java:194)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.initFilter(InvokerFilterHelper.java:231)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.readLiferayFilterWebXML(InvokerFilterHelper.java:322)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doPortalInit(InvokerFilter.java:151)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
              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:54)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:94)
              at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
              at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
              at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
              at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
              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)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 12 weeks, 2 days ago

                Packages

                Version Package
                6.1.X EE
                6.2.0 CE RC6