Attempt to deploy application of any type (ejb2/ejb3/war) on EAP5 results in NPE exception [1] in agent's log. The application is not deployed only uploaded into $server-dir/tmp directory. [1] ERROR [ResourceContainer.invoker.nonDaemon-11] (rhq.plugins.jbossas5.deploy.ManagedComponentDeployer)- Error deploying application for request [CreateResourceReport: ResourceType=[Reso urceType[id=0, name=Web Application (WAR), plugin=JBossAS5, category=Service]], ResourceKey=[null]]. 832 java.lang.NullPointerException 833 at org.rhq.plugins.jbossas5.deploy.RemoteDownloader.prepareArchive(RemoteDownloader.java:89) 834 at org.rhq.plugins.jbossas5.deploy.ManagedComponentDeployer.deploy(ManagedComponentDeployer.java:88) 835 at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:147) 836 at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:79) 837 at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:281) 838 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 839 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 840 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 841 at java.lang.reflect.Method.invoke(Method.java:606) 842 at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759) 843 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 844 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 845 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 846 at java.lang.Thread.run(Thread.java:744)
Created attachment 931028 [details] example war deployment
It looks like a possible consequence of Bug 1125343 - All content-related workflows broken on Agent Setting to MODIFIED as it should be fixed in ER02
Moving to ON_QA as available for test with the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=381194
Verified on version : 3.3.0.ER02 Build Number :4fbb183:7da54e2 Verified that the war file is deployed to EAP5 successfully without NPE.