Problemas - Tentando usar Ajax4JSF

2 respostas
eullerbd

Galera, estou tentando usar a biblioteca Ajax4JSF

Inclui as seguintes bibliotecas em meu projeto.

ajax4jsf-1.1.1
oscache-2.2.jar
jsf-impl.jar

Meu web.xml está assim

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
        
    <filter> 
      <display-name>Ajax4jsf Filter</display-name> 
      <filter-name>ajax4jsf</filter-name> 
      <filter-class>org.ajax4jsf.Filter</filter-class> 
     </filter> 
     <filter-mapping> 
      <filter-name>ajax4jsf</filter-name> 
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
     </filter-mapping>
     
    <context-param>
        <param-name>com.sun.faces.verifyObjects</param-name>
        <param-value>false</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>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</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>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
</web-app>

Quando executo qualquer arquivo aparece o seguinte no navegador.

[color=red]HTTP Status 503 -

type Status report

message

descriptionThe requested service () is not currently available.[/color]

O que pode ser, não estou conseguindo solucionar, está faltando alguma biblioteca ?

2 Respostas

eullerbd

Alguém poderia me ajudar?Obrigado

felipeguerra

Da uma lida na especificação do framework pra saber quais bibliotecas são necessárias…

Criado 18 de maio de 2008
Ultima resposta 19 de mai. de 2008
Respostas 2
Participantes 2