Skip to content Skip to sidebar Skip to footer

Orientdb No Database Instance Found In Context Error?

Orient DB has and issue in orientdb-community-1.7-rc2 when I try to create a small function as follows var db = orient.getDatabase() return 'test'; and executes it I get followin

Solution 1:

Here

<handlerclass="com.orientechnologies.orient.graph.handler.OGraphServerHandler"><parameters><parametervalue="true"name="enabled"/><parametervalue="50"name="graph.pool.max"/></parameters></handler>

need to be remove from orientdb-server-config.xml. Because it seems orient.getGraph() and orient.getDatabase() operations cannot be configured to work simultaneously. To work with orient.getGraph() use above handler in config file. To work with orient.getDatabase() remove following handler from config.

Post a Comment for "Orientdb No Database Instance Found In Context Error?"