I would like to setup an independent deployment of gremlin-server that would connect to OrientDB. This is useful because the server seems to only open preconfigured graphs.
When I do this using the setup below, things go well until I send this query using gremlin console:
g.V().valueMap()
I get a ClassCastException:
Caused by: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote cannot be cast to com.orientechnologies.orient.core.db.document.ODatabaseDocumentEmbedded
in OrientStandardTransaction.doCommit()
Problem
I would like to setup an independent deployment of gremlin-server that would connect to OrientDB. This is useful because the server seems to only open preconfigured graphs. When I do this using the setup below, things go well until I send this query using gremlin console:
I get a ClassCastException:
Setup
docker-compose.yaml:
Dockerfile:
tinkergraph-empty.properties:
Workaround
Using non-transactional setup resolves this: tinkergraph-empty.properties: