Skip to main content



      Home
Home » Eclipse Projects » GlassFish » Problem to configure JDBC Pool Connection.(Ping Connection Pool failed for org.glassfish.)
Problem to configure JDBC Pool Connection. [message #1869282] Thu, 08 August 2024 16:31
Eclipse UserFriend
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.
Previous Topic:GlassFish 4.1 CPU usage increase
Next Topic:CXF 4.0.4 compatibility with Glassfish 6.2.5 question
Goto Forum:
  


Current Time: Wed Apr 30 20:23:34 EDT 2025

Powered by FUDForum. Page generated in 0.06117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top