I\'m trying to develop an EJB application using Netbeans 8 on a Postgres 9.2 db and Glassfish 4 server.
Once I created connection pool and JDBC resources in the glas
In my case I had to go to glassfish admin panel and change the driver class of Derby connection pool (under JDBC resources) to "org.apache.derby.jdbc.ClientDataSource"
adding the driver jar file to "{$installation_folder}\NetBeans 8.0.1\ide\modules\ext" fixed the problem for me
Solved: it was a connection pool issue. Creating a driver one in glassfish admin panel I've got no more problems.