Does the problem still occur with the older 42.7.3 JDBC driver?
There really aren’t that many changes to 5.4 between those two LTS releases
I just published the latest 42.7.7 postgres driver (it’s a minor CVE update, the 42.7.6 release had a lot of fixes)
https://luceeserver.atlassian.net/browse/LDEV-5661
Another user had also reported problems with the 42.7.5 driver