ConfigurationManager.getResourceConfiguration(<resource id>) return null
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
