search cancel

AWI: Java Processes fail to start with no ocijdbc12 in java.library.path

book

Article ID: 189142

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

After upgrading, Java Processes fail to start, providing an error message similar to:

20200417/174032.798 - 46     U00045025 OSGI ['com.automic.kernel']: '[com.automic.kernel.impl.ServerProcess(68)] The activate method has thrown an exception'
20200417/174032.798 - 46               Unhandled Exception in thread ConfigurationListener Event Queue
20200417/174032.799 - 46     U00045014 Exception 'java.lang.UnsatisfiedLinkError: "no ocijdbc12 in java.library.path"' at 'java.lang.ClassLoader.loadLibrary():1860'.
20200417/174032.799 - 46     U00003620 Routine 'com.automic.kernel.impl.DefaultExceptionHandler' forces trace because of error.

Cause

Incorrect environment configuration and/or incorrect files.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

Make sure that:

1.) The LD_LIBRARY_PATH is set containing the location of your oracle installation
2.) ORACLE_HOME is set correctly
3.) The files present in the AutomationEngine/bin/lib folder are correct for your database version (ojdbc8.jar for example) and for the version of Automic (org.eclipse.osgi.jar is for the upgraded version)