cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

APOC Couchbase connection and performance issue

Hello Guys,

I’m using APOC couchbase procedure to pull the document from db. It is very slow and it is taking 2 sec to pull a single document.
Also, looks Neo4j not yet supporting Couchbase 6.

I have written user define procedure to connect couchbase 6. But neo4j is not getting started and below is my neo4j.log

What would be the right way to connect couchbase 6 faster to pull documents from ids ?

ERROR Failed to start Neo4j on dbms.connector.http.listen_address, a socket address. If missing port or hostname it is acquired from dbms.default listen address. Error starting Neo4j database server at C:\AppData\Local\Neo4j\Relate\Data\domss\dbms-e7ec8510-32 ca-492c-a59c-27e35da57eb7\data\databases
java.lang.RuntimeException: Error starting Neo4j database server at C:\AppData\Local\Neo4j\Relate\Data\dbmss\dibms-e7ec8510-32ca-492c-a59c-27e35da57eb7\data\databases
at org.neo4j .graphdb. Facade DatabaseManagement ServiceFactory.startDatabaseServer (DatabaseManagement ServiceFactory.java:198)
at org.neo4j .graphdb. facade. DatabaseManagementServiceFactory build (DatabaseManagementServiceFactory.java:158) at com.neo4j.server.enterprise. EnterpriseManagement Service Factory.createManagement Service (EnterpriseManagement ServiceFactory.java:38)
at com.neo4j.server.enterprise. EnterpriseBootstrapper.createNeo (EnterpriseBootstrapper.java:20)
at org.neo4j.server.NeoBootstrapper.start (NeoBootstrapper.java:117) at org.neo4j.server.NeoBootstrapper.start (NeoBootstrapper.java:87)
at com.neo4j.server.enterprise. EnterpriseEntryPoint.main (EnterpriseEntryPoint.java:25)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component org.ne04.procedure. imp1.GlobalProceduresRegistrye 708eb310' was successfully initialized, but failed to start. Please see the attached cause exception "class com.couchbase.client.java.env.cluster Environment
has interface com.couchbase.client.core.env.coreEnvironment as super class".
at org.neo4j.kernel.lifecycle. LifeSupportsLifecycleinstance.start (LifeSupport.java:463) at org.neo4j.kernel.lifecycle.LifeSupport.start (LifeSupport.java:110)
at org.neo4j.graphdb. facade. DatabaseManagement Service Factory.startDatabaseServer (DatabaseManagement ServiceFactory.java:189)
Caused by: java.lang.IncompatibleclassChangeError: class com.couchbase.client.java.env.ClusterEnvironment has interface
com.couchbase.client.core.env.CoreEnvironment as super class
at java.base/java.lang.classLoadez.defineclassi (Native Method) at java.base/java.lang.classLoader.defineClass (ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineclass (SecureClassLoader.java:174)
at java.base/sdk.internal.loader.BuiltinclassLoader.defineClass (BuiltinclassLoader.java:800)
at java.base/jdk. internal.loader.BuiltinClassLoader.findClassOnclassPathorNull(BuiltinclassLoader.java:698)
at java.base/jak.internal.loader.BuiltinclassLoader.loadclassorNull (BuiltinclassLoader.java:621)
at java.base/jdk. internal.loader.BuiltinclassLoader.loadclass (BuiltinclassLoader.java:579)
at java.base/jdk, internal loader.classLoaders AppClassLoader.loadClass (ClassLoaders.java:178)
at java base/java.lang.ClassLoader.loadclass (classLoader.java:522)
at java.base/java.lang.class.getDeclaredMethods (Native Method) at java.base/java.lang.class.privateGetDeclaredMethods (Class.java: 3166)

Would appreciated if anyone can provide information on above questions. Thanks

0 REPLIES 0