[jboss-user] [JBoss Portal] - Using JbossPortletBridge with MyFaces

rohit000 do-not-reply at jboss.com
Tue Apr 22 19:00:44 EDT 2008


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 ?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145999#4145999

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145999



More information about the jboss-user mailing list