RA OEBS Agent fails to start: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
search cancel

RA OEBS Agent fails to start: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

book

Article ID: 115904

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

RA OEBS Agent fails to start. A forced trace is created in the Agent's log directory, which contains the following stack trace:

20180925/150608.128 - 13     java.sql.SQLException: JDBCConnection createConnection: CONN.OEBS
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
...
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

Cause

The RA OEBS Agent cannot find the ojdbc.jar, which contains necessary libraries to run the Agent. 

Resolution

Place the ojdbc driver (e.g. ojdbc6.jar) into the RA OEBS Agent's bin/lib directory.