Page 1 of 1

After 8.2.1 Servoy is not working (also previous versions)

PostPosted: Wed Oct 25, 2017 4:34 pm
by rioba1401913570
After installing version 8.2.1 on MacOS High Sierra Servoy is woking no more, also previous versions. I can start it, it loads the starting page but then it freezes and I have to force quit it. Suspecting a Java issue i completely removed the previous installation of Java and installed a new one. I tried both Java 8 and 9 with no success. Reinstalled also Servoy but the problem persisted. I really don't know what went wrong. In case someone wanted to look into the issue I also enclose the log file. Thanks.

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Wed Oct 25, 2017 4:44 pm
by ROCLASI
Hi Rioba,

Upgrading macOS usually means it removes the Java 6 that you might had installed. Servoy used to still require it even though it reports it uses Java 7/8.
As far as I know Servoy fixed that issue but perhaps this is what is biting you.
You can download Java 6 from Apple here.

Hope this helps

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Thu Oct 26, 2017 9:37 am
by rioba1401913570
Thank you Robert for your reply. I also suspected the problem could be linked to Java 6 missing. But after installing JRE 8 if I checked the Java version using
Code: Select all
java -version
in terminal I could only detect this older Java while the preference pane listed version 8. Installing the Java sdk 8 solved the mismatch but not the Servoy problem. So I installed Servoy 8.2.1 on a new disk with only MacOS 10.13, MySql Db, Java 8 and 6 and the problem with Servoy disappeared. So the culprit is somewhere else, but I don't understand where sine I removed all previous Java installations and files.

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Fri Oct 27, 2017 8:19 am
by rgansevles
Hi Rioba,

When Servoy is frozen, is de admin page via the browser working?
If yes, please post the result of the thread dump here.

http://localhost:8080/servoy-admin/dumpstack

Rob

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Fri Oct 27, 2017 8:39 pm
by rioba1401913570
Hi Rob,

thanks. The thread dump is attached

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Sat Oct 28, 2017 8:57 am
by hovw
Same problem

Servoy server is running but can't connect to the admin page


'cannot decode raw data' (NSURLErrorDomain:-1015)


Also with a systems that use JDK 1.8, it works fine with osx sierra

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Sat Oct 28, 2017 2:51 pm
by rgansevles
This does seem to be a problem with the java version, it is hanging in a native apple java call.
Note that Servoy 8.2 requires java 7.

On the admin page you can see the jvm used

Re: After 8.2.1 Servoy is not working (also previous version

PostPosted: Fri Dec 08, 2017 4:52 pm
by jcompagner
hovw wrote:Same problem

Servoy server is running but can't connect to the admin page


'cannot decode raw data' (NSURLErrorDomain:-1015)


Also with a systems that use JDK 1.8, it works fine with osx sierra



this is a problem with zlib native lib that was updated and that java uses.
you need to turn of compression in the server.xml of your application server.

I also mentioned this in other post, servoy doesn't need java6. that it ask for java6 is an installation problem of your java on your system
Servoy 8.x can't even run on java6 anymore at all.