I would suggest adding a [b]driverType=4[/b] in the jdbc entry corresponding to your database in domain.xml (can be done through the console properties, adding it), and then copying db2jcc4.jar and db2_cu_license.jar to the domain/<domain-name>/lib/ext directory in your glassfish installation. Restart the server and try.
[Message sent by forum member 'galdunate' ]
http://forums.java.net/jive/thread.jspa?messageID=372809