[jbosstools-issues] [JBoss JIRA] (JBIDE-26284) Servers created from relative path can't start

Rob Stryker (JIRA) issues at jboss.org
Tue Aug 21 17:23:00 EDT 2018


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

Rob Stryker commented on JBIDE-26284:
-------------------------------------

Hi: 

I've fixed the issue (yay!) by forbidding you from using relative paths (wat?!). 

But seriously, there is no reason for a client to to be able to ask a server to search with relative paths. The client has absolutely no way of knowing what folder the server is installed in, or what it's working directory is when it is started. 

One day in the future a use case may arrive in which runtimes are installed in a subdirectory of the RSP server, however, in those days, I would fully expect the server to handle those situations and not the client. 

So until a really good usecase is provided, we're blocking relative paths. 

> Servers created from relative path can't start
> ----------------------------------------------
>
>                 Key: JBIDE-26284
>                 URL: https://issues.jboss.org/browse/JBIDE-26284
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: runtime-server-protocol
>            Reporter: Jan Richter
>            Assignee: Rob Stryker
>
> Servers created with their ''server.home.dir'' attribute set to a relative path will error on starting.
> Example log from wildfly (and yes, that is the complete log):
> {noformat}Error: Could not find or load main class org.jboss.modules.Main{noformat} 
> Relative paths either need to be resolved, or rejected.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list