How to find out the port of an domain/host controller using JBoss ON CLI?
Issue
- Could you please tell me how to figure out the port of an domain / host controller?
- How to find out the port of an domain/host controller using JBoss ON CLI?
- I have tried to use
resource.getResourceConfiguration()at the end of the following script:
var criteria = new ResourceCriteria();
criteria.addFilterResourceTypeName("JBossAS7 Host Controller");
criteria.addFilterInventoryStatus(InventoryStatus.COMMITTED);
criteria.addFilterResourceKey("myResourceKey");
var resources = ResourceManager.findResourcesByCriteria(criteria);
var resource = resources.get(1);
resource.getResourceConfiguration();
but this did not work. How can I get domain/host controller port and other configuration data?
Environment
- Red Hat JBoss Operations Network (JON) 3.1.2
- Red Hat JBoss ON Command Line Interface (CLI) 3.1.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.
