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

vsphere plugin can't load jasypt classes

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 4.5.2.1, 4.5.2.2
  • Fix Version/s: 4.5.2.3, 4.6.0.2, 4.5.3, 4.6.5
  • Component/s: Plugins
  • Case Links:
    none
  • Regression:
    No
  • Tags:

Description

HQApi 4.3 introduced a new dependency on jasypt-1.6.jar. The dependency for the agent wasn't updated to include this jar. This results in vsphere plugin not working.

Workaround: Download and drop into bundles\agent-*\pdk\lib http://repo1.maven.org/maven2/org/jasypt/jasypt/1.6/jasypt-1.6.jar

Activity

Hide
Wes Schlichter added a comment -

2011-10-17 22:42:48,289 ERROR [Thread-1] [AutoScan] AutoScan failed for VMware vCenter
java.lang.NoClassDefFoundError: org/jasypt/encryption/StringEncryptor
at org.hyperic.hq.hqapi1.HQApi.<init>(HQApi.java:77)
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.discoverPlatforms(VCenterDetector.java:144)
at org.hyperic.hq.plugin.vsphere.VCenterDetector.getServerResources(VCenterDetector.java:164)
at org.hyperic.hq.autoinventory.scanimpl.NullScan.scan(NullScan.java:83)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:198)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

Show
Wes Schlichter added a comment - 2011-10-17 22:42:48,289 ERROR [Thread-1] [AutoScan] AutoScan failed for VMware vCenter java.lang.NoClassDefFoundError: org/jasypt/encryption/StringEncryptor at org.hyperic.hq.hqapi1.HQApi.<init>(HQApi.java:77) 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.discoverPlatforms(VCenterDetector.java:144) at org.hyperic.hq.plugin.vsphere.VCenterDetector.getServerResources(VCenterDetector.java:164) at org.hyperic.hq.autoinventory.scanimpl.NullScan.scan(NullScan.java:83) at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:198) at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141) at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41) at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
Hide
Ryan Morgan added a comment -

Mark 4.5.2.3 and 4.6.0.2. Issue only persists on 4.5.2 currently as HQApi has not been updated in 4.6.x yet. Marking 4.6.0.2 so that these pom changes can be forward propagated so we don't hit this issue when the API is updated.

Reason for 4.5.2.x here is this bug prevents vsphere plugin from working on 4.5.2.

Show
Ryan Morgan added a comment - Mark 4.5.2.3 and 4.6.0.2. Issue only persists on 4.5.2 currently as HQApi has not been updated in 4.6.x yet. Marking 4.6.0.2 so that these pom changes can be forward propagated so we don't hit this issue when the API is updated. Reason for 4.5.2.x here is this bug prevents vsphere plugin from working on 4.5.2.
Hide
Wes Schlichter added a comment -

Added dependency to assembly.xml

Show
Wes Schlichter added a comment - Added dependency to assembly.xml
Hide
tzirla rozental (c) added a comment -

the jaypt-1.6.jar appears in
hyperic-hqee-agent-4.6.5.BUILD-SNAPSHOT
and vsphere plugin in
Hyperic Version 4.6.5.BUILD-SNAPSHOT-2012-01-01 work fine

Show
tzirla rozental (c) added a comment - the jaypt-1.6.jar appears in hyperic-hqee-agent-4.6.5.BUILD-SNAPSHOT and vsphere plugin in Hyperic Version 4.6.5.BUILD-SNAPSHOT-2012-01-01 work fine

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    2 years, 16 weeks ago