Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

Autodiscovery for vSphere plugin doesn't work due to java.lang.NoClassDefFoundError

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 4.6
  • Fix Version/s: 4.6, 4.x Sprint 27
  • Component/s: None
  • Case Links:
    none
  • Regression:
    Yes
  • Tags:

Description

The httpclient was recently upgraded from 3.x to 4.x because of security work on 7/2. Because the upgraded lib repackaged some classes, this exception now occurs when the vSphere plugin runs:

2011-07-12 09:03:34,377 ERROR [Thread-5] [RuntimeAutodiscoverer] Unable to run autodiscoverer for plugin: VMware vCenter (consult product setup help): org/apache/commons/httpclient/Credentials
java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Credentials
at org.hyperic.hq.hqapi1.HQApi.<init>(HQApi.java:74)
at org.hyperic.hq.plugin.vsphere.VCenterDetector.getApi(VCenterDetector.java:76)
at org.hyperic.hq.plugin.vsphere.VCenterDetector.discoverPlatforms(VCenterDetector.java:119)
at org.hyperic.hq.plugin.vsphere.VCenterDetector.discoverServices(VCenterDetector.java:179)
at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:219)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.Credentials
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 10 more

Activity

Hide
David Crutchfield added a comment -

The migration is currently under way

Show
David Crutchfield added a comment - The migration is currently under way

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    2 years, 41 weeks, 1 day ago