Using windows Cloverleaf v20.1.3
We have created a ws-server webservice on our development server.
The webserver thread has a route to a database-outbound thread and uses a translation containing a .tbl that references a SQL table.
After some initial java errors when we started making the webserver thread we had no further problems running the webserver and updating our SQL table.
We are now installing the process on our production server, but as soon as we add the DatabaseOutbound thread we get an error and our webserver thread gets status ‘error’:
Call to protocol class loader to load com.infor.cloverleaf.gjdws.WSServer had an exception
java.lang.NoClassDefFoundError: com/lawson/cloverleaf/driver/ToCloverleafLink
These java files are used:
..\integrator\CAA\ws\lib\GJDWS.jar
..\integrator\CAA\ws\lib\GJDWS_lib
[java:init:ERR /0: wsPatient:05/09/2025 14:18:01] Call to protocol class loader to load com.infor.cloverleaf.gjdws.WSServer had an exception
java.lang.NoClassDefFoundError: com/lawson/cloverleaf/driver/ToCloverleafLink
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
……. 23 more
[java:init:ERR /0: wsPatient:05/09/2025 14:18:01] Class loader returned null for class com.infor.cloverleaf.gjdws.WSServer
[java:init:ERR /0: wsPatient:05/09/2025 14:18:01] Call to pdjSetClass failed.
[pd :pdtd:ERR /0: wsPatient:05/09/2025 14:18:01] PD initialization FAILED!
All .jar files are whitelisted and de database connection has a max pool size of 5 (we’ve had problems with the max pool size of 1 in te past).
There are some old forum threads pointing to wrong values in the Java CLASSPATH value, but because of the error the classpath is not displayed in our process log.
When we stopped de webserver thread on our development server it suddenly started working on out production server (for a while).
But we can’t really think of any resource that both environments share – except our Cloverleaf Service account.
Any and all advice is welcome,
Diana
LUMC -Leiden University Medical Centre
The Netherlands