Suitable path to install JDBC drivers 5.192 or later

217 views
Skip to first unread message

HASUNUMA Kenji

unread,
Jun 25, 2019, 3:51:50 AM6/25/19
to Payara Forum
Hello all,

I post behalf of Japanese Payara community.

Perhaps, you installed JDBC drivers in payara5/glassfish/domains/domain1/lib/ext (for example), but Payara Server 5.192 or later that is running on JDK 11 doesn't load the driver from there. Instead, install JDBC drivers in payara5/glassfish/domains/domain1/lib. This is caused that the system property 'java.ext.dirs' is no longer supported in JDK 11.

I'd like to say some notices regarding this as follows:
  • If you run Payara Server 5.192 (or later) on JDK 8, you can still install your driver in lib/ext directory. However, installing additional drivers in lib/ext is deprecated (both JDK 8 and JDK 11) since Payara Server 5.191.
  • In Payara Server 5.192, additional drivers in lib/ext don't work even on JDK 8 due to known issue [PAYARA-3931]. If you upgrade Payara Server 5.191 to 5.192 and the drivers don't work, check the path and move them to suitable place.
  • I suggest you to use 'add-library' command of asadmin utility for installation additional driver. This command has added since Payara Server 4.1.2.173. It installs your driver to suitable place and enable immediately.
See also Payara Server 5.192 Release Notes - https://docs.payara.fish/release-notes/release-notes-192.html. There are some important things when you upgrade 5.191 to 5.192. Read the release notes to prevent any troubles.

Many thanks,
Kenji HASUNUMA
Reply all
Reply to author
Forward
0 new messages