当我尝试从多个实例调用图形数据库时,我收到以下错误:
Exception in thread "main" java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.StoreLockerLifecycleAdapter@9446e4' was successfully initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:284)
那么我怎么能解决这个问题并让它可以处理来自任何实例的任何请求。
答案 0 :(得分:2)
任何一个数据库一次只能从一个进程访问。如果您想要一组复制数据库,请查看以高可用性设置neo4j:http://docs.neo4j.org/chunked/stable/ha.html