Robert Dale created TINKERPOP-1512:
--------------------------------------

             Summary: gremlin-server-classic.yaml is broken
                 Key: TINKERPOP-1512
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1512
             Project: TinkerPop
          Issue Type: Bug
          Components: server
    Affects Versions: 3.2.2
            Reporter: Robert Dale


{noformat}
[WARN] GremlinExecutor - Could not initialize gremlin-groovy ScriptEngine with 
scripts/complex-lifecycle.groovy as file does not exist
{noformat}

References missing script *scripts/complex-lifecycle.groovy*.  This usually 
sets the traversal *g*.  So it breaks clients expecting *g* to exist on the 
server.

{noformat}
gremlin> graph = EmptyGraph.instance()
==>emptygraph[empty]
gremlin> g = graph.traversal().withRemote('conf/remote-graph.properties')
==>graphtraversalsource[emptygraph[empty], standard]
gremlin> g.V()
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal 
source [g] for alias [g] is not configured on the server.
Type ':help' or ':h' for help.
Display stack trace? [yN]
gremlin> 
{noformat}

Server configs should have sane defaults. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to