Hi,
I'm trying to use h2 db v1.4.192 with Payara Application server (it's a fork of GlassFish) but I'm getting the SQLClient exception given below.
java.sql.SQLClientInfoException: Property name 'numServers is used internally by H2.
at org.h2.jdbc.JdbcConnection.setClientInfo(JdbcConnection.java:1711)
at org.h2.jdbc.JdbcConnection.setClientInfo(JdbcConnection.java:1768)
at com.sun.gjc.spi.jdbc40.ConnectionHolder40.setClientInfo(ConnectionHolder40.java:332)
The reason behind is, JdbcConnection class sets numServers as clientInfo and Payara's ConnectionHolder40 class get this default client info and sets it to JdbcConnection by calling setClientInfo. The internal usage check is implemented in v1.4.192 and previous version of H2 (1.4.191) works ok with the Payara application server.
How can I resolve this issue?