[jbosstools-issues] [JBoss JIRA] (JBIDE-17164) Make sure using different server types with rse is somewhat predictable

Martin Malina (JIRA) issues at jboss.org
Fri Apr 18 08:54:33 EDT 2014


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

Martin Malina commented on JBIDE-17164:
---------------------------------------

The first question is: Could we have a way of discouraging users from using a type we don't support?

Here the different types and what they do:
FTP:
When I try to start the server, I get a NPE - we don't expect anything like this at all, so we don't have any special treatment of this.
It kind of works with "assume started". I am then able to start the server (because it does nothing). And then I am even able to deploy - note that I was using EAP 6.2 with the management api enabled. So unless I set up -Djboss.bind.address.management= properly when starting eap on the remote server, this will not work. Also, you need to be sure that the server editor has the right password.
So I was kind of surprised this worked :)
Then I tried without management api and that worked, too, great!

Next is Windows.
                
> Make sure using different server types with rse is somewhat predictable
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-17164
>                 URL: https://issues.jboss.org/browse/JBIDE-17164
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: server
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Beta2
>
>         Attachments: system-types.png
>
>
> I'm not sure how to approach this, but the main motivation for this JIRA is https://community.jboss.org/message/868575 .
> Most often when I user rse servers, I select "ssh" as the host type when setting up the remote host. It's simply because I know this will work.
> Currently there are plenty of types to choose from:
> !system-types.png!
> Some of them may work, others may not. I'm not sure how much control we have here, but we should try to ensure that there are reasonable warnings/errors or at least no NPEs when a user selects a type that does not really work.
> For example I tried using FTP. I set up FTP on my server and created the remote server with that. Everything seemed fine until I tried to start the server. Obviously this will not work, but we should do better than throw a NPE. I intend to try each of the types and report back in the comments.
> Feel free to push this JIRA further to a future release as necessary.

--
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