Create child request in JON fails: Plugin did not indicate a resource name for this request
Issue
-
I get the following error message:
Plugin did not indicate a resource name for this request.
-
Agent log contains messages similar to the following:
INFO [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, name=Cache, plugin=JBossAS7, category=Service]], ResourceKey=[null] WARN [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Plugin did not indicate the resource key for this request: 10011 WARN [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Plugin did not indicate a resource name for the request: 10011 INFO [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=10011, Status=Failure]
Environment
- Red Hat JBoss Operations Network (ON) 3.1, 3.2
-
Creation of a child resource using the JBoss ON client API or command-line interface (CLI)
-
For example:
ResourceFactoryManager.createResource(res.getId(), resType.getId(), newChildResName, null, newResConfiguration, 60000);
-
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.