Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1512

gremlin-server-classic.yaml is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.2
    • 3.1.5, 3.2.3
    • server
    • None

    Description

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

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

      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> 
      

      Server configs should have sane defaults.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            rdale Robert Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: