How to specify different Java Preference name for the JON Agent when multiple agents are sharing the same user or service account

Solution Verified - Updated -

Issue

  • How can I specify a different profile or preference name for Java Preferences?
  • Multiple agent installations sharing the same user home directory is resulting in them overwriting each others preferences
  • How to make each agent use a unique preference file

Environment

  • Red Hat JBoss Operations Network (ON)

    • 2.4
    • 2.4.1
    • 3.0.0
    • 3.1.0
    • 3.2
    • 3.3
  • JBoss ON Agent

  • Configuration stored in Java Preferences (default $USER_HOME/.java/.userPrefs/rhq-agent)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.