Tomcat7 version: EWS 2.0.0.CR1 When I try to add a User through JON's interface, I get this error in agent's log: 2012-10-11 09:35:03,828 DEBUG [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Throwable was found in creation report for request [10082]. java.lang.IllegalStateException: Name [roles] specified for parameter of operation [createUser] on MBean [Users:type=UserDatabase,database=UserDatabase] is invalid. The MBean operation does not take a parameter by that name. at org.rhq.plugins.jmx.MBeanResourceComponent.invokeOperation(MBeanResourceComponent.java:576) at org.rhq.plugins.jmx.MBeanResourceComponent.invokeOperation(MBeanResourceComponent.java:524) at org.jboss.on.plugins.tomcat.TomcatUserDatabaseComponent.createResource(TomcatUserDatabaseComponent.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679)
This bug needs a corresponding bug in Jira or Bz (as appropriate) owned by the plugin team. Mark Yarborough work with John Doyle to define EWS owner.
Created attachment 654435 [details] Avoid operation error Avoid the error due to the missing parameters on the operation. Any roles or groups must be added later.
This issue affects all tomcat{5,6,7} versions.
*** Bug 865403 has been marked as a duplicate of this bug. ***
Verified with Tomcat plugin brew build [1] and EWS 2.0.1.ER1 [1] https://brewweb.devel.redhat.com//buildinfo?buildID=269954
Added DocText. @Wei Nan Li, can you please review the Doc Text content?
oops.. @Jean-Frederic Clere, can you please review the Doc Text content?
See BZ 688358 they are duplicated.
That is nice to have the details for the fix in the release notices but are you sure the customers need that. See BZ 865460
Jean-Frederic, ideally all the release notes should have this much detail where possible. Unfortunately this is not possible sometimes without SME additions. For consistency, I have reduced the detail to match other similar bugs.