NQMYsql service wont start after upgrade, java.lang.ClassNotFoundException
search cancel

NQMYsql service wont start after upgrade, java.lang.ClassNotFoundException

book

Article ID: 260168

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

After an upgrade, the "NetQos NQMySQL" service on one of the three Harvesters won't start.

The mysqlcse-wrapper.log shows this:

INFO   | jvm 1    | 2023/02/15 12:04:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp INFO   | jvm 1    | 2023/02/15 12:04:06 | Caused by: java.lang.ClassNotFoundException: org.tanukisoftware.wrapper.WrapperSimpleApp ERROR  | wrapper  | 2023/02/15 12:04:06 | JVM exited while loading the application.

Cause

Files missing from the \Netflow\lib directory.

In this case, the missing file was "wrapper.jar"

Resolution

Copied the "\netflow\lib" directory from another Harvester running the same version of NFA, and use it to replace the one on the Harvester giving errors.