Glassfish + Postgres can't ping connection pool Glassfish + Postgres can't ping connection pool postgresql postgresql

Glassfish + Postgres can't ping connection pool


Ok, it was all about jar. I copied these files:

postgresql-9.2-1002.jdbc4postgresql-9.2-1002.jdbc3

to C:\Users\epcs\GlassFish_Server\glassfish\domains\epacjent\lib and it finally works.


Have you attempted to put a Postgres JDBC driver jar in your GlassFish lib directory? With MySQL, we had to download a MySQL JDBC driver and copy the jar file into /opt/glassfishv3/glassfish/lib.