Hello,

I have a problem using the input calendar component from tomahawk when gzip
filter is on.
I'm using MyFaces 1.2, Tomahawk 1.1.6, facelets 1.13, Tomcat 6.0.14 and
ehcache 1.3.0.
As the gzip filter I use the one that comes with ehcache, configuration in
web.xml is as follows:

<filter>
        <filter-name>gzipFilter</filter-name>
       
<filter-class>net.sf.ehcache.constructs.web.filter.GzipFilter</filter-class>
</filter>

....

<filter-mapping>
        <filter-name>gzipFilter</filter-name>
        <url-pattern>/*</url-pattern>
</filter-mapping>



[myApp] WARN [http-8080-1] Filter.logThrowable(147) | Throwable thrown
during doFilter on request with URI:
/myApp/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11901920/prototype.PrototypeResourceLoader/prototype.js
and Query: nullFailure when attempting to set Content-Encoding: gzip
net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException: Failure
when attempting to set Content-Encoding: gzip
        at
net.sf.ehcache.constructs.web.ResponseUtil.addGzipHeader(ResponseUtil.java:126)
        at
net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:95)
        at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
com.myApp.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:62)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)

I receive this error always when I enter the page with input calendar
component. It the filter is off it works fine.

Pls, any idea?
-- 
View this message in context: 
http://www.nabble.com/inputcalendar-with-gzip-filter-tf4479649.html#a12773471
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to