Welcome Guest! Log in

Topic-icon Question How to Interpret correctly an error message ?

  • Nicolas Verscheure
  • Nicolas Verscheure's Avatar Topic Author
  • Offline
More
24 Nov 2014 09:57 #1 by Nicolas Verscheure
Nicolas Verscheure created the topic: How to Interpret correctly an error message ?
Sometimes the error message in CORE_RET_MESS is not explicit :

Engine Exception : com.indy.engine.common.exceptions.EngineExceptionI: java.sql.SQLException: SQL Exception

You have to seek deeper in the CORE_STACK_TRACE to find the explanation :


com.indy.engine.common.exceptions.EngineExceptionI: com.indy.engine.common.exceptions.EngineExceptionI: java.sql.SQLException: SQL Exception
 at com.indy.engine.action.common.ActionCodeTypeI.setConnection(SourceFile:370)
 at com.indy.engine.action.common.ActionCodeTypeI.setConnection(SourceFile:257)
 at com.indy.engine.actionCodes.FileWaitActionCodeI.executeSimpleCode(SourceFile:116)
 at com.indy.engine.action.common.ActionCodeTypeI.executeCode(SourceFile:1249)
 at com.indy.engine.action.common.ActionCodeTypeI.run(SourceFile:1323)
 at java.lang.Thread.run(Thread.java:662)
Caused by: com.indy.engine.common.exceptions.EngineExceptionI: java.sql.SQLException: SQL Exception
 at com.indy.engine.main.connections.a.a(SourceFile:291)
 at com.indy.engine.main.connections.JDBCConnectionContainerI.<init>(SourceFile:30)
 at com.indy.engine.action.common.ActionCodeTypeI.setConnection(SourceFile:363)
 ... 5 more
Caused by: java.sql.SQLException: SQL Exception
 at com.indy.engine.main.connections.a.b(SourceFile:222)
 at com.indy.engine.main.connections.a.a(SourceFile:289)
 ... 7 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
 at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
 at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
 at com.indy.engine.main.connections.a.b(SourceFile:204)
 ... 8 more
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
 at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:169)
 at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
 ... 10 more

In that case, the Runtime has not found the Oracle driver.

Please Log in or Create an account to join the conversation.