[jboss-jira] [JBoss JIRA] (AS7-2672) Deploy from CLI of archive already in domain to a different server group messaging or bug.

Alexey Loubyansky (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 17 16:11:40 EST 2011


    [ https://issues.jboss.org/browse/AS7-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643788#comment-12643788 ] 

Alexey Loubyansky commented on AS7-2672:
----------------------------------------

You are right, --force doesn't take into account server groups. I need to think how to handle this.

Not sure whether you know how to workaround this. After the first deploy, the content is in the repository. If you want just to deploy it to another server group (w/o updating the content in the deployment repo), here is how

[domain at localhost:9999 /] deploy ../../../../testsuite/smoke/target/marker-deployments/test-deployment.sar --server-groups=main-server-group
'test-deployment.sar' deployed successfully.
[domain at localhost:9999 /] deploy --name=test-deployment.sar --server-groups=other-server-group
'test-deployment.sar' deployed successfully.

                
> Deploy from CLI of archive already in domain to a different server group messaging or bug. 
> -------------------------------------------------------------------------------------------
>
>                 Key: AS7-2672
>                 URL: https://issues.jboss.org/browse/AS7-2672
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: CLI
>            Reporter: Drew Stockdreher
>            Assignee: Alexey Loubyansky
>              Labels: eap6-ux
>
> If an archive (example.war) is deployed to a domain, and a deploy command is run to deploy to a server group that does not currently have the archive in it, the message indicates a successful deployment, but the archive is not added to the server group. 
> Steps:  Create two server groups.
>         run a deploy command from CLI. 
>       deploy example.war --force --server-groups=server-group-1
>         notice it is now deployed to all servers in server-group-1
>         run a deploy command to deploy the same archive to server-group-2
>       deploy example.war --force --server-groups=server-group-2
>       
>   You get the message "'example.war' re-deployed successfully."
>       
>        However, when you attempt to hit any nodes in server-group-2, the application is not deployed. 
>           

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list