users@glassfish.java.net

Re: Connection pool connection returns null from prepareStatement()?

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Oct 2009 07:12:27 PDT

I found the problem. Someone else had tried to install the Alfresco content management system (at least I think this was the culprit). As part of its installation, it appears that this application installed the MySQL Connector/J version 5.1.5 into Glassfish's domains/domain1/lib/ext directory, *alongside* my 5.1.10 jar. The net result was two jar files with various mostly identical MySQL JDBC driver classes. Who knows what was happening.

Thanks anyway,
Laird
[Message sent by forum member 'ljnelson' (ljnelson_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=367126