Have you enabled connection validation? If its possible to get the physical connection using com.sun.appserv.jdbc.DataSource, you could do a ds.markConnectionAsBad(phyConn);
[Message sent by forum member 'sm157516' (sm157516)]
http://forums.java.net/jive/thread.jspa?messageID=353500