Servoy 2021.06

We are pleased to announce the availability of Servoy 2021.06 (release number 3683)

Look at the whats new for more info about the 2021.06.x changes
For all fixes in this release see issues list.

This version is available through the the download site

We ship only installers, so for windows an exe file and for osx a dmg, for linux we have a archive tar file.

The full installers/archives are only for new installs, never use that to update/overwrite an existing install, existing installations should always be updated through the “check for updates”.
This release can be updated by using the “latest” url: http://download.servoy.com/developer/latest/ (when you come from 2019.03 or higher)
This release is build on Eclipse 2021.03 (4.19)

If check for updates says there are no updates, then it could be a caching problem of eclipse, please restart the developer once and try again.

We ship a java with our installation (Java 16.0.1). So there doesn’t need to be a java installed on the system anymore.
Also with a next update, we can update the java version with it so no need to keep it up to date yourself anymore.

This is a release in our quarterly release cycle, if you want to stay on the LTS path you need to stick to 2020.03.2 and enabled only the lts update site.

Congratulations guys!
I look forward to trying it out ;-)
Rafi

Congrats on the latest release.
Unusually, during the upgrade on OSX we are getting a message “Do you trust these certificates?”
I’m reluctant to proceed without knowing the reason.

yes that is the 3rd party Chromium browser.
Just like you get Google or Eclipse certificate questions like that.

Thans Johan!

Do we need new MySQL drivers for this version? All of the connections have errors and attempts to add a new connection get
JDBC Driver is not installed for this database type
Please download a driver for this type of database (“com.mysql.cj.jdbc.Driver”) and use the “Install (downloaded) driver” button bellow to install it. You can also install the driver manually by copying it to Servoy Application Server’s “drivers” directory and then restarting Servoy Developer.

We’ve been using com.mysql.jdbc.Driver not com.mysql.cj.jdbc.Driver

as far as i know nothing is changed in this area

so i dont know what can go wrong, except and this could be a reason that the developer uses Java 16.01 in this 2021.06 release, in 2021.03 we are using java 15.02
So maybe the driver is not playing nice with Java 16?
You need to check the logs for that.

Maybe you can downgrade the java version used in the developer to java 15 (or java 11 thats the minimum) to see if it then suddenly starts working again

Also make sure you use the latest mysql driver.

We’ve tried this on 2 different iMacs, one running OSX10.15.7 and an older one with 10.13. Same driver issue on both.

jcompagner:
Also make sure you use the latest mysql driver.

So, I’ve grabbed mysql-connector-java-8.0.25.jar from https://dev.mysql.com/downloads/file/?id=504660 and added that to the drivers folder replacing the existing mysql-connector-java-5.1.47-bin.jar
After a restart, same issue, Communications Link Failure

The fresh servoy_log begins with ~2,400 lines of SecurityExceptions like

2021-07-05 20:48:31,698 WARN [ServoyServerScheduler-1-thread-1] com.servoy.j2db.util.Debug - java.lang.SecurityException: Signers of 'org.apache.pdfbox.rendering.PageDrawer$AnnotationBorder' do not match signers of other classes in package [ ]
2021-07-05 20:48:31,698 WARN [main] com.servoy.j2db.util.Debug - java.lang.SecurityException: Signers of 'org.apache.pdfbox.rendering.PageDrawer$AnnotationBorder' do not match signers of other classes in package [ ]

followed by the Communications Link Failure messages

2021-07-05 20:48:45,481 ERROR [Worker-11: Loading servers/tables needed by current solution] persistence.Server - Final get connection failure for server cesoft in 1 times [ ]
2021-07-05 20:48:45,511 ERROR [Worker-11: Loading servers/tables needed by current solution] persistence.Server - Final get connection failure for server example_data in 1 times [ ]
2021-07-05 20:48:45,527 ERROR [main] persistence.Server - sql exception in load tables [ ]
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 1 milliseconds ago.  The last packet sent successfully to the server was 1 milliseconds ago.

and then the expected WARNs about unresolved DBs

2021-07-05 20:48:46,146 WARN [Worker-3: Building] com.servoy.j2db.util.Debug - Relation 'g_tenant_providers_active' is invalid because the datasource 'db:/cesoft/providers' can't be resolved [ ]

I’m not sure how to downgrade the IDE Java version.

downgrading the java is just adjusting the servoy.ini file besides the executable
(or for the mac its in the .app/Contents/Eclipse)

there you see the

-vm
xxxxxxx

where xxxx points to a java vm.

That xxxx can point to another location that is then a different java.

Changing to

-vm
../Eclipse/plugins/com.servoy.eclipse.jre.macosx.x86_64_15.0.2/jre/Contents/Home/lib/libjli.dylib

does indeed solve the issue. Thanks for the speedy responses!

i also did a quick test on my machine

and on 06 it works fine for me with the driver (mysql-connector-java-8.0.25.jar) and also the server version is 8.0.25 under java 16

i can connect just fine, i see the tables and i can create tables.

antonio:
Changing to

-vm

…/Eclipse/plugins/com.servoy.eclipse.jre.macosx.x86_64_15.0.2/jre/Contents/Home/lib/libjli.dylib




does indeed solve the issue. Thanks for the speedy responses!

that looks if you just point to the older java plugin of the same install?
then a bit of a warning, eclipse can remove that because it sees that it is not installed as a plugin anymore at some point

(so it could be better to copy that outside of that area or in a new folder and point to that)