Search code examples
jsf-1.2mojarratomee-7

How to get JSF (Mojarra) 1.2 working on TomEE 7 (Plus or PluME)?


I'm deploying a Java EE application using JSF (Mojarra) 1.2 and Seam 2.2.2. It works on JBoss EAP 7.0.0 and Oracle WebLogic 12.2.1. However I cannot get it working on TomEE 7.0.2 (Plus nor PluME).

Simple WEB application for problem reproduction is available here.

I will be very glad for any suggestion how to get Mojarra 1.2 working on TomEE 7 (any edition).


Solution

  • The problem is solved - JSF Mojarra 1.2 works on TomEE Plus 7.0.2 :)

    What is done

    Removal of the following libraries:

    • myfaces-api-2.2.11.jar
    • myfaces-impl-2.2.11.jar
    • openwebbeans-jsf-1.7.0.jar
    • tomee-mojarra-7.0.2.jar
    • tomee-myfaces-7.0.2.jar

    Addition of the following libraries (from Maven repo):

    • jsf-api-1.2_12.jar
    • jsf-impl-1.2_12.jar
    • openwebbeans-jsf12-1.6.3.jar
    • openwebbeans-el10-1.6.3.jar

    In addition some corrections of JSF pages were done to make them XHTML-compliant -- TomEE breaks rendering on incorrect XHTML (i.e. not closed tags) while other app servers don't have problem with that.