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

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

                Created:
                Updated:
                Resolved: