ConfigurationManager.getResourceConfiguration(<resource id>) return null

Solution Unverified - Updated -

Issue

  • I wonder why ConfigurationManager.getResourceConfiguration() returns null instead of information about the resource configurations?
  • When I try to call ConfigurationManager.getResourceConfiguration() for EAP 4 and 5 and to get server-name value I get configuration null;
  • I try to get server name unsuccessfully in the following way:
$ var resources2 = ResourceManager.findResourcesByCriteria(criteria2);
$ pretty.print(resources2)
id    name               version   currentAvailabilit resourceType

58265  EAP test.com default        EAP 5.2.0 UP                 JBossAS Server
$ ConfigurationManager.getResourceConfiguration(58265)
Configuration [162835] - null
  • How can i fix this or is there any other option to get the server-name value ?

Environment

  • Red Hat JBoss Operations Network (JON) 3.2
  • Red Hat JBoss ON Command Line Interface (CLI) 3.2

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