We get after deploying on a Windows Server 2019 Standard the following error when starting the deployed application:
but the commons-compress-1.20.jar – as all other jars – were successfully signed, as seen here:
/Applications/Servoy.app/Contents/application_server/plugins/poi/commons-compress-1.20.jar start processing
/Applications/Servoy.app/Contents/application_server/plugins/poi/commons-compress-1.20.jar repacked
/Applications/Servoy.app/Contents/application_server/plugins/poi/commons-compress-1.20.jar first sign attempt
/Applications/Servoy.app/Contents/application_server/plugins/poi/commons-compress-1.20.jar repacked
/Applications/Servoy.app/Contents/application_server/plugins/poi/commons-compress-1.20.jar second sign attempt
/Applications/Servoy.app/Contents/application_server/plugins/poi/commons-compress-1.20.jar signed
Jar file size: 652Kb
Process time: 1110ms
We ran out of ideas about debugging the deployment error.
I did download the jar from the server. Since I do only have JRE installed on the test client, I did copy the file to my computer and did run the verify. Answer: “jar is unsigned”- However this is possible, we now know, where to focus on.
Have you tried killing the server cache (/work/Catalina/localhost/) ?
And just to rule out all the possibilities, perhaps for some odd reason the jar wasn’t signed correctly. Can you verify the original jar (the one in your development environment) as well?
Thank you for the answer!
I just checked, yes, development jars (where the context (WAR) file is exported from) are verified.
We are about to look for a caching problem.