JBossAS7 configuration RHQ 4.13.1
jtordoya Mar 31, 2015 6:59 PMHello,
I’m trying to configure agent for AS7 but have some errors.
I’ve setting hostname, port, user and password on “Connection settings”. User and password work if I try to connect to http://server:9990.
I need setting additional values?
RHQ version 4.13.1
Log file on debug mode shown the next:
2015-03-31 12:01:06,073 DEBUG [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Discovering child Resources for Resource[id=10163, uuid=bae6a334-61c6-4f21-a778-6ebc8251928a, type={JBossAS7}JBossAS7 Host Controller, key=hostConfig: /opt/jboss-as-7.1.0.Final/domain/configuration/host.xml, name=AS Domain Controller (master31 xx.xx.xx.xx:9990), parent=srvuat03.domain.com, version=7.1.0.Final]...
2015-03-31 12:01:06,074 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- JSON to send: {"operation":"read-attribute","address":[{"host":"null"}],"name":"name"}
2015-03-31 12:01:06,077 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- Requested management resource not found: host=null
2015-03-31 12:01:06,081 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- {
"outcome" : "failed",
"failure-description" : "JBAS014807: Management resource '[(\"host\" => \"null\")]' not found",
"rolled-back" : true
}
2015-03-31 12:01:06,081 WARN [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- ------ Detected 'failure-description' when communicating with server.{"outcome":"failed","failure-description":"JBAS014807: Management resource '[(\"host\" => \"null\")]' not found","rolled-back":true}
2015-03-31 12:01:06,081 WARN [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.BaseServerComponent)- Domain host name seems to be changed
2015-03-31 12:01:06,081 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- JSON to send: {"operation":"read-attribute","address":[],"name":"local-host-name","include-defaults":true}
2015-03-31 12:01:06,124 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- Requested management resource not found:
2015-03-31 12:01:06,129 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- {
"outcome" : "failed",
"failure-description" : "JBAS014792: Unknown attribute local-host-name",
"rolled-back" : true
}
2015-03-31 12:01:06,129 WARN [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- ------ Detected 'failure-description' when communicating with server.{"outcome":"failed","failure-description":"JBAS014792: Unknown attribute local-host-name","rolled-back":true}
2015-03-31 12:01:06,129 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.BaseServerComponent)- Detected domain host name [null]
2015-03-31 12:01:06,129 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- JSON to send: {"operation":"read-attribute","address":[{"host":"null"}],"name":"name"}
2015-03-31 12:01:06,171 INFO [ResourceContainer.invoker.availCheck.daemon-49] (rhq.modules.plugins.jbossas7.ASConnection)- Requested management resource not found: host=null
Thanks!!