Bug 767974

Summary: [eap6] re-deployment of war fails
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: AgentAssignee: Libor Zoubek <lzoubek>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.3CC: hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 07:24:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 707223    

Description Libor Zoubek 2011-12-15 12:16:11 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Version: 4.3.0-SNAPSHOT
Build Number: e8db9a1

How reproducible: always


Steps to Reproduce:
1. have rhq with eap6 standalone(dr8) imported
2. create deployment child (hello.war)
3. assert deployment is up on eap6 and present in rhq UI
4. modify hello.war
5. repeat step 2 with modified hello.war

Actual results: modified war from step 4 is not deployed, here is what eap6 log says:

ERROR [org.jboss.as.controller] (HttpManagementService-threads - 601) JBAS014612: Operation ("add") failed - address: ([{"deployment" => "hello.war"}]): java.lang.IllegalStateException: JBAS014666: Duplicate resource [("deployment" => "hello.war")]



Expected results: hello.war is successfully redeployed


Additional info:

Comment 1 Heiko W. Rupp 2012-01-27 17:02:01 UTC
This does now work for standalone and domain mode.

Still this needs more work as the "deployment" type needs to be better specified for server-group and managed server level
* you don't want to upload content to individual managed servers
* the server-group has no notion of the "hash" 
* different server groups may want to run different apps with the same runtime name

Comment 2 Heiko W. Rupp 2012-02-13 14:26:30 UTC
*** Bug 708328 has been marked as a duplicate of this bug. ***

Comment 3 Heiko W. Rupp 2012-04-12 09:04:40 UTC
Putting this on QA, as the main functionality is there.
The additional things from comment 1 are now submitted as Bug 811892

Comment 4 Heiko W. Rupp 2013-09-02 07:24:46 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.