且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

OrientDB在上下文错误中找不到数据库实例?

更新时间:2023-11-17 19:14:22

此处

    <handler class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
        <parameters>
            <parameter value="true" name="enabled"/>
            <parameter value="50" name="graph.pool.max"/>
        </parameters>
    </handler>

需要从orientdb-server-config.xml中删除。因为似乎orient.getGraph()和orient.getDatabase()操作无法配置为同时工作。使用orient.getGraph()在配置文件中使用上面的处理程序。要使用orient.getDatabase(),请从config中删除以下处理程序。

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.