[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9117) AS7: deploying to remote host fails (server home of local runtime is used instead of server home of remote host)

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Jun 10 19:11:59 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-9117:
------------------------------------

    Steps to Reproduce: 
1.) make sure you have a server that runs as7
2.) create a new server adapter for this server:
-  2a.) create a new server adapter for as7
-  2b.) edit the adapter and switch its "Server Behavior" to "Remote System Deployment"
-  2c.) click on "New Host" and create a SSH Remote system type to this host
-  2d.) choose the "Remote Server Home"

3.) in the "Deployment" tab, make sure that you did not change the publish settings: you need to have "Use the JBoss deploy folder" radio button selected
4.) Start your server adapter
5.) add a "Dynamic Web Project" to it

Result:
The deployment fails. 
In the upcoming error dialog you'll spot that it tried to deploy to a path that uses the server home of your local runtime and not the server home that you've chosen when configuring the "Remote System Deployment" (step 2d.) - in my setup, the server home on the remote host would be "/home/ec2-user/jboss-7.0.0.Beta3" where as the local runtime has "/home/adietish/jboss-runtimes/jboss-7.0.0.Beta3".

!remote-deployment-failed.png!

  was:
1. make sure you have a server that runs as7
2. create a new server adapter for this server:
-  2a. create a new server adapter for as7
-  2b. edit the adapter and switch its "Server Behavior" to "Remote System Deployment"
-  2c. click on "New Host" and create a SSH Remote system type to this host
-  2d. choose the "Remote Server Home"

3. in the "Deployment" tab, make sure that you did not change the publish settings: you need to have "Use the JBoss deploy folder" radio button selected
4. Start your server adapter
5. add a "Dynamic Web Project" to it

Result:
The deployment fails, in the upcoming error dialog you'll spot that it uses the server home of your local runtime and not the server home that you've chosen when switching the adapter to "Remote System Deployment" behavior (step 2d.) - in my setup, the server home on the remote host would be "/home/ec2-user/jboss-7.0.0.Beta3" where as the local runtime has "/home/adietish/jboss-runtimes/jboss-7.0.0.Beta3".

!remote-deployment-failed.png!



> AS7: deploying to remote host fails (server home of local runtime is used instead of server home of remote host)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9117
>                 URL: https://issues.jboss.org/browse/JBIDE-9117
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.3.0.M1
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>             Fix For: 3.3.0.M2
>
>         Attachments: remote-deployment-failed.png
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list