Tag Archives: Glassfish

Glassfish 4 and Postgresql 9.3 driver

Today I configured another development stend for our team. This time I added Postgresql 9.3 ODBC driver support to our Glassfish 4 server. What should I do to repeat this actions:

Put Postgresql driver to Glassfish domain lib folder

This link contains the latest PostgreSql driver: http://jdbc.postgresql.org/download.html  I got the postgresql-9.3-1100.jdbc41 one. 
Copy downloaded driver to GLASSFISH_HOME/domains/YOUR_DOMAIN/lib, for example to /opt/glassfish4/domains/domain1/lib
Restart Glassfish

Continue reading