Bug 1313214 - [GSS] (6.4.z) Can't deploy/assign a deployment to other server groups in domain mode via jboss cli.
Summary: [GSS] (6.4.z) Can't deploy/assign a deployment to other server groups in doma...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Enrique Gonzalez Martinez
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-01 08:29 UTC by sfu@redhat.com
Modified: 2019-10-10 11:22 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-02 11:45:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sfu@redhat.com 2016-03-01 08:29:48 UTC
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.