0 Replies Latest reply on Aug 19, 2008 7:20 PM by Harihara Vinyakaram

    BaseFilter being called twice

    Harihara  Vinyakaram Newbie

      I am using Seam 2.0.GA and Rich Faces 3.2.1.CR4 .When the debugs are enabled I see the following output



      DEBUG org.ajax4jsf.webapp.BaseFilter Filter start request processing at 8/19/08 12:00 AM  for uri:... 




      and after some time I see the same Filter being called for the same request . When I put a Thread.dumpStack() in the Basefilter.java I found that the code is being called again as part of


      2008-08-19 19:40:17,833 ERROR STDERR at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-08-19 19:40:17,833 ERROR STDERR at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      2008-08-19 19:40:17,833 ERROR STDERR at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-08-19 19:40:17,833 ERROR STDERR at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
      2008-08-19 19:40:17,833 ERROR STDERR at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
      2008-08-19 19:40:17,833 ERROR STDERR atorg.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)




      I checked my configuration and I do not have any filter for Ajax4jsf enabled . Is there some way I can avoid processing this request twice . This slows down the performance of my application


      Thanks for any help


      Regards


      Hari