Bug 769939 - CLI retrieveBackingContent gives a file not found exception on the agent
Summary: CLI retrieveBackingContent gives a file not found exception on the agent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI
Version: 4.2
Hardware: All
OS: All
high
medium
Target Milestone: ---
: JON 2.4.2
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-22 19:38 UTC by Charles Crouch
Modified: 2015-02-01 23:27 UTC (History)
6 users (show)

Fixed In Version:
Clone Of: 736792
Environment:
Last Closed: 2012-02-07 19:24:23 UTC
Embargoed:


Attachments (Terms of Use)

Comment 1 Jeeva Kandasamy 2011-12-30 08:35:23 UTC
Executed the following commands and file '/tmp/admin-console.war' has been created with size of 15 MB.
-------------------------------------
var rc = new ResourceCriteria();
rc.addFilterResourceTypeName('Web Application (WAR)');
rc.addFilterName('admin-console.war');
var adminConsole = ResourceManager.findResourcesByCriteria(rc);
var war = ProxyFactory.getResource(adminConsole.get(0).id);
war.retrieveBackingContent("/tmp/admin-console.war");
--------------------------------------
Then updated the backup file and verified the same on the host EAP server location.
-------------------------------------
war.updateBackingContent('/tmp/admin-console.war');
--------------------------------------

all the process completed successfully, hence moving this bug to VERIFIED state.

Comment 2 Mike Foley 2012-02-07 19:24:23 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.