1)When the new DB connector was starting up and issue was that the JDBC config file had an extra white space.
The error in the logs were
--------------------------
INFO: JDBC Adapter Started
java.lang.StringIndexOutOfBoundsException: String index out of range: 142
--------------------------
This error is generic and does not help at all. We worked for 3-4 days doing all trial and error methods to find out that the extra white space was causing the issue.
2)If the SQL query fails due to syntax its logged as INFO message in the log file rather than as ERROR:
------------
Jun 27, 2014 2:41:50 PM org.runmyprocess.sec.SECLogManager log
INFO: Executing query ...
Jun 27, 2014 2:41:50 PM org.runmyprocess.sec.SECLogManager log
INFO: Query execution failed
java.lang.Exception: java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
------------
Please help us in updating the log for JDBC.jar as even minor issues are taking few days to fix and we always have to rely on trial and error methods.
Regards,
Ganesh Raj
Hi Taka,
For the 1st when we worked we could not root cause the issue until we did some trial /error methods as it was a very generic exception thrown.
These errors should be caught and appropriate message thrown to user so we can narrow down the issue.
For 2nd problem its more to do with error type, ideally that should be have been listed as “ERROR” rather than “INFO”.
Regards,
Ganesh Raj S