I am going from extension to extension. The only thing that I had to change in the code was the neo4j version in the pom file.
On Tuesday, 23 August 2016 21:58:17 UTC+1, Max De Marzi Jr. wrote: > > I did one of mine recently, it was pretty painless. See: > > > https://github.com/maxdemarzi/graph_processing/commit/0f8c632a13d106d562ebfd9c7b7ce2051012c46c > > Are you trying to go from Extension to Procedure or keeping it an > extension? Got code up anywhere we can take a look? > > On Tuesday, August 23, 2016 at 11:16:11 AM UTC-5, Sotiris Beis wrote: >> >> Any update on this issue? I have the exact same problem. >> >> Cheers, >> Sotiris >> >> On Wednesday, 27 April 2016 17:59:57 UTC+1, Artur W wrote: >>> >>> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
