aspose file tools*
The moose likes Web Services and the fly likes axis: tomcat always do http compression without watch min size in apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis: tomcat always do http compression without watch min size in apps" Watch "axis: tomcat always do http compression without watch min size in apps" New topic
Author

axis: tomcat always do http compression without watch min size in apps

alain martin
Ranch Hand

Joined: Apr 11, 2005
Posts: 43
Hi,

I have an apache tomcat 5.5.17. In my server.xml file I have put

<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
compression="on"
*compressionMinSize="2048000" *
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/plain,application/dime"
/>

It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4
webservices it always compress the response althought it be less than 1kb.
Why axis don't respect compressionMinSize parameter?
Thanks


<a href="http://www.hhdirecto.net" target="_blank" rel="nofollow">http://www.hhdirecto.net</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis: tomcat always do http compression without watch min size in apps