graphaware / neo4j-framework

GraphAware Neo4j Framework
245 stars 68 forks source link

Neo4j crashes using GraphAware Framework together with APOC. #83

Closed rremigius closed 6 years ago

rremigius commented 7 years ago

When using GraphAware Framework together with APOC, Neo4j does not start.

I need the Framework for the Elasticsearch plugin and UUID, but the Framework alone with APOC already crashes Neo4j.

Versions

Neo4j version 3.3.0 Plugins:

neo4j.conf

dbms.security.procedures.unrestricted=apoc.*
dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware
com.graphaware.runtime.enabled=true

neo4j.log

2017-11-14 16:48:35.120+0000 INFO  ======== Neo4j 3.3.0 ========
2017-11-14 16:48:35.140+0000 INFO  Starting...
2017-11-14 16:48:35.629+0000 INFO  Bolt enabled on 0.0.0.0:7687.
2017-11-14 16:48:36.225+0000 INFO [c.g.r.b.RuntimeKernelExtension] GraphAware Runtime enabled, bootstrapping...
2017-11-14 16:48:36.244+0000 WARN  Topology change adapter is not available on community edition
2017-11-14 16:48:36.246+0000 INFO [c.g.r.b.RuntimeKernelExtension] GraphAware Runtime bootstrapped, starting the Runtime...
2017-11-14 16:48:39.273+0000 INFO  Shutting down GraphAware Runtime... 
2017-11-14 16:48:39.274+0000 INFO  Terminating task scheduler...
2017-11-14 16:48:39.274+0000 INFO  Task scheduler terminated successfully.
2017-11-14 16:48:39.274+0000 ERROR [c.g.r.b.RuntimeKernelExtension] Could not start GraphAware Runtime because the database didn't get to a usable state within 5 minutes.
2017-11-14 16:48:39.274+0000 INFO  GraphAware Runtime shut down.
2017-11-14 16:48:39.282+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@79f14c56' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@79f14c56' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@79f14c56' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
    at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:218)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
    at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@79f14c56' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:210)
    ... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /home/remi/dev/neo4j-test/neo4j-community-3.3.0/data/databases/interactor.db
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126)
    at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58)
    at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    ... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.proc.Procedures@58fa8762' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207)
    ... 9 more
Caused by: java.lang.VerifyError: class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader$1.fetchNextOrNull(ProcedureJarLoader.java:141)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader$1.fetchNextOrNull(ProcedureJarLoader.java:118)
    at org.neo4j.collection.PrefetchingRawIterator.peek(PrefetchingRawIterator.java:50)
    at org.neo4j.collection.PrefetchingRawIterator.hasNext(PrefetchingRawIterator.java:36)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:91)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82)
    at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:275)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    ... 11 more
2017-11-14 16:48:39.283+0000 INFO  Neo4j Server shutdown initiated by request
ikwattro commented 7 years ago

Yes, we are investigating from where comes the issue, this happens only in community.

arsanjea commented 6 years ago

Guys, thank you so much for what you are doing and for this awesome library. However, I am stuck as well, I tried with neo4j 3.2.3/3.2.7 and I am getting the issue.

zdobrenen commented 6 years ago

i'm also running into the same issue. neo4j boots with the ga framework once apoc is removed. Is there any update on the progress of resolving the issue? thanks!

ikwattro commented 6 years ago

Fixed by #85

moxious commented 6 years ago

@frant-hartm I attempted to verify the fix, but was not able to. Within the latest master branch I did a mvn package and copied the resulting built JAR into my plugins directory. Server startup failed because of many missing classes, which sort of makes sense; the fix PR removed a bit of configuration which seemed to package the resulting server plugin with its dependencies. It's possible this fix did fix it, but I might need extra instructions on where to place the deps such that I can confirm it.

bachmanm commented 6 years ago

Just to be clear - this wasn't an issue in either codebase, just a clash of dependency versions in two fat jars.

@moxious you're probably using the wrong jar, look into build/graphaware-framework-server/target, there's a 13.7MB jar.

