It looks like the older version of jdbc .rar classes are made available in GlassFish-v3 installation.
eg: Did you make appserv-rt.jar from GlassFish-v2 to be available for the GlassFish-v3 installation (eg: to lib directory) ?
[Message sent by forum member 'jr158900']
http://forums.java.net/jive/thread.jspa?messageID=394116