in 3.0.7 (cvs ) you can set a CheckValidConnectionSQL string that will be executed each time before a connection is handed out. An error of any kind will cause the connection to be destroyed.
In 3.2 cvs you can use the OracleExceptionSorter which should detect these errors and dispose of the connections. If I get some positive feedback that this feature works properly I will try to get it into the 3.0.7 release. This needs to happen very soon.
Great! What is the ETA of 3.07 release? Is the current dev build pretty stable?
Which section of the deployment descriptor is the CheckValidConnectionSQL added?