Bug 1313214 - [GSS] (6.4.z) Can't deploy/assign a deployment to other server groups in domain mode via jboss cli.
[GSS] (6.4.z) Can't deploy/assign a deployment to other server groups in doma...
Status: CLOSED NOTABUG
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI (Show other bugs)
6.4.0
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Enrique Gonzalez Martinez
Petr Kremensky
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-01 03:29 EST by sfu@redhat.com
Modified: 2016-03-02 20:33 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-02 06:45:16 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description sfu@redhat.com 2016-03-01 03:29:48 EST
Description of problem:

In JBoss Managment Console,we can add a deployment (add to deployment repository) then assign it to different server-groups,but under cli mode,it can't be done duo to 'xxx' already exists in the deployment repository.

Steps to Reproduce:
1.start jboss eap with domain mode,and enter into cli mode.
2.[domain@localhost:9999 /] deploy /path/to/test.war --name=test --runtime-name=test --server-groups=group1
3.[domain@localhost:9999 /] deploy /path/to/test.war --name=test --runtime-name=test --server-groups=group2

Actual results:
Can't deploy,error shows 'test' already exists in the deployment repository (use --force to replace the existing content in the repository).

Expected results:
can deploy successfully.

Additional info:
I know the --name should keep unique,but if use different name,two same deployments will be added into repository,that's not customer's expectation.So there is no way to deploy/assign the same test.war to other server groups via jboss cli.

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