I believe the problem here is the mysql driver needs to be installed as a server library rather than just providing it as an application dependency. I ran into a similar problem with postgresql under GlassFish 5 and installing the jar inside {{ domains / domain1 / lib / ext }} fixed the issue. |