New POOL connection in Glassfish is giving error

2

I'm trying to make a new Connection POOL in GlassFish, but when I test in "Ping" it has the following error:

Configuredproperties:

Can anyone help?

    
asked by anonymous 15.12.2015 / 16:51

1 answer

1

You do not need all these settings.

Create a JDBC Connection pool in the glassfish with the following configs:

datasource-classname: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
res-type=javax.sql.ConnectionPoolDataSource

Then click aditional properties and place these properties

> name="User" value="NameUSER" 
> name="Password" value="yourpass"
> name="serverName" value="localhost" 
> name="databaseName" value="databasename"

This should work!

    
12.02.2016 / 16:41