Invoking resource proxy method from JON CLI/Remote API fails with "Required property was not set in Configuration"
Issue
- Invoking DomainDeployment proxy method deploytoServerGroup from JON CLI/Remote API fails with "Required property 'server-group' was not set in Configuration"
- CLI invocation for a DomainDeployment Proxy deployToServerGroup fails
-
Update of a deployment and deploy it to a server-group using:
result = ProxyFactory.getResource(domainDeployment.id).deploytoServerGroup("other-server-group", true, "jboss-as-log4j.war")
Fails with the following error:
[Warning] org.rhq.enterprise.server.exception.ScheduleException: java.lang.IllegalArgumentException: Parameters for [promote] on Resource of type [DomainDeployment] are not valid: [Required property 'server-group' was not set in Configuration[id=0].]
-
deployToServerGroup
operation crashes with anIllegalArgumentException
. - Promoting a
DomainDeployment
resource to a server group fails due to missingserver-group
configuration - Install RHQ user via CLI
- Invoking JBossAS7 server proxy method
installRhqUser
from JON CLI/Remote API fails withRequired property 'user' was not set in Configuration
-
Some proxy operations fail to execute claiming required property is missing:
[Warning] org.rhq.enterprise.server.exception.ScheduleException: java.lang.IllegalArgumentException: Parameters for [installRhqUser] on Resource of type [JBossAS7 Standalone Server] are not valid: [Required property 'user' was not set in Configuration[id=0].] (<Unknown source>#1)
Environment
- JBoss Operations Network (JON) 3.1, 3.1.1
- JON Remote API or Command-Line Interface (CLI)
- JBoss Enterprise Application Platform (EAP) 6.0
- JBoss AS7 plug-in provided by the JBoss EAP Plug-in Pack
- Invocation of resource operation using proxy method:
ProxyFactory.getResource(domainDeployment.id).deploytoServerGroup
ProxyFactory.getResource(jbossAS7Server.id).installRhqUser
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.