I use Glassfish 3.1.2.2 (build 5), JPA, EclipseLink, MySQL
I created MySQL pool via Glassfish admin panel. Ping to MySQL from GF admin panel is ok.
I created
I had the same problem when I run/deploy an app on a server created by netbeans instalattion wizard.
To solve I downloaded the last glassfish version from official site and went to: Netbeans > "Service's Tab" > "Servers" > "Add Server...".
Remember to change your project configurations to use the new glassfish server instance.