You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/05/30 16:56:04 UTC

[jira] [Commented] (GEODE-2983) gfsh doesn't return user friendly error message when java property has comma separated values

    [ https://issues.apache.org/jira/browse/GEODE-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029729#comment-16029729 ] 

Kirk Lund commented on GEODE-2983:
----------------------------------

Workaround is to specify quotes around the value of --J:
{noformat}
--J="-Dgemfire.security-enabled-components=server,http,jmx,gateway"
{noformat}
Error message needs improvement.

> gfsh doesn't return user friendly error message when java property has comma separated values
> ---------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2983
>                 URL: https://issues.apache.org/jira/browse/GEODE-2983
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Hitesh Khamesra
>
> Here is the gfsh command and output. It is telling "Error: Could not find or load main class http", which slightly misleading
> -bash-4.2$ gfsh start locator --dir=gemfire-locator --name=locator --port=56661 --enable-cluster-configuration=true --force=true --J=-Dgemfire.OSProcess.ENABLE_OUTPUT_REDIRECTION=true --J=-Dgemfire.http-service-port=8080  --J=-Dgemfire.security-manager=SecurityManager --J=-Dgemfire.security-enabled-components=server,http,jmx,gateway
> .The Locator process terminated unexpectedly with exit status 1. Please refer to the log file in tmp/gemfire-locator for full details.
> Error: Could not find or load main class http



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)