Hi,

I try to migrate my unmaneged extention from  Neo4j 2.3.2 (Comunity 
Edition)  to Neo4J 3.0 (CE) . So I updated the Neo4j version in my pom.xml 
file and rebuild the plugin.
After that I copied it into the plugin directory and edited the neo4j.conf 
as following:

dbms.unmanaged_extension_classes=package.path.to.my.resource=/graph/

When I try to start neo4j I get the following stacktracke:

2016-04-26 12:52:54.297+0000 INFO  Starting...
2016-04-26 12:52:54.784+0000 INFO  Bolt enabled on localhost:7687.
2016-04-26 12:52:56.589+0000 ERROR Failed to start Neo4j: Starting Neo4j 
failed: Component 
'org.neo4j.server.database.LifecycleManagingDatabase@5384a166' was 
successfully initialized, but failed to start. Please see attached cause 
exception. Starting Neo4j failed: Component 
'org.neo4j.server.database.LifecycleManagingDatabase@5384a166' was 
successfully initialized, but failed to start. Please see attached cause 
exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 
'org.neo4j.server.database.LifecycleManagingDatabase@5384a166' was 
successfully initialized, but failed to start. Please see attached cause 
exception.
at 
org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:217)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:81)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:60)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
'org.neo4j.server.database.LifecycleManagingDatabase@5384a166' was 
successfully initialized, but failed to start. Please see attached cause 
exception.
at 
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:189)
... 3 more
Caused by: java.lang.RuntimeException: Error starting 
org.neo4j.kernel.impl.factory.CommunityFacadeFactory, 
/home/artur/apps/neo4j-community-3.0.0/data/databases/graph.db
at 
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144)
at 
org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:40)
at 
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:108)
at 
org.neo4j.server.CommunityNeoServer.lambda$static$32(CommunityNeoServer.java:55)
at 
org.neo4j.server.CommunityNeoServer$$Lambda$43/1393931310.newGraphDatabase(Unknown
 
Source)
at 
org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at 
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
'org.neo4j.kernel.impl.proc.Procedures@4e6bcab1' was successfully 
initialized, but failed to start. Please see attached cause exception.
at 
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at 
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
... 11 more
Caused by: org.neo4j.kernel.api.exceptions.ProcedureException: Procedures 
must return a Stream of records, where a record is a concrete class
that you define and not a Stream<?>.
at org.neo4j.kernel.impl.proc.OutputMappers.mapper(OutputMappers.java:162)
at 
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compileProcedure(ReflectiveProcedureCompiler.java:106)
at 
org.neo4j.kernel.impl.proc.ReflectiveProcedureCompiler.compile(ReflectiveProcedureCompiler.java:84)
at 
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProcedures(ProcedureJarLoader.java:88)
at 
org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:77)
at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:125)
at 
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 13 more


Using the same in 2.3.2 via 
org.neo4j.server.thirdparty_jaxrs_classes=package.path.to.my.resources=/graph 
in neo4j-server.properties works fine.

Thanks.

Regards Artur.




-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to