We are pleased to announce the availability of Servoy 2021.09 (release number 3703)
Look at the whats new for more info about the 2021.09.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.06 (4.20)
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.2). 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 2021.03.1 LTS and enabled only the lts update site.
Has there been a change to how the IDE does the export to war file?
After updating to the final release 3703 the export to war hangs with the copy plugins message showing.
I looked at the .log file and there seems to be a time reading error?
I copied the information of the war export to a file then invoked the batch file to do same. This gives me the "something is wrong message.
I did do a war export using 2021.09 rc2 and it was ok.
between RC2 and the final there where almost no changes
and i don’t think any in the WAR export area. So i have no idea why that suddenly can go wrong.
Also i haven’t heard any other complains also all the command line exports (which is the same code) that are also working fine.
maybe when it hangs you can make a stackdump on the admin page to see where it is busy with then.
I have attached the admin log file.
It appears to be a stack overflow error. But not sure what cauess it.
When the war export is running it shows the “copy plugins” then stops.
I have selected all the plugins to be use in the war.
This is the exact same setup as I did in rc2.
Is there anything else I can examine or enhance in the logging?
this is somehow a problem with copying the plugins (and the jnlp files with them)
it seems to be finding constantly the same set of files that it wants to copy
So there is something in your application_server/plugins dir that is weird or changed between RC2 and the final
I did a test:
select all plugins EXCEPT servoy_jasperreports and it exports correctly.
In the folder \plugins\servoy_jasperreports there is a poi-4.1.1.jar
In the folder \plugins\poi there is the same file.
I will remove the poi-4.1.1.jar file from the servoy_jasperreports plugin folder and try again with all plugins to export: fails to export!
The jasper reports plugin is version 6.17.0 (I downloaded 2021.Sep.02).
I just tried a war export with 2021.09 with latest jasper plugin, and for me it works fine; are you sure you have the plugin correctly copied? If you think everything is ok, and still have the issue, you could just zip your install and send it to us, so we can debug it.
I have now deleted the servoy_jasperreports plugin and associated files from the application server. Then re-downloaded the servoy_jasperreports plugin and installed it.
Note that I use the svyUtils$Excel and therefore in the past changed the servoy_jasperreports_jar.jnlp file as per ExcelUtils · Servoy/svyUtils Wiki · GitHub.
This time I did not change the servoy_jasperreports_jar.jnlpfile.
The export of war file went correctly included was the servoy jasper reports plugin jar files.
Then I added the changes to the servoy_jasperreports_jar.jnlpfile and now the export to war file hangs.
Does this mean that the instructions at ExcelUtils · Servoy/svyUtils Wiki · GitHub are no longer correct?
just tried with adding the poi.zip from https://github.com/Servoy/svyUtils/wiki/ExcelUtils and it works fine for me; can you show the content of your servoy_jasperreports.jar.jnlp after your change? I guess you do have the plugins/poi folder, right?
your jnlp looks fine, I tried it, and the export works fine; please zip your install (with the all your changes), and create a case with it in our support system
You are thinking of some corruption in the Servoy release that I have?
I used the update method. Maybe something went wrong.
I could always try to download a fresh copy entirety rather than updates.
I cannot zip the install for the support system - max limit of 19.54 Mb
I downloaded a full version of the Servoy_2021.09.0.3703, made all my databse server connections again, specified the code workspace.
I did not download the servoy_jasperreports plugin.
War file export: select all plugins on the dialog - export fails in the same way.
Remove servoy-jasperreports from the list - export runs ok.
So something wrong in the war export code (which of course I have no way to debug).
There are plugins listed that I do not use in my code (yet) or that I am not aware of using, such as oath.jar, openid.jar, mobile.jar, mobileservice.jar and perhaps more.
I had assumed that the war exporter was smart enough to determine what jar files are needed.
Is there a way to check what jars the solution needs for the export external to the war exporter?
Is there a way to log progress of the war file exporter?
If I put back servoy_jasperreports and try to eliminate as many jars as I beleive are not used would that help?
no that doesn’t help
this is a jnlp problem it has for some reasons a cycle in that
we really need to have the full plugins dir that you use to export, zip that place that on google drive or another cloud service.
What did you mean with “I did not download the servoy_jasperreports plugin.” and then “Remove servoy-jasperreports from the list - export runs ok.”
how can the jasper reports plugin to be in there in the first place? because a full version of servoy (clean install) doesn’t have jasper at all
Johan,
sorry my mistake: I inadvertently used the original install rather than the new(full) install.
I meant that I did not install the servoy_japerreports plugin to the new (full) install.
Now repeating the war export:
no servoy_jasperreport jar shows in the dialog.
export sucessfully
Now downloading the servoy_jasperreports plugin and putting into the full install. Also adding that snippet in the jnlp.
repeat war export:
servoy_jasperreport jar shows in the dialog. (and included it in the export)
export sucessfully
Therefore I conclude that the updates I performed to 2021.09 (rc1, rc2 and the final) somehow got corrupted - or I goofed up some place.
I should have done all these tests before contacting the forum!
Thanks to all who helped.
but that is then still weird, because an developer update doesn’t really touch jasper (because it is not part of the install)
So then i still wonder what the difference now is with a working jasper dir and the none working jasper dir. there must be a change.
I debugged the war export in your install and I found the problem: it is the ‘svy_utils_excel.jar,jnlp’ that has a wrong self reference inside:
- this causes the infinite loop