Following changes need to be done for upgrading JBoss AS 7.1.1 to JSF 2.2 :
(
You can find jars with associated module.xml file at URL: https://docs.google.com/file/d/0B251cC2F0UHzd2N1TEhIZFF4RlE/edit?usp=sharing
https://docs.google.com/file/d/0B251cC2F0UHzVGY0Umdya3A0amM/edit?usp=sharing
)
1. servlet- api:
a. Backup existing files in <jboss_home>/modules/javax/servlet/api/main directory into some other directory (e.g, old-main)
b. Copy javax.servlet-api-3.0.1.jar into <jboss_home>/modules/javax/servlet/api/main directory
(
You can find jars with associated module.xml file at URL: https://docs.google.com/file/d/0B251cC2F0UHzd2N1TEhIZFF4RlE/edit?usp=sharing
https://docs.google.com/file/d/0B251cC2F0UHzVGY0Umdya3A0amM/edit?usp=sharing
)
1. servlet- api:
a. Backup existing files in <jboss_home>/modules/javax/servlet/api/main directory into some other directory (e.g, old-main)
b. Copy javax.servlet-api-3.0.1.jar into <jboss_home>/modules/javax/servlet/api/main directory
2. Jstl-api:
a. Backup existing files in <jboss_home>modules/javax/servlet/jstl/api/main directory into some other directory (e.g, old-main)
b. Copy javax.servlet.jsp.jstl-api-1.2.1.jar into <jboss_home>/modules/javax/servlet/jstl/api/main directory
c. Create module.xml file inside <jboss_home>/modules/javax/servlet/jstl/api/main directory with the following contents:
3. jsf-api:
a. Backup existing files in <jboss_home>/modules/javax/faces/api/main directory into some other directory (e.g, old-main)
b. Copy jsf-api-2.2.1.jar into <jboss_home>/modules/javax/faces/api/main directory
c. Create module.xml file inside <jboss_home>/modules/javax/faces/api/main directory with the following contents:
4. jsf-impl:
a. Backup existing files in <jboss_home>/modules/com/sun/jsf-impl/main directory into some other directory (e.g, old-main)
b. Copy jsf-api-2.2.1.jar into <jboss_home>/modules/com/sun/jsf-impl/main directory
c. Create module.xml file inside <jboss_home>/modules/com/sun/jsf-impl/main directory with the following contents:
5. faces-config:
Replace starting tag of faces-config file with the following one:
<faces-config 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-facesconfig_2_2.xsd" version="2.2">
6. You can find recent jsf-2.2.x jars from https://maven.java.net/index.html#view-repositories;public~browsestorage
Visit https://community.jboss.org/message/756575 for more information. Thanks.