This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Connection Pool issues with GlassFish" Watch "Connection Pool issues with GlassFish" New topic
Author

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