Java 151 Issue?

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Java 151 Issue?

Postby bcusick » Thu Oct 19, 2017 6:12 pm

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
Bob Cusick
bcusick
 
Posts: 1210
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Re: Java 151 Issue?

Postby bcusick » Thu Oct 19, 2017 9:25 pm

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.

content_error.jpg
The error as seen in Chrome
content_error.jpg (24.97 KiB) Viewed 1980 times


Here's how the login form loaded:

how_it_looks.jpg
How the login screen looks
how_it_looks.jpg (26.02 KiB) Viewed 1980 times


Here's how it SHOULD look:

how_it_should_look.jpg
How the login screen SHOULD look
how_it_should_look.jpg (25.89 KiB) Viewed 1980 times


Any ideas?
Bob Cusick
bcusick
 
Posts: 1210
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Re: Java 151 Issue?

Postby chaitanyas » Fri Oct 20, 2017 3:44 am

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 ?
chaitanyas
 
Posts: 88
Joined: Tue Jul 26, 2011 8:28 am

Re: Java 151 Issue?

Postby ROCLASI » Fri Oct 20, 2017 8:44 am

Did you guys file a bugreport in the tracker yet ?
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5274
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java 151 Issue?

Postby ROCLASI » Fri Oct 20, 2017 8:51 am

Bob and chaitanyas,

Do you see the same thing on different browsers? Or is this only on Chrome ?
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5274
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java 151 Issue?

Postby Andrei Costescu » Fri Oct 20, 2017 9:00 am

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 for this.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 939
Joined: Tue Jun 26, 2007 3:14 pm

Re: Java 151 Issue?

Postby ROCLASI » Fri Oct 20, 2017 9:08 am

I do read online some solutions like clearing your browser cache. Try that first.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5274
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java 151 Issue?

Postby ROCLASI » Fri Oct 20, 2017 9:40 am

Hi Andrei,
Andrei Costescu wrote: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:
Code: Select all
<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:
Code: Select all
<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-7.0-doc ... /http.html
- http://tomcat.apache.org/tomcat-8.0-doc ... /http.html
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5274
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java 151 Issue?

Postby chaitanyas » Fri Oct 20, 2017 9:43 am

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
chaitanyas
 
Posts: 88
Joined: Tue Jul 26, 2011 8:28 am

Re: Java 151 Issue?

Postby Andrei Costescu » Fri Oct 20, 2017 10:47 am

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

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.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 939
Joined: Tue Jun 26, 2007 3:14 pm

Re: Java 151 Issue?

Postby ROCLASI » Fri Oct 20, 2017 11:14 am

Andrei Costescu wrote:
ROCLASI wrote: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:
Thanks for clarifying!
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5274
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java 151 Issue?

Postby lwjwillemsen » Fri Oct 20, 2017 12:25 pm

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.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 596
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Java 151 Issue?

Postby Gabi Boros » Fri Oct 20, 2017 12:42 pm

I see there is already 1.8.0_152 released. is it the same with this one?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 334
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Java 151 Issue?

Postby ROCLASI » Fri Oct 20, 2017 12:46 pm

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 :!: .

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.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5274
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java 151 Issue?

Postby lwjwillemsen » Fri Oct 20, 2017 12:48 pm

Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 596
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Next

Return to Servoy Server

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron