Defect #1606
Servoy 2025.09.1 / Velocity-Jakarta V4
0%
Description
Hello Patrick,
Thank you for the new version for 2025.09.
I have tested the new version with Servoy 2025.09. Some problems with the servoy-service and velocity webservices. The reports are working fine.
The webservice is not working and the plugin settings are not shown on the plugins-admin-page.
1. Error in log-file:
2025-10-09 16:31:04,652 ERROR [ServoyServerScheduler-1-thread-1] com.servoy.j2db.util.Debug - Error occured loading server plugin class net.stuff.servoy.plugin.velocityreport.server.ServerPlugin [ ]
java.lang.NoClassDefFoundError: javax/activation/DataSource
at net.stuff.servoy.plugin.velocityreport.server.ServerPlugin.initialize(ServerPlugin.java:552)
at com.servoy.j2db.plugins.PluginManager.initServerPlugins(PluginManager.java:338)
at com.servoy.j2db.server.main.ApplicationServer.Za(ApplicationServer.java:153)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
2. In the Servoy Admin page the settings of the plugin are not shown?
3. Error wehn caling the page in the browser:
No Servoy web service found for 'velocity'
History
Updated by Patrick Talbot about 1 month ago
- Status changed from New to Rejected
- Priority changed from High to Normal
My guess is that you are NOT running the jakarta version of the plugin.
I have a client running velocity services/web client in Tomcat 11 with this version.
There are no longer any reference to javax.* classes anywhere in the jakarta version of the plugin.
You need to download and install (making sure you replace all jars and don't leave any old jars from previous versions) the zip called Velocity-Jakarta-v4.x.y.zip and NOT the "Velocity-v4.x.y.zip" which is for Servoy < 2025.09/Tomcat < v10... do that and this will solve the exceptions.
Updated by Sjoerd Hannema about 1 month ago
Hello Patrick,
I used the latest version of velocity Jakarta. Otherwise Servoy NG Client Launch is not working.
I have upgraded from 2025.6 version. That can be a problem when another plugin is giving a problem with the new 2025.9 version
So I have downloaded a fresh install from servoy of 2025.9. After running this version I have installed only the velocity-plugin (Jakarta version).
After starting the developer the error in the log-file and also the plugin settings are not visible on the Servoy-admin page for setting the properties.
2025-10-09 19:07:08,741 ERROR [ServoyServerScheduler-1-thread-1] com.servoy.j2db.util.Debug - Error occured loading server plugin class net.stuff.servoy.plugin.velocityreport.server.ServerPlugin [ ]
java.lang.NoClassDefFoundError: javax/activation/DataSource
at net.stuff.servoy.plugin.velocityreport.server.ServerPlugin.initialize(ServerPlugin.java:552)
at com.servoy.j2db.plugins.PluginManager.initServerPlugins(PluginManager.java:338)
at com.servoy.j2db.server.main.ApplicationServer.Za(ApplicationServer.java:153)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
Updated by Patrick Talbot about 1 month ago
- Status changed from Rejected to Resolved
Ah! I find out what was going on. I was working with a version that had some other plugins containing the activation.jar.
So, I did what you did, install a clean version of 2025.9 and found out that activation.jar is no longer contained in the distribution.
I've added it to the plugin distribution, and verified that it works fine (plugin properties appear in servoy-admin and services/web client work fine)
This is v4.0.2 that you will find in the Files section
Make sure you use the jakarta zip, and you should be fine.