ICEfaces
  1. ICEfaces
  2. ICE-9356

The showcase-portlet app is specifically configured to run with Mojarra and fails with MyFaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      MyFaces portal portlet
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Remove the following listeners (that are included to fix a Mojarra problem) from the web.xml file:

          <!-- Specifying these listeners in this order as per http://issues.liferay.com/browse/FACES-1511.
               This is a fix for Mojarra. To run with MyFaces, remove thiese listeners. -->
          <listener>
           <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
          </listener>

          <listener>
           <listener-class>com.liferay.faces.bridge.servlet.BridgeSessionListener</listener-class>
          </listener>
      Show
      Remove the following listeners (that are included to fix a Mojarra problem) from the web.xml file:     <!-- Specifying these listeners in this order as per http://issues.liferay.com/browse/FACES-1511 .          This is a fix for Mojarra. To run with MyFaces, remove thiese listeners. -->     <listener>      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>     </listener>     <listener>      <listener-class>com.liferay.faces.bridge.servlet.BridgeSessionListener</listener-class>     </listener>

      Description

      Deploying the showcase-portlet sample application to Liferay fails due to the following:

      java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
      at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525)
      at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507)
      at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:124)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4715)
      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:680)

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: