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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content