Bug 1220246

Summary: [GSS](6.4.z) In Domain mode application replaced via console is not in enabled mode by default
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jay SenSharma <jsenshar>
Component: Domain ManagementAssignee: Chao Wang <chaowan>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: asaji, bmaxwell, brian.stansberry, cdewolf, chaowan, dandread, harshada, hbraun, hpehl, jawilson, pjelinek, rhatlapa, rmarting, sjadhav
Target Milestone: CR1   
Target Release: EAP 6.4.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 10:13:30 UTC Type: Bug
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: 1219165, 1222380    

Description Jay SenSharma 2015-05-11 05:20:22 UTC
Description of problem:
=======================
    If an application which enabled and is targeted to a server group is replaced via console then the replaced application is not by default in Enabled mode. Users need to manually enable it. (in JBoss EAP 6.3 or earlier this behaviour) was different)



How reproducible:
=================
Steps to Reproduce:
- Deploy a simple WAR to "main-server-group"  in EAP 6.4
- Access the application and notice that it is enabled properly and accessible.
- Now Via console replace the application with the altered WAR and after replace notice that the application is  "Disabled"   (where as before Replace it was in active mode, So after replace also it was supposed to be in the same mode)


Actual results:
================ 
After replace the deployed application was in disabled mode.

Expected results:
================
After replace the deployed application should have been in it's previous state as Enabled mode.

Additional info:

Comment 1 Jay SenSharma 2015-05-11 05:30:00 UTC
However if we replace the application via jboss-cli.sh script then the application is properly replaced as well as it's state is "Enabled".

Example:
========
[domain@localhost:9999 /] deploy --name=Test.war /PATH/TO/Test.war --force

Comment 4 Tomas Hofman 2015-06-16 09:49:41 UTC
*** Bug 1230032 has been marked as a duplicate of this bug. ***

Comment 5 Pavel Jelinek 2015-06-19 12:25:03 UTC
Verified for EAP 6.4.2.CP.CR1.

Comment 7 Petr Penicka 2017-01-17 10:13:30 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.