IBM Support

IBM InfoSphere Guardium CLI command support clean centera_files throws java.lang.NoClassDefFoundError

Troubleshooting


Problem

You try to use the CLI command support clean centera_files to delete archives/backups stored within Centera, but get 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:666) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:773) at java.lang.ClassLoader.loadClass(ClassLoader.java:746) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:336) at java.lang.ClassLoader.loadClass(ClassLoader.java:727) ... 9 more No files were deleted.

Cause

In Guardium V9 GPU500, the name of one JAR file is changed. This caused the CLASSPATH is not correctly set in the CLI command.

Environment

Guardium v9 GPU500

Resolving The Problem

Patch v9p1217 resolves the problem. Please contact Guardium support to get the patch and refer to this technote in problem description.

[{"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Guardium Database Activity Monitor","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

swg21902899