Bug 1232061 - JBoss EAP 6.4.0 has inconvenient way to replace deployment.
Summary: JBoss EAP 6.4.0 has inconvenient way to replace deployment.
Keywords:
Status: CLOSED DUPLICATE of bug 1223081
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.4.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Chao Wang
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-16 00:57 UTC by xuzhan
Modified: 2019-07-11 09:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-16 01:43:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description xuzhan 2015-06-16 00:57:34 UTC
Description of problem:
Domain mode: To make new version app can be used without restarting server, CLI can do it with command "deploy xx.war --force"(xx.war is the new version app which didn't change its file name)
But in web management console, it became inconvenient and may be a bug in it.

Version-Release number of selected component (if applicable):
Red Hat JBoss Enterprise Application Platform 6.4.0

How reproducible:
It can be reproduced easily.

Steps to Reproduce:
1. Deploy "test.war" on EAP 6.4, make sure its "index.jsp" can be visited.
1. In IDE, change some words in "index.jsp" from app and export it as "test.war" file.
2. Go to EAP 6.4.0's web management console--> Deployments--> ContentRepository --> select "test.war" from list and click "Replace" button --> select the latest "test.war" click "open", "Next" and "Save".
3. Go to "SERVER GOURPS" Tab--> select the server-group which has deployed "test.war" before -->"view"
4. You will find "test.war"'s status is "disabled", click "En/Disable" button, then "test.war" became "enabled", BUT no messages printed in log and refresh "index.jsp" didn't show the changes, you have to click "En/Disable" twice to make it work.
5. Refreshing "index.jsp" to see the changed words.

Actual results:
Click "En/Disable" button 3 times to re-deploy app.

Expected results:
Click "En/Disable" button 1 time to re-deploy app.

Additional info:
We have another way to do that:
1. remove "test.war" from server-groups.
2. replace "test.war" from Content Repository.
3. Assign "test.war" to server-groups.
4. refresh "index.jsp", the update words can be seen.
Please let us know if it is a bug?  If not what is the right way to achieve it?

Comment 3 Chao Wang 2015-06-16 01:43:03 UTC

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


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