[jbosstools-issues] [JBoss JIRA] (JBIDE-14791) cannot rename deployed modules in AS7 server adapter

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Jun 11 02:29:25 EDT 2013


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

Rob Stryker commented on JBIDE-14791:
-------------------------------------

This behavior is expected as currently implemented. You cannot modify a deploy location once the file is added to the server. You may only modify the deploy locations when a server has NO elements deployed to it AND the server is stopped. 

Otherwise, you are potentially modifying the deploy location of a running module, and thsi will lead to deploys in two concurrent locations. WTP lacks a delta model, so changing this property on the server will only alert me that a new deploy location is set, and I will be unable to access the PREVIOUS deploy location to properly clean up. 

Because of this, users may only modify the deploy location BEFORE deploying. 

Here is the workflow of a proper usecase:

1) Create server
2) Create dynamic web project
3) Open server editor, go to deployment page, set your project to be named 'test.war'
4) Add your module to the server, either via drag and drop, or the add/remove module wizard
5) Ensure a publish is executed
6) Right-click the server, select show-in, select file browser. 
7) Verify that the module was properly published as test.war. 

This use case works 100% for me. Any other workflow is incorrect as currently implemented. 

If you already have a module added to your server, and wish to change its deploy location, execute the following steps:
1) Remove the module from the server
2) Ensure a publish is executed
3) Stop the server
4) Open the server editor deployment tab, verify the editor is enabled. 
5) Modify the deploy location
6) Add the module to server, publish, and start server. 

This is the only valid workflow, and HAS BEEN the only valid workflow, for several months. This workflow still functions and has not changed at all. 
                
> cannot rename deployed modules in AS7 server adapter
> ----------------------------------------------------
>
>                 Key: JBIDE-14791
>                 URL: https://issues.jboss.org/browse/JBIDE-14791
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.1.0.Beta2
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.1.0.Beta2
>
>         Attachments: deployments-greyed-out.png
>
>
> The as7 server adapter seem not to allow one to rename deployed modules.
> i.e. to be able to deploy testapp.war as ROOT.war for having it deployed in /

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list