[jboss-user] [JCA/JBoss] - Re: OracleExceptionSorter and CLOSED CONNECTION exception
ldevallonne
do-not-reply at jboss.com
Thu Sep 7 04:01:58 EDT 2006
We use the ojdbc14.jar 10.2.0.1.0 from Oracle.
The modification could look like :
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)
|| (error_text.indexOf("CLOSED CONNECTION") > -1) ) ) //Oracle driver error 17008
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970009#3970009
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970009
More information about the jboss-user
mailing list