I'm just releasing a new version of the framework with a fix for Neo4j 3.3.1. Closing this.

arsanjea commented 6 years ago

I will try today and report back. Thank you!

Regards, Jean-Marc Arsan

Closed #83https://github.com/graphaware/neo4j-framework/issues/83.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/graphaware/neo4j-framework/issues/83#event-1385653173, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5CeGWELBz8fkaAM2VOM8FUU0RHyL8-ks5s_9YngaJpZM4QdqDy.

moxious commented 6 years ago

I had the JAR @bachmanm suggested. This is the set I was using together:

apoc-3.3.0.1-all.jar                graphaware-server-all-3.3.0.52-SNAPSHOT.jar
graphaware-nlp-3.3.0.51.1.jar           nlp-opennlp-3.3.0.51.1.jar

$ du -k graphaware-server-all-3.3.0.52-SNAPSHOT.jar 
13372   graphaware-server-all-3.3.0.52-SNAPSHOT.jar

and the result: (many messages like this)

Failed to load `org.springframework.format.datetime.joda.JodaTimeConverters$DateTimeToLocalDateConverter` from plugin jar `/Users/x/Documents/Neo4j/graph.db/plugins/graphaware-server-all-3.3.0.52-SNAPSHOT.jar`: org/joda/time/DateTime
ikwattro commented 6 years ago

but neo4j is starting and procedures are available right? we had those warnings since a couple of time now but it is not really harming

On Wed, 13 Dec 2017 at 17:39, moxious notifications@github.com wrote:

I had the JAR @bachmanm https://github.com/bachmanm suggested. This is the set I was using together:

apoc-3.3.0.1-all.jar graphaware-server-all-3.3.0.52-SNAPSHOT.jar graphaware-nlp-3.3.0.51.1.jar nlp-opennlp-3.3.0.51.1.jar

$ du -k graphaware-server-all-3.3.0.52-SNAPSHOT.jar 13372 graphaware-server-all-3.3.0.52-SNAPSHOT.jar

and the result: (many messages like this)

Failed to load org.springframework.format.datetime.joda.JodaTimeConverters$DateTimeToLocalDateConverter from plugin jar /Users/x/Documents/Neo4j/graph.db/plugins/graphaware-server-all-3.3.0.52-SNAPSHOT.jar: org/joda/time/DateTime

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/graphaware/neo4j-framework/issues/83#issuecomment-351447820, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKleTtG5Cw0f5otxO9TkReoniLmDAdKks5s__3FgaJpZM4QdqDy .

-- Christophe Willemsen | Graph Aware Limited

Phone: +44 (0) 333 444 7274 <javascript:void(0);> | Mobile: +32 (0) 489 687 208 <javascript:void(0);> christophe@graphaware.com | @graph_aware | www.graphaware.com

SimonThordal commented 6 years ago

I seem to be getting this same error for 3.2.6 and APOC. Framework loads fine on its own, combined with apoc 3.2.3.5 it breaks.

Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: 2017-12-19 06:56:07.559+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@441ca83d' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@441ca83d' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@441ca83d' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:215) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:107) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:80) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:32) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@441ca83d' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:207) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: ... 3 more Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /var/lib/neo4j/data/databases/graph.db Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:209) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.(EnterpriseGraphDatabase.java:36) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$1(EnterpriseNeoServer.java:74) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: ... 5 more Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.proc.Procedures@2afae8a4' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:205) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: ... 9 more Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: Caused by: java.lang.VerifyError: class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class; Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.lang.ClassLoader.defineClass1(Native Method) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.lang.ClassLoader.defineClass(ClassLoader.java:763) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.net.URLClassLoader.access$100(URLClassLoader.java:73) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.net.URLClassLoader$1.run(URLClassLoader.java:368) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.net.URLClassLoader$1.run(URLClassLoader.java:362) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.security.AccessController.doPrivileged(Native Method) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.net.URLClassLoader.findClass(URLClassLoader.java:361) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.lang.ClassLoader.loadClass(ClassLoader.java:411) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.proc.ProcedureJarLoader$1.fetchNextOrNull(ProcedureJarLoader.java:141) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.proc.ProcedureJarLoader$1.fetchNextOrNull(ProcedureJarLoader.java:118) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.collection.PrefetchingRawIterator.peek(PrefetchingRawIterator.java:50) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.collection.PrefetchingRawIterator.hasNext(PrefetchingRawIterator.java:36) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:91) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:275) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: ... 11 more Dec 19 07:56:07 SNAPPYFISH neo4j[22415]: 2017-12-19 06:56:07.560+0000 INFO Neo4j Server shutdown initiated by request

