Created attachment 589935 [details] testDeployWar_2.js Description of problem: While trying to create a PackageBackedResource with a war for deploying it via CLI, it throws NullPointerException in GUI. Version-Release number of selected component (if applicable): JON - Version: 3.1.0.ER6 How reproducible: always Steps to Reproduce: 1. Run the testDeployWar_2 under CLI Remote Client (which creates createPackageBackedResource to deploy a war). 2. 3. Actual results: Null pointer exception is being thrown on UI Expected results: Child resource under EAP with deployed war should have been created. Additional info: Attached is the js file. Please come back to me concerning the war file.
Created attachment 589942 [details] iBook.war for deployment
Hi all, It was posible to attache the war file to this bug. Please get it from attachment. Regards, Armine H
Created attachment 589944 [details] GUI exception
What version of the plugin are you using here?
The call in the script ResourceFactoryManager.createResource(jBossId, appType.id, fileName, null,deployConfig, null); Does not work for package based resources (i.e. deployments)
Just comment that command (createResource) and you'll get the java heap exception for 12MB war file from CLI.
master e1f5fb046fb
verified on rhq with small war
Bulk close of old bugs in VERIFIED state.