0 Replies Latest reply on Apr 22, 2008 7:00 PM by Sourav Mazumder

    Using JbossPortletBridge with MyFaces

    Sourav Mazumder Newbie

      Tried using JBossPortletBridge with MyFaces. Encountering MyFaces version problem.

      Here is the scenario -

      a) All the built on JBoss Portal applications, which come with JBoss Portal Server (portal-admin.sar, portal-identity.sar etc), works with MyFaces 1.1.5 (configured using the instruction provided in http://wiki.jboss.org/wiki/en/Running2.6WithJBossAS4.2.xAndMyFaces?action=e&windowstate=normal&mode=view

      b) The test portlet I'm trying to build using jbossportletbridge, uses MyFaces 1.2.2 jar files available in its own /WEB-INF/lib folder.

      c) The test portlet fails to initialize due to the version clash of MyFaces. The error it throws is -
      Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
      java.lang.LinkageError: loader constraints violated when linking javax/el/ELContextListener class

      d) I followed all the instructions provided in http://www.jboss.org/files/portletbridge/docs/1.0.0.B2/en/html_single/index.html

      e) Didn't try to move the existing default JBoss Portal applications (portal-admin.sar, portal-identity.sar etc.) to 1.2.2 as that needs lots of changes in them.

      Any idea how to resolve this issue ?