search cancel

Java Error throwing when Starting JWP Error: A JNI error has occurred Exception in thread "main" jav

book

Article ID: 89827

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Java Error throwing when Starting JWP Error: A JNI error has occurred Exception in thread "main" jav

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

Symptoms

Starting JWP in Windows ends up with error messages in WP log:

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.NoClassDefFoundError: org/osgi/framework/Bun



Cause

LIB and PLUGINS folder not located in BIN folder of automation engine but in Automation Engine Folder

errornous structure:

Automation Engine/BIN

Automation Engine/plugins

Automation Engine/lib



Resolution

correct structure that plugins and lib folder are located in BIN folder of Automation Engine:

Automation Engine/BIN

Automation Engine/BIN/plugins

Automation Engine/BIN/lib