ICEfaces
  1. ICEfaces
  2. ICE-11051

Update chat-portlet example for Liferay 6.2, Liferay Faces Bridge 4.2.5

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.RC1
    • Fix Version/s: EE-4.1.0.GA, 4.2.BETA, 4.2
    • Labels:
      None
    • Environment:
      EE 4 trunk r. 48851, EE 4.1.1.BETA.tag r. 48851
      Server: Liferay6.2-ce-ga3/ Liferay6.2-ce-ga5
    • Assignee Priority:
      P2

      Description

      chat-portlet from EE4 trunk r 48851/ EE 4.1.1.Beta tag r 48851, cannot be installed on Liferay 6.2-ce-ga5/ Liferay 6.2-ce-ga3.
      The .war file was built using the /icefaces/lib/portlets/liferayfaces/liferay-faces-*-4.2.5-ga6.jar files from SVN.

      There are server errors when installing the .war file:

      INFO: Initializing Spring root WebApplicationContext
      18:59:39,681 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for chat-portlet
      18:59:39,701 ERROR [localhost-startStop-1][PortletBagFactory:411] java.lang.ClassNotFoundException: org.portletfaces.bri
      dge.GenericFacesPortlet
      java.lang.ClassNotFoundException: org.portletfaces.bridge.GenericFacesPortlet
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
              at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:408)
              at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:121)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257)
              at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
              at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
              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:652)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      18:59:39,712 ERROR [localhost-startStop-1][PortletBagFactory:340] javax.portlet.PortletException: java.lang.NullPointerE
      xception
      javax.portlet.PortletException: java.lang.NullPointerException
              at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63)
              at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225)
              at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145)
              at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41)
              at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:337)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257)
              at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
              at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
              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:652)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.NullPointerException
              at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169)
              at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56)
              ... 31 more
      18:59:39,740 ERROR [localhost-startStop-1][HotDeployImpl:233] com.liferay.portal.kernel.deploy.hot.HotDeployException: E
      rror registering portlets for chat-portletchat-portlet
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for chat-portletchat-portlet
              at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java
      :46)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:128)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257)
              at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
              at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
              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:652)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      Caused by: javax.portlet.PortletException: java.lang.NullPointerException
              at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63)
              at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225)
              at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145)
              at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortletApp(PortletHotDeployListener.java:622)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:377)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125)
              ... 25 more
      Caused by: java.lang.NullPointerException
              at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169)
              at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56)
              ... 31 more
      18:59:39,791 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying kaleo-web from queue
      18:59:39,794 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for kaleo-web
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties
      May 25, 2016 6:59:40 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties
      18:59:43,417 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for kaleo-web
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portal.properties
      18:59:43,451 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for kaleo-web is available for use
      May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\marketplace-por
      tlet has finished in 13,380 ms
      May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-portl
      et
      May 25, 2016 6:59:46 PM org.apache.catalina.startup.TldConfig execute
      INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l
      ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup
       time and JSP compilation time.
      18:59:46,380 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet

      18:59:46,381 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue
      18:59:46,382 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for notifications-portlet
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr
      operties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr
      operties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr
      operties
      May 25, 2016 6:59:46 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr
      operties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr
      operties
      18:59:46,775 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for notifications-portlet
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portal.pro
      perties
      18:59:47,039 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for notifications-portlet is available for us
      e
      18:59:47,042 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for notifications-portlet
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr
      operties
      18:59:47,201 INFO [localhost-startStop-1][PortletHotDeployListener:497] 2 portlets for notifications-portlet are availa
      ble for use
      May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-p
      ortlet has finished in 3,436 ms
      May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\opensocial-portlet
      May 25, 2016 6:59:54 PM org.apache.catalina.startup.TldConfig execute
      INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l
      ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup
       time and JSP compilation time.
      18:59:54,605 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin opensocial-portlet requires marketplace-portlet
      18:59:54,606 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying opensocial-portlet from queue
      18:59:54,607 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for opensocial-portlet
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties
      May 25, 2016 6:59:55 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties

        Activity

        Hide
        Carmen Cristurean added a comment - - edited

        From TestLink, last time when chat-portlet was tested successfully on Liferay 6.2 was for the EE-4.0.0.GA release.

        Show
        Carmen Cristurean added a comment - - edited From TestLink, last time when chat-portlet was tested successfully on Liferay 6.2 was for the EE-4.0.0.GA release.
        Hide
        Mircea Toma added a comment -

        Updated portlet base class defined in portlet.xml.

        Show
        Mircea Toma added a comment - Updated portlet base class defined in portlet.xml .
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-4.1.0 trunk r48882. Liferay6.2-ce-ga3/ Liferay6.2-ce-ga5, IE 11, FF 43, Chrome 50.

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-4.1.0 trunk r48882. Liferay6.2-ce-ga3/ Liferay6.2-ce-ga5, IE 11, FF 43, Chrome 50.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: