3 Replies Latest reply on Jul 29, 2007 4:10 AM by Sanne Grinovero

    Ajax4JSF , Seam 2.0B and JBoss 4.2GA -> Resource filter not

    Tino Nitze Newbie

      Hi there,

      does anybody have a clue what my problem here is. I am just trying to migrate everything to Seam 2 and the last hump I am fighting with the ajax4jsf filter. I set it on top of my filter list in components.xml. I can't access any page which uses ajax4jsf...:

      javax.faces.FacesException: Resources framework is not initialised, check web.xml for Filter configuration


      I don't have any further filters declared in web.xml.
      The last JBoss log output after starting says:
      10:43:43,210 INFO [Contexts] starting up: org.jboss.seam.ui.resource.styleResource
      10:43:43,210 INFO [Contexts] starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
      10:43:43,210 INFO [Contexts] starting up: org.jboss.seam.ui.resource.webResource
      10:43:43,210 INFO [Contexts] starting up: org.jboss.seam.web.authenticationFilter
      10:43:43,210 INFO [Contexts] starting up: org.jboss.seam.web.redirectFilter
      10:43:43,226 INFO [Contexts] starting up: org.jboss.seam.web.multipartFilter
      10:43:43,226 INFO [Contexts] starting up: org.jboss.seam.web.exceptionFilter
      10:43:43,226 INFO [Contexts] starting up: org.jboss.seam.debug.hotDeployFilter
      10:43:43,226 INFO [Contexts] starting up: org.jboss.seam.web.contextFilter
      10:43:43,226 INFO [Contexts] starting up: org.jboss.seam.web.ajax4jsfFilter



      And my filters in the components.xml are:

       <web:ajax4jsf-filter force-parser="false"
       enable-cache="true"
       url-pattern="*.html"/>
      
       <web:multipart-filter create-temp-files="true"
       max-request-size="1000000"
       url-pattern="*.html"/>
      
       <web:authentication-filter url-pattern="*.html"/>
      
       <web:context-filter url-pattern="*.jar"/>
      
       <web:exception-filter url-pattern="*.html"/>
      
       <web:redirect-filter url-pattern="*.html"/>
      
      



      Any help much appriciated, thanks,
      Tino