infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
NoClassDefFoundError in WebServer process after adding database actions
Diana de Bruin
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
Find more posts tagged with
Clovertech
Comments
david_barr
It does sound like a CLASSPATH problem. I'm not very familiar with how environment variables are set in Cloverleaf under Windows. I'm more familiar with Linux. If you can get tech support from Infor that would probably help.
I would see if starting the process from the command line (hcienginerun command) vs. starting through the host server vs. having the processes auto-start with the service makes a difference in how it behaves.