Quando eu usava o tom cat eu conseguia rodar meu projeto normalmente. Aí resolvir mudar para o JBOSS para poder ter mais facilidades. O problema é que a tag <rich:… não é reconhecida.
Exemplo:
No caso abaixo a palavra ‘teste’ é escrita e o resto é ignorado
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:t="http://myfaces.apache.org/tomahawk">
<ui:composition template="">
teste
<rich:dataTable value="#{mesIndicadoresBean.getListaMesIndicadores}"
var="item" rows="20" reRender="ds" id="gridMesIndicadores"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
>
<f:facet name="header">
<rich:columnGroup>
<rich:column colspan="30" >
<h:outputText value="Lista de Meses"/>
</rich:column>
<rich:column breakBefore="true">
<h:outputText value="Ano"/>
</rich:column>
<rich:column>
<h:outputText value="Mes"/>
</rich:column>
<rich:column colspan="2">
<h:outputText value="Acoes"/>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column filterBy="#{item.ano}" filterEvent="onkeyup" filterValue="">
<h:outputText value="#{item.ano}"/>
</rich:column>
<rich:column filterBy="#{item.mes}" filterEvent="onkeyup" filterValue="">
<h:outputText value="#{item.mes}"/>
</rich:column>
<rich:column>
<a4j:commandLink ajaxSingle="true" id="edit" onclick="Richfaces.showModalPanel('editPanel')" >
<h:graphicImage url="/Icones/page_edit.png" style="border : 0"/>
<a4j:support event="onclick">
<f:setPropertyActionListener value="#{item}" target="#{mesIndicadoresBean.currentRow}"/>
</a4j:support>
</a4j:commandLink>
<a4j:commandLink ajaxSingle="true" id="delete" onclick="Richfaces.showModalPanel('deletePanel')" >
<h:graphicImage url="/Icones/page_delete.png" style="border : 0"/>
<a4j:support event="onclick">
<f:setPropertyActionListener value="#{item}" target="#{mesIndicadoresBean.currentRow}"/>
</a4j:support>
</a4j:commandLink>
</rich:column>
<rich:column>
<a4j:commandLink ajaxSingle="true" id="cadPubliLeitor" action="#{controller.formPublicadorMesIndicadores}" >
<h:graphicImage url="/Icones/user_16.png" style="border : 0; width: "/>
<f:setPropertyActionListener value="#{item}" target="#{publicadorMesIndicadoresBean.mesIndicadores}"/>
</a4j:commandLink>
</rich:column>
<f:facet name="footer">
<rich:datascroller id="ds" renderIfSinglePage="false"></rich:datascroller>
</f:facet>
</rich:dataTable>
<!-- fim do modal panel -->
</ui:composition>
</html>
Meu web.xml:
<?xml version="1.0"?>
<web-app version="2.5"
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">
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<description>Facelets StarterKit</description>
<display-name>Facelets</display-name>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>facelets.REFRESH_PERIOD</param-name>
<param-value>2</param-value>
</context-param>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.xhtml</welcome-file>
</welcome-file-list>
</web-app>