Enable compression in catalina-server.xml

This commit enables the compression in tomcat. This was disabled due to
a gzip library issue in JDK.
application-manager-new
Rasika Perera 7 years ago
parent 201b714245
commit 150898fab4

@ -715,7 +715,6 @@
<exclude>**/LICENSE.txt</exclude> <exclude>**/LICENSE.txt</exclude>
<exclude>**/release-notes.html</exclude> <exclude>**/release-notes.html</exclude>
<exclude>**/webapp-mode/WEB-INF/web.xml</exclude> <exclude>**/webapp-mode/WEB-INF/web.xml</exclude>
<exclude>**/tomcat/catalina-server.xml</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
@ -1012,7 +1011,6 @@
<exclude>**/LICENSE.txt</exclude> <exclude>**/LICENSE.txt</exclude>
<exclude>**/release-notes.html</exclude> <exclude>**/release-notes.html</exclude>
<exclude>**/dbscripts</exclude> <exclude>**/dbscripts</exclude>
<exclude>**/tomcat/catalina-server.xml</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
@ -1260,18 +1258,6 @@
<filtered>true</filtered> <filtered>true</filtered>
<fileMode>644</fileMode> <fileMode>644</fileMode>
</file> </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 --> <!-- Copying synapse-handlers.xml file -->
<file> <file>
<source>src/core/conf/synapse-handlers.xml</source> <source>src/core/conf/synapse-handlers.xml</source>

@ -38,7 +38,7 @@
maxKeepAliveRequests="200" maxKeepAliveRequests="200"
acceptCount="200" acceptCount="200"
server="WSO2 Carbon Server" server="WSO2 Carbon Server"
compression="off" compression="on"
compressionMinSize="2048" compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata" 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" 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" acceptCount="200"
server="WSO2 Carbon Server" server="WSO2 Carbon Server"
clientAuth="want" clientAuth="want"
compression="off" compression="on"
scheme="https" scheme="https"
secure="true" secure="true"
SSLEnabled="true" SSLEnabled="true"

Loading…
Cancel
Save