-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JWS 3.0.0 GA, JWS 3.0.2 CR2
-
None
-
Release Notes
-
-
Documented as Known Issue
How to reproduce:
1. Import a Tomcat7/8 Server from JON Discovery
2. Deploy a Tomcat Web Application. Create child Tomcat Web Application (WAR) for a Tomcat Virtual Host.
3. Change Current Configuration of WAR, e.g. Reloadable to Yes/No (depending on current value).
The operation fails, which can be seen in WAR's Configuration History and the trace is follows:
java.lang.NullPointerException at org.rhq.plugins.jmx.MBeanResourceComponent.updateResourceConfiguration(MBeanResourceComponent.java:532) at org.jboss.on.plugins.tomcat.TomcatWarComponent.updateResourceConfiguration(TomcatWarComponent.java:950) 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:606) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)