Hi, We are getting intermittent SQLExceptions from some CMP beans and the logs don't show any vendor-specific (ISAM) errors. By walking back through the sources, following the stack trace in the logs, it seems that org.jboss.ejb.plugins.LogInterceptor.handleException() doesn't check for SQLException and print getErrorCode(). Also, a grep of the Jboss sources showed no references to SQLException.getErrorCode() other than in the following places:
org.jboss.ejb.plugins.cmp.jdbc2.PkSqlCreateCommand org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter FWIW, I'm running jboss-3.2.3 on Redhat ES 2.1 on the IBM-142 JDK, running off Informix 9.4 FC3 with the ibm-2.2.1.JC6 JDBC driver. Still, I grepped the sources of jboss-4.0.1 as well and checked org.jboss.ejb.plugins.LogInterceptor in cvs to see if anything had recently been added to the 3.2 or 4.x branches. I also googled and searched the newsgroups to no avail... Could this really be a missing feature? Or am I a knucklehead who needs to RTFM? So, in short, how do I go about making sure that Jboss will print ISAM error codes for all SQLExceptions? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863577#3863577 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863577 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
