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].] -
deployToServerGroupoperation crashes with anIllegalArgumentException. - Promoting a
DomainDeploymentresource to a server group fails due to missingserver-groupconfiguration - Install RHQ user via CLI
- Invoking JBossAS7 server proxy method
installRhqUserfrom 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).deploytoServerGroupProxyFactory.getResource(jbossAS7Server.id).installRhqUser
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.
