[
https://issues.apache.org/jira/browse/TINKERPOP-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Dale reassigned TINKERPOP-1951:
--------------------------------------
Assignee: (was: Robert Dale)
> gremlin-server.bat doesn't support paths containing spaces
> ----------------------------------------------------------
>
> Key: TINKERPOP-1951
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1951
> Project: TinkerPop
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.3.2
> Environment: Windows operating system
> Reporter: Cédric L. Charlier
> Priority: Trivial
>
> If you copy the TinkerPop Gremlin Server to the folder
> {noformat}
> C:\Program Files\Apache TinkerPop\Server
> {noformat}
> then it would be impossible to start the server with the gremlin-server.bat
> file provided with the solution.
> The issue is that the spaces of the folder name will not be correctly handled
> when defining the CLASSPATH.
> It's possible to easily fix this issue by replacing the line
> {code:java}
> java -Dlog4j.configuration=conf/log4j-server.properties %JAVA_OPTIONS%
> %JAVA_ARGS% -cp %LIBDIR%\*;%EXTDIR%;
> org.apache.tinkerpop.gremlin.server.GremlinServer %*
> {code}
> by
> {code:java}
> java -Dlog4j.configuration=conf/log4j-server.properties %JAVA_OPTIONS%
> %JAVA_ARGS% -cp "%LIBDIR%\*;%EXTDIR%;"
> org.apache.tinkerpop.gremlin.server.GremlinServer %*
> {code}
> (the value provided for the -cp argument must be surrounded by double quotes).
> Same case a few lines bellow this occurrence with
> {code:java}
> java -Dlog4j.configuration=conf/log4j-server.properties %JAVA_OPTIONS%
> %JAVA_ARGS% -cp %LIBDIR%\*;%EXTDIR%;
> org.apache.tinkerpop.gremlin.server.util.GremlinServerInstall %RESTVAR%
> {code}
> to be replaced by
> {code:java}
> java -Dlog4j.configuration=conf/log4j-server.properties %JAVA_OPTIONS%
> %JAVA_ARGS% -cp "%LIBDIR%\*;%EXTDIR%;"
> org.apache.tinkerpop.gremlin.server.util.GremlinServerInstall %RESTVAR%
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)