Bug 767974 - [eap6] re-deployment of war fails
Summary: [eap6] re-deployment of war fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 4.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Libor Zoubek
QA Contact: Mike Foley
URL:
Whiteboard:
: 708328 (view as bug list)
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2011-12-15 12:16 UTC by Libor Zoubek
Modified: 2015-11-02 00:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-02 07:24:46 UTC
Embargoed:


Attachments (Terms of Use)

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.


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