Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Automatically deploy dependency jars for custom Hyperic plugins (2033075)

Symptoms

A plugin developer has created a custom Hyperic plugin written in Java. This plugin has dependencies on external jars which may not exist on all target machines, which may result in plugin deployment errors.

Resolution

To resolve this issue, create a custom bundle to deploy the plugin, or bundle the dependency jars in the lib directory of the plugin jar.
  • Creating a custom bundle

    To create a custom bundle, see Create a Custom Agent Upgrade Bundle in the vFabric Hyperic documentation.

  • Bundle the dependency jars in the plugin jar lib directory

    Notes:
    • Many of the Hyperic plugins bundle dependency jars in the lib directory as it avoids polluting the parent agent classpath.
    • If there are many plugins that all have the same dependencies and disk space/size of the plugin is a concern, creating an agent bundle with the shared jars in the agent's lib directory is the preferable option.

    To bundle the dependency jars, see the Plugin Classpath section on the Plugin XML Descriptor page of the Plugin Development Center.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: