Enable compression in catalina-server.xml

This commit enables the compression in tomcat. This was disabled due to
a gzip library issue in JDK.
merge-requests/1/head
Rasika Perera 7 years ago
parent 201b714245
commit 150898fab4

@ -715,7 +715,6 @@
<exclude>**/LICENSE.txt</exclude>
<exclude>**/release-notes.html</exclude>
<exclude>**/webapp-mode/WEB-INF/web.xml</exclude>
<exclude>**/tomcat/catalina-server.xml</exclude>
</excludes>
</fileSet>
@ -1012,7 +1011,6 @@
<exclude>**/LICENSE.txt</exclude>
<exclude>**/release-notes.html</exclude>
<exclude>**/dbscripts</exclude>
<exclude>**/tomcat/catalina-server.xml</exclude>
</excludes>
</fileSet>
@ -1260,18 +1258,6 @@
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<file>
<source>src/core/conf/tomcat/catalina-server.xml</source>
<outputDirectory>${pom.artifactId}-${pom.version}/wso2/analytics/conf/tomcat</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<file>
<source>src/core/conf/tomcat/catalina-server.xml</source>
<outputDirectory>${pom.artifactId}-${pom.version}/wso2/broker/conf/tomcat</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<!-- Copying synapse-handlers.xml file -->
<file>
<source>src/core/conf/synapse-handlers.xml</source>

@ -38,7 +38,7 @@
maxKeepAliveRequests="200"
acceptCount="200"
server="WSO2 Carbon Server"
compression="off"
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg"
@ -65,7 +65,7 @@
acceptCount="200"
server="WSO2 Carbon Server"
clientAuth="want"
compression="off"
compression="on"
scheme="https"
secure="true"
SSLEnabled="true"

Loading…
Cancel
Save