<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Regarding Https Compression (on Chrome Browser)
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/er_rupeshmca">rupesh kumar</a> in <i>Performance Tuning</i> - <a href="https://community.jboss.org/message/751148#751148">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p> I have changed http port 8080 to port 80 and SSL port from 8443 to 443</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>i have also configure Https port and add compression , please find below configured file..</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Server&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;!-- Optional listener which ensures correct init and shutdown of APR,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; and provides information if it is not installed --&gt;</p><p>&#160;&#160; &lt;Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /&gt;</p><p>&#160;&#160; &lt;!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --&gt;</p><p>&#160;&#160; &lt;Listener className="org.apache.catalina.core.JasperListener" /&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; &lt;Service name="jboss.web"&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;!-- A HTTP/1.1 Connector on port 8080 --&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;Connector protocol="HTTP/1.1" port="80" address="${jboss.bind.address}"<strong> compression="force"</strong> </p><p>&#160;&#160;&#160;&#160;&#160;&#160; noCompressionUserAgents="gozilla, traviata"</p><p>&#160;&#160;&#160;&#160;&#160; <strong>&#160;&#160;&#160; compressableMimeType="text/html,text/xml,text/css,text/javascript,application/x-javascript,application/javascript,image/svg+xml,text/json,gzip" </strong></p><p><strong>&#160;&#160;&#160;&#160;&#160;&#160; connectionTimeout="20000" redirectPort="443" /&gt;</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;!-- Add this option to the connector to avoid problems with </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .NET clients that don't implement HTTP/1.1 correctly </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"</p><p>&#160;&#160;&#160;&#160;&#160; --&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;!-- A AJP 1.3 Connector on port 8009 --&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; redirectPort="443" /&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;!-- SSL/TLS Connector configuration using the admin devl guide keystore --&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;Connector protocol="HTTP/1.1" SSLEnabled="true" </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; port="443" address="${jboss.bind.address}"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maxThreads="20" strategy="ms" maxHttpHeaderSize="8192"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; emptySessionPath="true"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>&#160;&#160;&#160; compressableMimeType="text/html,text/xml,text/css,text/javascript,application/x-javascript,application/javascript,image/svg+xml,text/json,gzip"</strong></p><p><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; compression="force"</strong></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; scheme="https" secure="true" clientAuth="false"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; keystorePass="rmi+ssl" sslProtocol = "TLS" /&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;Engine name="jboss.web" defaultHost="localhost"&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>But still issue not resolved on https but in http the content is showing compressed with wbox command</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>i check the compressed content with wbox command utility</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>[monitor@app classes]$ wbox <a class="jive-link-external-small" href="http://192.168.149.24/cdotmain/" target="_blank">http://192.168.149.24:80/cdotmain/</a> compr</p><p>WBOX 192.168.149.24 (192.168.149.24) port 80 [compr]</p><p>0. 200 OK&#160;&#160;&#160; 781 bytes&#160;&#160;&#160; 1 ms&#160;&#160;&#160; compr</p><p>1. 200 OK&#160;&#160;&#160; 781 bytes&#160;&#160;&#160; 1 ms&#160;&#160;&#160; compr</p><p>2. 200 OK&#160;&#160;&#160; 781 bytes&#160;&#160;&#160; 1 ms&#160;&#160;&#160; compr</p><p>3. 200 OK&#160;&#160;&#160; 781 bytes&#160;&#160;&#160; 1 ms&#160;&#160;&#160; compr</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>And then check on on Https when application redirect from port 80 to 443.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>[monitor@app classes]$ wbox <a class="jive-link-external-small" href="https://192.168.149.24/TMRS/" target="_blank">https://192.168.149.24:443/TMRS/</a> compr</p><p>WBOX 192.168.149.24 (192.168.149.24) port 443 [compr]</p><p>0. 0 ()&#160;&#160;&#160; 7 bytes&#160;&#160;&#160; 1 ms</p><p>1. 0 ()&#160;&#160;&#160; 7 bytes&#160;&#160;&#160; 0 ms</p><p>2. 0 ()&#160;&#160;&#160; 7 bytes&#160;&#160;&#160; 0 ms</p><p>3. 0 ()&#160;&#160;&#160; 7 bytes&#160;&#160;&#160; 0 ms</p><p>4. 0 ()&#160;&#160;&#160; 7 bytes&#160;&#160;&#160; 0 ms</p><p>5. 0 ()&#160;&#160;&#160; 7 bytes&#160;&#160;&#160; 0 ms</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Please suggest</p><p>thanks.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Please help.........</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/751148#751148">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Performance Tuning at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>