glassfox:
I was having the same issue specific within an EJB timer. I was using mysql and not postgres. I was able to resolve my problem by changing the resource type to java.sql.ConnectionPoolDataSource.
Have you tried this?
[Message sent by forum member 'allenjsomb' (allenjsomb)]
http://forums.java.net/jive/thread.jspa?messageID=338011