How to pass -Drhq.agent.security-token=<security-token>` when running JBoss ON Agent as a service

Solution Unverified - Updated -

Issue

  • How can we pass -Drhq.agent.security-token=<security-token> when running JBoss ON Agent as a service?
  • Where should we define -Drhq.agent.security-token parameter when running agent as a service?
  • Should we add -Drhq.agent.security-token parameter to RHQ_AGENT_JAVA_OPTS or RHQ_AGENT-ADDITIONAL_JAVA_OPTS in rhq-agent-env.sh?
  • How to run the rhq_wrapper.bat with security token argument?

Environment

  • Red Hat JBoss Operations Network (JON)
    • 3.1.2
    • 3.2
  • JBoss ON Agent run as a service

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.