wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
server.xml doesn't have this element
JBOSS web logon not redirecting from port 8080 to 8443 at login
UTF-8 encoding problem
Tomcat and I/O Operations
Tomcat: always do http compression without watch min size