1 Reply Latest reply on Jun 24, 2011 1:16 PM by Stan Silvert

    How can I change default JSF implementation bundled with JBoss 5.1.0 ?

    stephan972 Newbie

      HI ,

       

        I have configured my web.xml like this :

       

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

          version="2.5">

          <display-name>record</display-name>

       

          <context-param>

              <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>

              <param-value>true</param-value>

          </context-param>

      (...)

       

      But when i deploy my war file to JBoss, JBoss prints this out :

       

      15:18:50,388 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/record'

       

      I have bundled a different JSF implementation in the war file but JBoss stilll uses its own implentation Mojarra 1.2

       

      What's going on ?

      Stephan

      --------------------

      JBoss AS : 5.1.0.GA

      Java version: 1.6.0_20

      OS-System: Windows XP 5.1,x86