GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [GremlinServer] Can't start without an error · Issue #1265 · ArcadeData/arcadedb

[GremlinServer] Can't start without an error #1265

New issue
Copy link
New issue
Copy link
Closed
Closed
[GremlinServer] Can't start without an error#1265
Copy link
Assignees
lvca
Labels
workaround-provided
Milestone
23.11.1

Description

@JoJ123
JoJ123
opened on Oct 6, 2023
Issue body actions

ArcadeDB Version:

v23.9.1

OS and JDK Version:

Running on Windows 10 10.0 - OpenJDK 64-Bit Server VM 17.0.8.1 (Microsoft-8297089)

Expected behavior

Start ArcadeDB Server with GremlinServer Plugin

Actual behavior

Failing with the following error message on the first start:
image

After Closing the script with Ctrl+C and restart:
image
image

Steps to reproduce

Unzip newest Version
Execute in Powershell:
$env:JAVA_OPTS="-Darcadedb.server.rootPassword=playwithdata -Darcadedb.server.plugins=GremlinServer:com.arcadedb.server.gremlin.GremlinServerPlugin"
./bin/server.bat

Activity

  1. lvca commented on Oct 6, 2023

    @lvca
    lvca
    on Oct 6, 2023
    Member
    More actions

    Have you tried to use docker? If it works with docker it must be something in how the script handles the paths in Windows. Just a first guess.

  2. JoJ123 commented on Oct 6, 2023

    @JoJ123
    JoJ123
    on Oct 6, 2023
    Author
    More actions

    Yes, it's working fine in docker. But for my usecase I have to use Windows.

  3. lvca commented on Oct 6, 2023

    @lvca
    lvca
    on Oct 6, 2023
    Member
    More actions

    So I guess there is something that causes the issue in the Gremlin server cfg in one of the following files under the config directory:

    • gremlin-server.groovy
    • gremlin-server.properties
    • gremlin-server.yaml

    Unfortunately, I don't have a Windows PC to test it out. Any chance you can lookup in those files if there is anything about paths?

  4. lvca commented on Oct 7, 2023

    @lvca
    lvca
    on Oct 7, 2023
    Member
    More actions

    Try to run the script from the ArcadeDB home directory with: bin\server.bat

  5. lvca
    self-assigned this
    on Oct 7, 2023
  6. lvca
    added this to the 23.10.1 milestone on Oct 7, 2023
  7. JoJ123 commented on Oct 7, 2023

    @JoJ123
    JoJ123
    on Oct 7, 2023
    Author
    More actions

    Seems to be still the same issue. I've taken the latest version from the release page.
    image

  8. lvca commented on Oct 7, 2023

    @lvca
    lvca
    on Oct 7, 2023
    Member
    More actions

    The issue is still about locking. (1) Could you please run jps on the shell and see if there is another instance of the server running?

    (2) Another attempt could be moving the arcadedb distro under a path without spaces to see if that's the issue.

  9. JoJ123 commented on Oct 8, 2023

    @JoJ123
    JoJ123
    on Oct 8, 2023
    Author
    More actions

    (2) No change in folder without spaces.

    (1) When I start like above I just see one entry in the list
    image

    One thought about the locking.
    With other databases for gremlin server the start was not with a .bat file from the database itself. For example for Bitsy you start the gremlin-server.bat with a YAML Config file for Bitsy.
    So my idea is, that the process from ArcadeDB "Core" is already locking the DB. So that GremlinServer cannot start and use it. Is there a way to start the GremlinServer via the gremlin-server.bat?

  10. lvca commented on Oct 8, 2023

    @lvca
    lvca
    on Oct 8, 2023
    Member
    More actions

    Thanks for testing it. I agree that the server must "confuse" the graph database with 2 different paths, for some reason, so it tries to open the database the 2nd time but it's locked.

    Or, perhaps, the open database is not registered correctly, but why does it work on Linux and Mac?

    From your logs:
    image

    I can see the graph database was registered by using a relative path, since it looks like it's a Windows-only issue, there must be something with the way the paths are managed.

    About the server, it's designed in that way, so ArcadeDB & Gremlin share the same JVM. This means there is no TCP/IP between the servers, no marshalling and unmarshalling of data, and that's why ArcadeDB should be the fastest Gremlin implementation out there :-)

    Could you please turn on the FULL logs? Edit the file config/arcadedb-log.properties and change the level to FINE everywhere you see INFO and restart the server.

  11. JoJ123 commented on Oct 9, 2023

    @JoJ123
    JoJ123
    on Oct 9, 2023
    Author
    More actions

    I did some more tests.

    First:
    Even if the issue is displayed in the logs the Admin Console on localhost:2480 is reachable.
    I was able to perform gremlin lang operations (add & fetch):
    image
    Is this linked to the Gremlin Server, or are you in the UI transforming the queries internally?

    Second:
    I went further based on your hints regarding the paths. I have changed two things:

    • gremlin.arcadedb.directory=C:\ArcadeDB\databases\graph (gremlin-server.properties)
    • -Darcadedb.server.databaseDirectory=C:\ArcadeDB\databases
      image

    And tada :D It's working!
    So you're right regarding the paths. With absolute paths, it's working fine now. Anyway, it would be probably better to continue the investigation to find a solution with relative paths as well.

  12. lvca commented on Oct 12, 2023

    @lvca
    lvca
    on Oct 12, 2023
    Member
    More actions

    I see you changed the path to C:\ArcadeDB\databases\graph. So it could also be the space in the directory name you had before that is not correctly quoted from the script.

    About your 1st question, the ArcadeDB server executes internally gremlin queries (and sql, cypher, etc) and returns the result in HTTP/JSON for Studio web tool.

  13. lvca
    added
    workaround-provided
    on Oct 12, 2023
  14. lvca
    modified the milestones: 23.10.1, 23.11.1 on Oct 31, 2023
  15. lvca commented on Nov 21, 2023

    @lvca
    lvca
    on Nov 21, 2023
    Member
    More actions

    Closing this for now, please comment on this issue if this happens again, so I can reopen it.

  16. lvca
    closed this as completedon Nov 21, 2023
  17. lvca
    added
    bug
    on Nov 21, 2023
  18. mergify
    added a commit that references this issue on Sep 8, 2025

    chore(deps): bump org.codehaus.mojo:versions-maven-plugin from 2.18.0…

    686f577
  19. mergify
    added a commit that references this issue on Sep 21, 2025

    chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin from …

    8cb4f2c
  20. mergify
    added a commit that references this issue on Dec 1, 2025

    chore(deps): bump org.apache.maven.plugins:maven-assembly-plugin from…

    aadbdfa
  21. mergify
    added 2 commits that reference this issue on Mar 23, 2026

    chore(deps-dev): bump testcontainers from 11.12.0 to 11.13.0 in /e2e-…

    d6b194c

    chore(deps-dev): bump testcontainers from 11.12.0 to 11.13.0 in /e2e-…

    6e901be
  22. tae898
    added 5 commits that reference this issue on Jun 28, 2026

    chore(deps): bump org.codehaus.mojo:versions-maven-plugin from 2.18.0…

    686edd5

    chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin from …

    98e2e70

    chore(deps): bump org.apache.maven.plugins:maven-assembly-plugin from…

    d6fbaf2

    chore(deps-dev): bump testcontainers from 11.12.0 to 11.13.0 in /e2e-…

    d4242d9

    chore(deps-dev): bump testcontainers from 11.12.0 to 11.13.0 in /e2e-…

    c6df4b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

workaround-provided

Type

No type

Projects

No projects

    Milestone

    • 23.11.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.