Uploaded image for project: 'PUBLIC - Liferay Maven'
  1. PUBLIC - Liferay Maven
  2. MAVEN-39

Incorrect FQCN for debug phase listener in JSF archetypes

    Details

      Description

      Similar to LPS-29049, when generating a new portlet project using any of the JSF portlet Maven archetypes, the following error will appear in the server log upon deployment:

      SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: 
      Source Document: jndi:/localhost/LiferayGA2-portlet/WEB-INF/faces-config.xml
      Cause: Unable to find class 'com.liferay.faces.bridge.lifecycle.BridgeDebugPhaseListener'
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
      

      The problem is the following markup in the WEB-INF/faces-config.xml file for each archetype:

      <phase-listener>com.liferay.faces.bridge.lifecycle.BridgeDebugPhaseListener</phase-listener>

      Instead, it should be:

      <phase-listener>com.liferay.faces.util.lifecycle.DebugPhaseListener</phase-listener>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neil.griffin Neil Griffin
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 11 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.1.2 CE GA3