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

    <handler class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
        <parameters>
            <parameter value="true" name="enabled"/>
            <parameter value="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?"