Problem to configure JDBC Pool Connection. [message #1869282] |
Thu, 08 August 2024 16:31 |
Eclipse User |
|
|
|
I'm initiating my learned in glassfish, I've an web app in java with mysql db then I'm trying to create an jdbc connection pool, my cooncention pool is:
- Pool Name : MedicalDS
- Resource Type: javax.sql.ConnectionPoolDataSource
- Datasource Classname: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
Propert is:
- password: password of my db
- databaseName: db_medical
- serverName; my ip address
- user: root
- portNumber: 3306
But when I ping to test the configuration I'm receiving an error "Ping Connection Pool failed for org.glassfish.resourcebase.resources.api.PoolInfo@d07ba71f[jndiName=MedicalDS, applicationName=null, moduleName=null]. Class name is wrong or classpath is not set for : com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource Please check the server.log for more details."
Thanks in advanced.
|
|
|
Powered by
FUDForum. Page generated in 0.06117 seconds