com/hp/ov/xpl/config/ConfigNamespace class error in BSMRCollectionService

  • KM02818364
  • 15-Jun-2017
  • 15-Jun-2017

Summary

com/hp/ov/xpl/config/ConfigNamespace class error in BSMRCollectionService

Error

SHR/OBR Collection service not running on even when it starts successfully:

# service HPE_PMDB_Platform_Collection start
HPE_PMDB_Platform_Collection service: started sucessfully.

Following error is seen in $PMDB_HOME/log/BSMRCollectionService.log

Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/ov/xpl/config/ConfigNamespace
at com.hp.bto.bsmr.collection.CollectionManager.<clinit>(CollectionManager.java:106)
Caused by: java.lang.ClassNotFoundException: com.hp.ov.xpl.config.ConfigNamespace
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more

Cause

This problem is caused by missing libraries.

Check that commom components .jar files are present under /opt/OV/java (linux) or C:\HPE-OBR\java (Windows), for example:

-r-xr-xr-x 1 bin bin 60714 Nov 20 2015 jcodautil.jar
-r--r--r-- 1 bin bin 550708 Nov 20 2015 OvBbc.jar
-r--r--r-- 1 bin bin 559034 Nov 20 2015 OvBbcSsl.jar
-r-xr-xr-x 1 bin bin 124854 Nov 20 2015 OvJCoda.jar
-r--r--r-- 1 bin bin 57621 Nov 20 2015 OvSecCore.jar
-r--r--r-- 1 bin bin 106944 Nov 20 2015 xpl.jar

 

Fix

If the libraries are not present,  copy them from another system running same SHR/OBR version