[
https://issues.apache.org/jira/browse/TINKERPOP-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-1951.
---------------------------------------
Resolution: Fixed
Assignee: stephen mallette
Fix Version/s: 3.2.10
3.3.4
3.4.0
Fixed with via CTR with:
https://github.com/apache/tinkerpop/commit/00cb9a81a36aac2e88b621a15ba7740ce0fe790d
> 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
> Assignee: stephen mallette
> Priority: Trivial
> Fix For: 3.4.0, 3.3.4, 3.2.10
>
>
> 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)