[Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
This is a question aimed at Resin's support team. I'm wondering what the defaults for a Filter's dispatcher setting is. This is only valid for 2.4 webapps. So if I were to exclude these parameters, does this mean that Resin 3.1.5 will filter all types of dispatched requests? I ask this be

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
Actually, I have a further problem using GzipFilter. I enabled it using no dispatcher, which according to Servlet Spec 2.4, means that it defaults to only REQUEST. When I started using the GzipFilter, I noticed a few things 1) Gzip appears to work on static files that are served through Fil

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Haroon Rasheed
Chris, We have been using gzip filter on production servers for the past 8 months, and didn't face any such issues. Please send the gzip filter configuration from web.xml, lemme see if anything is different in your conf? Thanks & regards, Haroon 2008/7/11 Chris Chen <[EMAIL PROTECTED]>: > Actu

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
Thanks for the reply, my configuration comes directly from the documentation: class="com.caucho.filters.GzipFilter"/> The interesting thing is that other files seem to zip fine. I am consistently hitting encoding issues with this particular GWT cache.html file. Gzip and Resin a

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Haroon Rasheed
Also I would like to know, whether your server is running under a LoadBalancer? if yes... please send the details on the same... Please try the following configuration and lemme know if this helps. true *.pdf *.zip /* Regards, Haroon 2008/7/11 Chris C

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
I am using your configurations and it's working, but only because the responses are not getting encoded. I think this may be caused by the load balancer web tier that I have running. I believe you are probably on the right track on that one. I have resin cache enabled on both the web and

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Haroon Rasheed
Good! Lemme know if it works after you disable caching... 2008/7/11 Chris Chen <[EMAIL PROTECTED]>: > I am using your configurations and it's working, but only because the > responses are not getting encoded. > I think this may be caused by the load balancer web tier that I have > running. I be

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
I just disabled resin caching proxy and tested it. Some response headers are now going through and it appears that caching is working better at the moment. However, the system is still unable to decode that specific GWT cache.html file. No matter what happens, this file is somehow not b

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
I have now narrowed the situation down to the file extension. Specifically, Gzip is causing encoding problems when the file extension ends with .html. I renamed the same file to some other extension and the file get encoded and decoded properly with no problems. Yet, when the filter tri

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Chris Chen
I think I have figured out the problem. It appears to be filter orders. I have my gzip filter in my resin-web.xml. I thought and assumed that resin-web.xml take priority over web.xml, but I was wrong. I then found that app-defaults.xml indicates the loading order. So basically, my gzip

Re: [Resin-interest] Filter's dispatcher defaults

2008-07-11 Thread Haroon Rasheed
Good to know that! I have my gzip filter, immediately after the UTFEncoding filter and the rest. So I never faced this issue:) Regards, Haroon 2008/7/11 Chris Chen <[EMAIL PROTECTED]>: > I think I have figured out the problem. It appears to be filter orders. I > have my gzip filter in my re

[Resin-interest] Integrating Spring 2.5 with resin-pro3.1.6

2008-07-11 Thread Sagun
I am trying to use Spring framework with Resin-pro3.1.6 and I am following the instructions at http://wiki.caucho.com/Spring. But when I run the resin server i get the following error. Can you help me to solve this problem. [22:39:48.156] {main} WebApp[http://localhost:8080/OPIS] Initializing S

Re: [Resin-interest] Error while deploying a web application on Resin 3.1.6

2008-07-11 Thread Emil Ong
On Thu, Jul 10, 2008 at 08:13:05PM -0700, George Wei wrote: > > All items in my classpath are as follows: > [snip] Hi George, I don't see the hibernate jar in there... is it perhaps in your webapp's lib? If Resin is compiling your Java source for you, you might try deleting the class files

Re: [Resin-interest] Error while deploying a web application on Resin 3.1.6

2008-07-11 Thread George Wei
Yes, you're right. Thank you and Scott. The reason is I added Hibernate Annotations 3.3.0 GA and EntityManager 3.3.2 GA in my project. As describled in the compatibility matrix on Hibernate's website, EntityManager 3.3.2 GA is compatible with Annotations 3.3.x, so I believe they are REALLY compat