Description
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
- Install Java 1.8.0_151
- 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
Attachments
Issue Links
- relates to
-
CWD-4968 Tomcat7 produces corrupted gzip response with newest zlib (1.2.11) library
-
- Closed
-