ikwattro commented 6 years ago

The fix has been included on 3.3.1, so you will need to upgrade.

We do not backport fixes to older versions of neo4j except for GraphAware Enterprise customers.

arsanjea commented 6 years ago

I installed a new version of neo4j with to the latest versions of neo4j, apoc and graphaware; however, I am still experiencing issues. The installation works perfectly with either apoc or graphaware plugins, but not with both :( Files:

Output:


2018-01-02 21:30:29.207+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@222ebd21' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@222ebd21' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@222ebd21' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
    at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
    at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
    at org.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@222ebd21' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211)
    ... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /var/lib/neo4j/data/databases/graph.db
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211)
    at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(EnterpriseGraphDatabase.java:36)
    at org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$1(EnterpriseNeoServer.java:75)
    at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    ... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.proc.Procedures@5c452eb5' was successfully initialized, but failed to start. Please see the attached cause exception "class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;".
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
    at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207)
    ... 9 more
Caused by: java.lang.VerifyError: class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method getDeclaringClass.()Ljava/lang/Class;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader$1.fetchNextOrNull(ProcedureJarLoader.java:141)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader$1.fetchNextOrNull(ProcedureJarLoader.java:118)
    at org.neo4j.collection.PrefetchingRawIterator.peek(PrefetchingRawIterator.java:50)
    at org.neo4j.collection.PrefetchingRawIterator.hasNext(PrefetchingRawIterator.java:36)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:91)
    at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82)
    at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:275)
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
    ... 11 more
2018-01-02 21:30:29.212+0000 INFO  Neo4j Server shutdown initiated by request```
ikwattro commented 6 years ago

Can you upgrade your java version ? I had the same issue with build 1.8.0_131-b11, however upgrading to build 1.8.0_151-b12 the issue disappeared.

We will investigate this use case though after the holidays

arsanjea commented 6 years ago

Ok - I used alpine 9 and get the same error :( Version of java:

openjdk version "1.8.0_151"
OpenJDK Runtime Environment (IcedTea 3.6.0) (Alpine 8.151.12-r0)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
valayDave commented 6 years ago

I am having the same problem. I am running Neo4j Desktop Version for the Mac. The graphaware framework library works fine stand alone. When coupled with APOC, neo4j crashes with errors described by the users on this thread.

Versions

Neo4j version 3.3.1

Java

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Plugins:

graphaware-server-community-all-3.3.0.51.jar apoc-3.3.0.1-all.jar

Neo4j conf

dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware
com.graphaware.runtime.enabled=true
dbms.security.procedures.unrestricted=apoc.*

What should I do? I am going to reinstall my Java to start.

rremigius commented 6 years ago

I'd like to confirm @arsanjea's issue, as I get the same exception with the following configuration:

Neo4j neo4j-community-3.3.2

Plugins apoc-3.3.0.1-all.jar graphaware-server-community-all-3.3.2.51.jar

neo4j.conf

dbms.security.procedures.unrestricted=apoc.*
dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware
com.graphaware.runtime.enabled=true

Java

openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
ikwattro commented 6 years ago

@rremigius @arsanjea

Please test with the latest release of today which hopefully will fix that issue forever as we are now building with apoc during tests.

https://products.graphaware.com/download/framework-server-community/latest

rremigius commented 6 years ago

@ikwattro Great, it works for me! Thanks!