# Java 151 Issue?

**URL:** <https://forum.servoy.com/t/java-151-issue/19474>\
**Category:** Classic Servoy\
**Created:** [October 19, 2017, 4:12pm UTC](https://forum.servoy.com/t/java-151-issue/19474 "2017-10-19T16:12:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [October 19, 2017, 4:12pm UTC](https://forum.servoy.com/t/java-151-issue/19474/1 "2017-10-19T16:12:56Z")

</div>

Hey Guys,

My IT folks always INSIST that we run the most recent version of Java… so I updated a server to 1.8.0\_151 and all of a sudden I couldn’t get to /servoy-admin.

The browser kept complaining that the site was unreachable (Chrome) with the error: ERR\_CONTENT\_DECODING\_FAILED.

When I uninstall that - and go back to 1.8.0\_131 or 1.8.0\_144 - everything works again.

Anyone know what’s up with that??

Servoy version 7.4.10  
Windows Server 2012

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [October 19, 2017, 7:25pm UTC](https://forum.servoy.com/t/java-151-issue/19474/2 "2017-10-19T19:25:55Z")

</div>

This IS an issue with 151!

My computer “helpfully” updated its Java and the CSS file went missing:  
“Failed to load resource: net::ERR\_CONTENT\_DECODING\_FAILED” in the login form.

[attachment=2]content\_error.jpg[/attachment]

Here’s how the login form loaded:

[attachment=1]how\_it\_looks.jpg[/attachment]

Here’s how it SHOULD look:

[attachment=0]how\_it\_should\_look.jpg[/attachment]

Any ideas?

 ![how_it_should_look.jpg](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/1X/498d0e8624bdf9ea75ad8f2b37bd17f0602c0bea.jpeg)

 ![how_it_looks.jpg](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/f/f5346cc5484bae50fb6840affcb84f6379e84300.jpeg)

 ![content_error.jpg](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/8/8dcb019c9464c4dadc3294996d8425364c1c1c6c.jpeg)

---

<div class="post-metadata">

**Author:** ![chaitanyas](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@chaitanyas](https://forum.servoy.com/u/chaitanyas)\
**Post date:** [October 20, 2017, 1:44am UTC](https://forum.servoy.com/t/java-151-issue/19474/3 "2017-10-20T01:44:32Z")

</div>

Hi All,

We are also facing the same issue, after java updated to version java 8 update 151 then we can’t run servoy admin page, is there any fix for this issue ?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 6:44am UTC](https://forum.servoy.com/t/java-151-issue/19474/4 "2017-10-20T06:44:58Z")

</div>

Did you guys file a bugreport in the [tracker](https://support.servoy.com) yet ?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 6:51am UTC](https://forum.servoy.com/t/java-151-issue/19474/5 "2017-10-20T06:51:37Z")

</div>

Bob and chaitanyas,

Do you see the same thing on different browsers? Or is this only on Chrome ?

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [October 20, 2017, 7:00am UTC](https://forum.servoy.com/t/java-151-issue/19474/6 "2017-10-20T07:00:08Z")

</div>

The OS is also important. Did you update only java when this happened or the OS as well?  
As a workaround you could turn off compression on server by editing application\_server/server/conf/server.xml and setting compression to “off”.

And yes, if it’s not a chrome update going wrong you should [create a case](https://support.servoy.com) for this.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 7:08am UTC](https://forum.servoy.com/t/java-151-issue/19474/7 "2017-10-20T07:08:54Z")

</div>

I do read online some solutions like clearing your browser cache. Try that first.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 7:40am UTC](https://forum.servoy.com/t/java-151-issue/19474/8 "2017-10-20T07:40:41Z")

</div>

Hi Andrei,

> Andrei Costescu:  
> As a workaround you could turn off compression on server by editing application\_server/server/conf/server.xml and setting compression to “off”

Servoy server 8.2 has the following settings in server.xml:

```auto
 <Connector port="8080" protocol="HTTP/1.1"
               maxThreads="500" connectionTimeout="60000" 
               redirectPort="8443" useBodyEncodingForURI="true" 
                compression="4096"
               compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css" />

```

As far as I can see this setting has not changed since Servoy server 6.0

If I read the Tomcat documentation correctly it should be like this:

```auto
 <Connector port="8080" protocol="HTTP/1.1"
               maxThreads="500" connectionTimeout="60000" 
               redirectPort="8443" useBodyEncodingForURI="true" 
               compression="on"
               compressionMinSize="4096"
               compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css" />

```

source:

- [http://tomcat.apache.org/tomcat-6.0-doc … /http.html](http://tomcat.apache.org/tomcat-6.0-doc/config/http.html)
- [http://tomcat.apache.org/tomcat-7.0-doc … /http.html](http://tomcat.apache.org/tomcat-7.0-doc/config/http.html)
- [http://tomcat.apache.org/tomcat-8.0-doc … /http.html](http://tomcat.apache.org/tomcat-8.0-doc/config/http.html)

---

<div class="post-metadata">

**Author:** ![chaitanyas](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@chaitanyas](https://forum.servoy.com/u/chaitanyas)\
**Post date:** [October 20, 2017, 7:43am UTC](https://forum.servoy.com/t/java-151-issue/19474/9 "2017-10-20T07:43:26Z")

</div>

Hi Robert,

I did try clearing browser cache but no luck and yes it happened with Mozilla firefox and IE also.

Servoy Version : 7.4.2

OS : Windows

Java Version : java 8 update 151

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [October 20, 2017, 8:47am UTC](https://forum.servoy.com/t/java-151-issue/19474/10 "2017-10-20T08:47:07Z")

</div>

> As far as I can see this setting has not changed since Servoy server 6.0
> 
> If I read the Tomcat documentation correctly it should be like this:  
> (…)

It can have a number in there directly, not just on and off.  
[https://tomcat.apache.org/tomcat-8.5-do … /http.html](https://tomcat.apache.org/tomcat-8.5-doc/config/http.html)

And yes, it has not changed in Servoy; I was just suggesting turning it off as a workaround if this was caused by an OS or JVM update - until a better solution is found.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 9:14am UTC](https://forum.servoy.com/t/java-151-issue/19474/11 "2017-10-20T09:14:24Z")

</div>

> Andrei Costescu:
> 
> > ROCLASI:  
> > If I read the Tomcat documentation correctly it should be like this:  
> > (…)
> 
> It can have a number in there directly, not just on and off.

So obviously I didn’t read the documentation correctly ![:oops:]( "Embarassed")  
Thanks for clarifying!

---

<div class="post-metadata">

**Author:** ![lwjwillemsen](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lwjwillemsen/32/4987_2.png) [@lwjwillemsen](https://forum.servoy.com/u/lwjwillemsen)\
**Post date:** [October 20, 2017, 10:25am UTC](https://forum.servoy.com/t/java-151-issue/19474/12 "2017-10-20T10:25:31Z")

</div>

Is Servoy going to follow up on this (fix it)?  
I don’t want to turn off compression!

We are using Servoy 7.4.10.

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [October 20, 2017, 10:42am UTC](https://forum.servoy.com/t/java-151-issue/19474/13 "2017-10-20T10:42:29Z")

</div>

I see there is already 1.8.0\_152 released. is it the same with this one?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 10:46am UTC](https://forum.servoy.com/t/java-151-issue/19474/14 "2017-10-20T10:46:28Z")

</div>

Some observations:

I updated my Windows 10 VM with Java 8-151 and have Tomcat 8.5 installed on it. By default it doesn’t have compression enabled so I added it in the server.xml and restarted it.  
Then I deployed a 7.4 war file and tried to access the servoy-admin page. It uses Java 8-151 and it loaded fine ![:!:]( "Exclamation") .

Then I installed Servoy server 7.4.10 and tried to access the servoy-admin page and it failed as described in this thread.  
Changing the compression property to “off” does indeed the trick to make it load properly again.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![lwjwillemsen](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lwjwillemsen/32/4987_2.png) [@lwjwillemsen](https://forum.servoy.com/u/lwjwillemsen)\
**Post date:** [October 20, 2017, 10:48am UTC](https://forum.servoy.com/t/java-151-issue/19474/15 "2017-10-20T10:48:29Z")

</div>

See also: [http://forum.servoy.com/viewtopic.php?f=5&t=21893&hilit=java+9](http://forum.servoy.com/viewtopic.php?f=5&t=21893&hilit=java+9)

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 20, 2017, 11:04am UTC](https://forum.servoy.com/t/java-151-issue/19474/16 "2017-10-20T11:04:19Z")

</div>

> Gabi Boros:  
> I see there is already 1.8.0\_152 released. is it the same with this one?

I am not sure where you see this. it’s not on the [java.com](https://java.com/en/download/manual.jsp) site as a download and the Java control panel doesn’t prompt me with a newer version when I hit update.

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [October 20, 2017, 11:17am UTC](https://forum.servoy.com/t/java-151-issue/19474/17 "2017-10-20T11:17:35Z")

</div>

I see it here : [http://www.oracle.com/technetwork/java/ … 33155.html](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) … but I just tested it, and is the same as with u151

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [October 20, 2017, 12:41pm UTC](https://forum.servoy.com/t/java-151-issue/19474/18 "2017-10-20T12:41:42Z")

</div>

it seems they backported something to java8 that was already failing for java9 9 (if disabling the compression on the embedded tomcat is fixing this)

The embedded tomcat for servoy 7 is tomcat 6. Even the latest tomcat 6 doesn’t fix this. Tomcat 8 and java9 works fine (also with compression enabled as far as i know)

We will not upgrade tomcat of servoy 7, you could potentially try this your self, but the step is to big for that we have Servoy 8+

What does work is WAR deployment (on tomcat 8.x) of a servoy 7.

Or just disable compression on your servoy 7 install if you need to upgrade to a java version that breaks .

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [October 20, 2017, 3:32pm UTC](https://forum.servoy.com/t/java-151-issue/19474/19 "2017-10-20T15:32:15Z")

</div>

Confirmed that 8.2.1 works with Java 151 without having to take off the compression on Windows Server 2012.

THANKS Johan!

---

<div class="post-metadata">

**Author:** ![rafig](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/rafig/32/4463_2.png) [@rafig](https://forum.servoy.com/u/rafig)\
**Post date:** [October 23, 2017, 1:46pm UTC](https://forum.servoy.com/t/java-151-issue/19474/20 "2017-10-23T13:46:13Z")

</div>

Thank you for this post!  
I was being driven mad by a Servoy 7.4.9 solution not working (displaying) correctly suddenly, now I have added/changed the compression to ‘off’, it works!  
Thanks  
Rafi

[Next page](https://forum.servoy.com/t/java-151-issue/19474.md?page=2)
