cancel
Showing results for 
Search instead for 
Did you mean: 

two JSF implementations - jboss 4.2.0 error

robertoroberto
Champ in-the-making
Champ in-the-making
I have configured alfresco to work on jboss 4.2.0

I have configured web.xml with
<context-param>
              <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
              <param-value>true</param-value>
</context-param>

Alfresco deployment works fine. But when I start the web client

I have this
ERROR [shared_impl.config.MyFacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.

Please help me.
3 REPLIES 3

slickshow
Champ in-the-making
Champ in-the-making
I ran into the exact same issue and practically cannot click on anything on the web client. The issue is the conflict with MyFaces in alfresco.war and the JSF implementation jars in jbossweb-deployer. The web.xml context param you specified eliminated this problem with Alfresco 2.0.1 when deployed on JBoss 4.2, but not for Alfresco 2.1.

An earlier post in this forum mentioned to upgrade what is in JBoss to what is in alfresco.war and remove it from alfresco.war. When I tried that it would not even deploy the default apps in JBoss.

Has anyone successfully deployed Alfresco 2.1 on JBoss 4.2? If so, please share your configs.

Thanks.

lakshmi
Champ in-the-making
Champ in-the-making
Hi,

I too get the same

[ERROR] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.

when i deploy alfresco 2.1 war in JBoss 4.2.

Also when i try to do any operations on UI i get the perm space
ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space

Has anybody been successful with Alfresco 2.1 + Jboss 4.2??

Thanks,
Lakshmi

kevinr
Star Contributor
Star Contributor
Please read these additional instructions:
http://wiki.alfresco.com/wiki/Install_On_Jboss_4.2.0