[jboss-user] [JCA/JBoss] - Re: OracleExceptionSorter and CLOSED CONNECTION exception

weston.price@jboss.com do-not-reply at jboss.com
Wed Sep 6 16:21:11 EDT 2006


What version of the Oracle Driver are you using? The patch that was applied to 4.0.5CR1 should catch the code, but it looks like it is not catching the appropriate text if you look at the line: 

if( ( error_code < 20000 || error_code >= 21000 ) &&
             (  (error_text.indexOf("SOCKET") > -1)     //for control socket error
             || (error_text.indexOf("CONNECTION HAS ALREADY BEEN CLOSED") > -1)
             || (error_text.indexOf("BROKEN PIPE") > -1) ) )

This is to allow user defined codes on the driver. 

In the interim, you can define your own ExceptionSorter to handle this case and I can incorporate the changes in a later release. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969861#3969861

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969861



More information about the jboss-user mailing list