OracleExceptionSorter does not catch TNS errors
------------------------------------------------
Key: JBJCA-13
URL: http://jira.jboss.com/jira/browse/JBJCA-13
Project: JBoss JCA
Type: Bug
Versions: JBossAS-3.2.6
Environment: Solaris 5.8 (Sparc)
JDK 1.4.2 Build 6
JBoss 3.2.5 (validated by checking 3.2.6 source code)
Oracle 9.2.0.5 Client Drivers
Oracle 9.2.0.4 Server
Reporter: Mark Lassiter
Assigned to: Adrian Brock
Priority: Minor
The OracleExceptionSorter does not appear to correctly catch the TNS errors
produced by the 9.2.0 client drivers. Looking at the latest code in the CVS,
it appears the Sorter is looking for the string "TNS-":
... error_text.indexOf("TNS-" ..
When the text being reported is:
"ORA-12154: TNS:could not resolve service name"
Consequently, the connection is never recycled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development