IBM Support

IBM Security Guardium (Guardium) - "NoClassDefFoundError" while performing a cleanup of archive/backup files on CENTERA

Troubleshooting


Problem

I am trying to use the CLI command [] support clean centera_files [] to delete archives/backups stored on Centera, but getting the following error: [] Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.log4j.Logger at com.guardium.utils.i18n.AbstractThought. (AbstractThought.java:30) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:235) at java.lang.J9VMInternals.initialize(J9VMInternals.java:202) at com.guardium.utils.Utils.(Utils.java:82) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:235) at com.guardium.externalarchiving.CenteraUtils.queryFiles (CenteraUtils.java:212) at com.guardium.externalarchiving.CenteraQuery.main (CenteraQuery.java:66) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger at java.net.URLClassLoader.findClass(URLClassLoader.java:600) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:777) at java.lang.ClassLoader.loadClass(ClassLoader.java:750) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:326) at java.lang.ClassLoader.loadClass(ClassLoader.java:731) ... 9 more No files were deleted.[]

Cause

In Guardium V9 GPU500 and beyond, the name of a JAR file has changed. This caused the CLASSPATH to not correctly set in the CLI command support clean centera_files .

Environment

v9.5

Resolving The Problem

The FIX patch is GPU750 which can be downloaded from IBM FIX Central.

If you do not wish to upgrade the appliance to GPU750 yet, please contact Guardium Support to get an ad-hoc patch suitable for the current GPU version installed :

GPU
Ad-hoc Patch Number
500
v9p1217
600
v9p1258
700
v9p1258

While requesting patch, please give a reference of this Technote, the error screenshot and appliance information by capturing following diagnostics :

support must_gather system_db_info

[{"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Guardium Appliances","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.5","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21998959