Highlighted
Absent Member.. Absent Member..
Absent Member..
396 views

VMware vcenter connection by VIM discovery failing

Hi All,

My VMware job is failing and i dont understand the error message. Can someone help me to fix this issue?

 

Error:

Progress message, Severity: Error>>
Failed executing script, details: Traceback (most recent call last):
File "netutils", line 37, in <module>
File "post_import_hooks", line 38, in _post_import_notifier_fn
File "post_import_hooks", line 27, in __import_and_notify
File "F:\apps\hp\UCMDB\DataFlowProbe\bin\..\runtime\probeManager\discoveryScripts\shellutils.py", line 18, in <module>
from com.hp.ucmdb.discovery.library.clients.agents.ssh import SSHAgent
java.lang.NoClassDefFoundError: Could not initialize class com.hp.ucmdb.discovery.library.clients.agents.ssh.SSHAgent
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.python.core.Py.loadAndInitClass(Py.java:991)
at org.python.core.Py.findClassInternal(Py.java:904)
at org.python.core.Py.findClassEx(Py.java:977)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:33)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:134)
at org.python.core.PyObject.__findattr__(PyObject.java:946)
at org.python.core.imp.importFromAs(imp.java:1160)
at org.python.core.imp.importFrom(imp.java:1132)
at shellutils$py.f$0(F:\apps\hp\UCMDB\DataFlowProbe\bin\..\runtime\probeManager\discoveryScripts\shellutils.py:2428)
at shellutils$py.call_function(F:\apps\hp\UCMDB\DataFlowProbe\bin\..\runtime\probeManager\discoveryScripts\shellutils.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.imp.createFromPyClass(imp.java:236)
at org.python.core.imp.createFromPyClass(imp.java:205)
at org.python.core.imp.loadFromSource(imp.java:651)
at org.python.core.imp.find_module(imp.java:543)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject._callextra(PyObject.java:601)
at org.python.pycode._pyx0.__import_and_notify$1(post_import_hooks:32)
at org.python.pycode._pyx0.call_function(post_import_hooks)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:461)
at org.python.modules.synchronize$SynchronizedCallable.__call__(synchronize.java:85)
at org.python.core.PyObject._callextra(PyObject.java:601)
at org.python.pycode._pyx0._post_import_notifier_fn$2(post_import_hooks:38)
at org.python.pycode._pyx0.call_function(post_import_hooks)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:456)
at org.python.core.PyFunction.__call__(PyFunction.java:451)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOne(imp.java:1081)
at org.python.pycode._pyx10.f$0(netutils:1434)
at org.python.pycode._pyx10.call_function(netutils)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.Py.exec(Py.java:1430)
at com.hp.ucmdb.discovery.library.execution.impl.ScriptsLoader.loadModule(ScriptsLoader.java:236)
at com.hp.ucmdb.discovery.library.execution.impl.ScriptsLoader.loadModule(ScriptsLoader.java:142)
at com.hp.ucmdb.discovery.library.execution.impl.ScriptsLoader.loadModule(ScriptsLoader.java:138)
at com.hp.ucmdb.discovery.library.execution.impl.ScriptsLoader.loadGlobalScripts(ScriptsLoader.java:285)
at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.executeScripts(ExecutionEngineImpl.java:136)
at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:94)
at com.hp.ucmdb.discovery.probe.services.dynamic.core.TablesProcessorUtil.processDestinationTables(TablesProcessorUtil.java:140)
at com.hp.ucmdb.discovery.probe.services.dynamic.core.DynamicService.discover(DynamicService.java:76)
at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter.launchTask(JobExecuter.java:1206)
at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.remote.RemoteJobExecutor.main(RemoteJobExecutor.java:157)

java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class com.hp.ucmdb.discovery.library.clients.agents.ssh.SSHAgent

Thanks,

Kunj

 

0 Likes
1 Reply
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Please check that Vmware jars are in correct folder on the probe side.

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.