| Summary: | CLI retrieveBackingContent gives a file not found exception on the agent | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Charles Crouch <ccrouch> |
| Component: | CLI | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2 | CC: | dsteigne, hbrock, hrupp, jkandasa, jsanda, loleary |
| Target Milestone: | --- | ||
| Target Release: | JON 2.4.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 736792 | Environment: | |
| Last Closed: | 2012-02-07 19:24:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |
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.