Bug 1040493 - Incorrect interaction between deployments/ directory and CLI
Summary: Incorrect interaction between deployments/ directory and CLI
Keywords:
Status: CLOSED DUPLICATE of bug 1074999
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Emmanuel Hugonnet (ehsavoie)
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 14:14 UTC by dereed
Modified: 2018-12-03 20:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-07 12:55:53 UTC
Type: Bug


Attachments (Terms of Use)

Description dereed 2013-12-11 14:14:57 UTC
Description of problem:
Modifying the same deployment through the CLI and deployments/ can get the deployment into an incorrect state.

Version-Release number of selected component (if applicable):
6.2

How reproducible:
Always

Steps to Reproduce:
1.  Put deployment (test.war) in deployments/ so it will be deployed
2.  "undeploy --keep-content test.war"
3.  "deploy --name=test.war"
4.  Restart EAP

Actual results:
test.war is not deployed because step 2 created test.war.undeployed, but step 3 did not remove it.

Expected results:
test.war is deployed

Additional info:

I also saw some other problems when modifying the same deployment through both deployments/ and the CLI, but haven't replicated them yet.

Comment 1 Alexey Loubyansky 2013-12-11 14:21:40 UTC
AFAIK, deployments that are hot-deployed are not managed (by the means of the domain management api and tools based on it) deployments.

Comment 2 dereed 2013-12-11 14:48:24 UTC
But the domain API does operate on the deployment and gets it into an incorrect state.

(note: I would be fine with the fix being that the API refuses to touch hot-deployed deployments, if that's the desired behavior)

Comment 5 Emmanuel Hugonnet (ehsavoie) 2014-05-07 12:55:53 UTC

*** This bug has been marked as a duplicate of bug 1074999 ***


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