A bit more info - I added some debug to the OracleValidConnectionChecker. It
appears that the Connection that is getting passed to the
isValidConnection(Connection c) method is not, in fact, an
oracle.jdbc.driver.OracleConnection but rather a JBoss proxy of some kind.
The top of the isValidConnection method does:
log.info( "checking valid connection: " + c );
| log.info( "connection is: " + c.getClass().getName() );
| log.info( "ping method: " + ping );
| log.info( "ping method declaring class: " +
ping.getDeclaringClass().getName() );
2005-07-06 14:55:00,444 INFO [MyOracleValidConnectionChecker] checking valid
connection: [EMAIL PROTECTED]
2005-07-06 14:55:00,444 INFO [MyOracleValidConnectionChecker] connection is:
$Proxy47
2005-07-06 14:55:00,445 INFO [MyOracleValidConnectionChecker] ping method:
public int oracle.jdbc.driver.OracleConnection.pingDatabase(int) throws
java.sql.SQLException
2005-07-06 14:55:00,446 INFO [MyOracleValidConnectionChecker] ping method
declaring class: oracle.jdbc.driver.OracleConnection
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883910#3883910
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883910
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user