This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Connection Pool issues with GlassFish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Connection Pool issues with GlassFish" Watch "Connection Pool issues with GlassFish" New topic

Connection Pool issues with GlassFish

Varnam Aayiram
Ranch Hand

Joined: Dec 23, 2008
Posts: 88
Hi Folks...

I was developing a java web app in a winxp machine and am now moving the work to a windows 7 machine. The tools I am using are Netbeans 6.5.1, MySql5.1 and Glassfish v2(bundled with netbeans).

I am having difficulty with the connection pools in the Windows7 machine. I created a connection pool, but when I ping, I am getting the following error:

I understand that normally this could mean that the jdbc-driver for MySQL is missing. However I wonder how this could be possible as I can connect to the mysql database via netbeans( under 'services ->Databases) and execute queries. The connection pool I set in the glassfish server in the Win 7 machine is identical to the one in the WinXP machine, but the the WinXP connection pool works fine, as in the ping is sucessful. I hope someone can advise me on what could be the problem. Thanks.
Paul Okeke
Ranch Hand

Joined: May 16, 2009
Posts: 58
Copy and paste the JDBC driver of MySQL into the lib folder of your grassfish application server.

OCJP 1.6
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Connection Pool issues with GlassFish
It's not a secret anymore!