I guess, you are using jdk 1.6. If you are not using JDBC 4.0 specific features, use the following flag.
AS_INSTALL_DIR/bin/asadmin set
domain.resources.jdbc-connection-pool.POOL_NAME.JDBC30DataSource=true
or by adding property "JDBC30DataSource" as "true" in connection pool page of admin GUI.
[Message sent by forum member 'jr158900' (jr158900)]
http://forums.java.net/jive/thread.jspa?messageID=227045