Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4999

HTTP Compression with Java 8 update 151 breaks the Crowd UI

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.0.2, 3.1.1
    • 3.0.1
    • None
    • None

      Summary

      Crowd UI breaks when using some releases of Java 8, not loading the CSS of the page.

      Environment

      Tested with Java 1.8.0_60 , 1.8.0_152 and 1.8.0_151

      Steps to Reproduce

      1. Install Java 1.8.0_151
      2. Install Crowd 3.0.1

      Expected Results

      The login screen loads fine after the installation.

      Actual Results

      The login screen loads without CSS. Also, the below exception is thrown in the xxxxxxx.log file:

      2017-11-06 18:15:49,041 localhost-startStop-1 INFO [ContainerBase.[Catalina].[localhost].[/crowd]] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
      2017-11-06 18:16:05,156 http-bio-8095-exec-9 WARN [webresource] error in `Content.writeTo` for com.atlassian.soy.soy-template-plugin:soy-deps/soyutils.js
      java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe (Write failed)
      	at com.atlassian.plugin.webresource.impl.support.Support.copy(Support.java:65)
      	at com.atlassian.plugin.webresource.transformer.MinificationTransformer$1.writeTo(MinificationTransformer.java:52)
      	at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$2.lambda$writeTo$0(ResourceServingHelpers.java:184)
      	at com.atlassian.plugin.cache.filecache.impl.PassThroughCache.cache(PassThroughCache.java:18)
      	at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$2.writeTo(ResourceServingHelpers.java:184)
      	at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$8.writeTo(ResourceServingHelpers.java:384)
      	at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$1.writeTo(ResourceServingHelpers.java:125)
      	at com.atlassian.plugin.webresource.impl.http.Controller$6.write(Controller.java:362)
      

      Notes

      This problem might also affect OpenJDK.

      Workaround

      Disable the HTTP compression as described in this KB: https://confluence.atlassian.com/crowdkb/how-to-disable-http-compression-on-crowd-2-9-and-above-856714638.html

            [CWD-4999] HTTP Compression with Java 8 update 151 breaks the Crowd UI

            Monique Khairuliana (Inactive) made changes -
            Epic Link Original: CWD-4704 [ 600140 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 2474401 ] New: JAC Bug Workflow v3 [ 3365934 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Monique Khairuliana (Inactive) made changes -
            Description Original: h3. Summary
            Crowd UI breaks when using some releases of Java 8, not loading the CSS of the page.

            h3. Environment
            Tested with *Java 1.8.0_60* and *1.8.0_151*

            h3. Steps to Reproduce
            # Install Java 1.8.0_151
            # Install Crowd 3.0.1

            h3. Expected Results
            The login screen loads fine after the installation.

            h3. Actual Results
            The login screen loads without CSS. Also, the below exception is thrown in the xxxxxxx.log file:
            {noformat}
            2017-11-06 18:15:49,041 localhost-startStop-1 INFO [ContainerBase.[Catalina].[localhost].[/crowd]] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
            2017-11-06 18:16:05,156 http-bio-8095-exec-9 WARN [webresource] error in `Content.writeTo` for com.atlassian.soy.soy-template-plugin:soy-deps/soyutils.js
            java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe (Write failed)
            at com.atlassian.plugin.webresource.impl.support.Support.copy(Support.java:65)
            at com.atlassian.plugin.webresource.transformer.MinificationTransformer$1.writeTo(MinificationTransformer.java:52)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$2.lambda$writeTo$0(ResourceServingHelpers.java:184)
            at com.atlassian.plugin.cache.filecache.impl.PassThroughCache.cache(PassThroughCache.java:18)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$2.writeTo(ResourceServingHelpers.java:184)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$8.writeTo(ResourceServingHelpers.java:384)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$1.writeTo(ResourceServingHelpers.java:125)
            at com.atlassian.plugin.webresource.impl.http.Controller$6.write(Controller.java:362)
            {noformat}
             
            h3. Notes
            This problem might also affect OpenJDK.

            h3.Workaround
            Disable the HTTP compression as described in this KB: https://confluence.atlassian.com/crowdkb/how-to-disable-http-compression-on-crowd-2-9-and-above-856714638.html
            New: h3. Summary
            Crowd UI breaks when using some releases of Java 8, not loading the CSS of the page.

            h3. Environment
            Tested with *Java 1.8.0_60* , *1.8.0_152* and *1.8.0_151*

            h3. Steps to Reproduce
            # Install Java 1.8.0_151
            # Install Crowd 3.0.1

            h3. Expected Results
            The login screen loads fine after the installation.

            h3. Actual Results
            The login screen loads without CSS. Also, the below exception is thrown in the xxxxxxx.log file:
            {noformat}
            2017-11-06 18:15:49,041 localhost-startStop-1 INFO [ContainerBase.[Catalina].[localhost].[/crowd]] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
            2017-11-06 18:16:05,156 http-bio-8095-exec-9 WARN [webresource] error in `Content.writeTo` for com.atlassian.soy.soy-template-plugin:soy-deps/soyutils.js
            java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe (Write failed)
            at com.atlassian.plugin.webresource.impl.support.Support.copy(Support.java:65)
            at com.atlassian.plugin.webresource.transformer.MinificationTransformer$1.writeTo(MinificationTransformer.java:52)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$2.lambda$writeTo$0(ResourceServingHelpers.java:184)
            at com.atlassian.plugin.cache.filecache.impl.PassThroughCache.cache(PassThroughCache.java:18)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$2.writeTo(ResourceServingHelpers.java:184)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$8.writeTo(ResourceServingHelpers.java:384)
            at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$1.writeTo(ResourceServingHelpers.java:125)
            at com.atlassian.plugin.webresource.impl.http.Controller$6.write(Controller.java:362)
            {noformat}
             
            h3. Notes
            This problem might also affect OpenJDK.

            h3.Workaround
            Disable the HTTP compression as described in this KB: https://confluence.atlassian.com/crowdkb/how-to-disable-http-compression-on-crowd-2-9-and-above-856714638.html
            Eduardo Mallmann (Inactive) made changes -
            Comment [ A comment with security level 'atlassian-staff' was removed. ]
            Patryk made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Verified [ 10005 ] New: Resolved [ 5 ]
            Lukasz Pater made changes -
            Fix Version/s New: 3.0.2 [ 74315 ]
            Fix Version/s New: 3.1.0 [ 74332 ]
            James Richards made changes -
            Regular Expression New: java\.lang\.RuntimeException: org\.apache\.catalina\.connector\.ClientAbortException: java\.net\.SocketException: Broken pipe \(Write failed\)
            James Richards made changes -
            Link New: This issue relates to CWD-4968 [ CWD-4968 ]
            Marcin Kempa made changes -
            Summary Original: HTTP Compression with Java 8 breaks the Crowd UI New: HTTP Compression with Java 8 update 151 breaks the Crowd UI

              Unassigned Unassigned
              emallmann Eduardo Mallmann (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: