Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
alain martin
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic