Then you still have version conflicts. Please check again.
Cheers, Michael ---- (michael)-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j) Learn Online, Offline or Read a Book (in Deutsch) We're trading T-shirts for cool Graph Models Am 11.03.2014 um 07:37 schrieb Kalidhakani J <[email protected]>: > I solved the version conflicts.. Now I can start neo4j server on my server > startup.. But wen i try to access the database through URL, > I get the following exception > > WARN [2014-03-11 12:07:36,888] ServletHandler: doHandle(): Error for > /db/data/transaction/commit > java.lang.NoSuchMethodError: > org.neo4j.graphdb.Node.getLabels()Ljava/lang/Iterable; > at > org.neo4j.server.rest.transactional.GraphExtractionWriter.writeNodes(GraphExtractionWriter.java:70) > at > org.neo4j.server.rest.transactional.GraphExtractionWriter.write(GraphExtractionWriter.java:47) > at > org.neo4j.server.rest.transactional.AggregatingWriter.write(AggregatingWriter.java:41) > at > org.neo4j.server.rest.transactional.ExecutionResultSerializer.writeRows(ExecutionResultSerializer.java:297) > at > org.neo4j.server.rest.transactional.ExecutionResultSerializer.statementResult(ExecutionResultSerializer.java:103) > at > org.neo4j.server.rest.transactional.TransactionHandle.executeStatements(TransactionHandle.java:251) > at > org.neo4j.server.rest.transactional.TransactionHandle.commit(TransactionHandle.java:189) > at > org.neo4j.server.rest.transactional.TransactionHandle.commit(TransactionHandle.java:109) > at > org.neo4j.server.rest.web.TransactionalService$2.write(TransactionalService.java:198) > at > com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71) > at > com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57) > at > com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) > at > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) > at > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) > at > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1506) > at > org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136) > at > org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > at org.eclipse.jetty.server.Server.handle(Server.java:445) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229) > at > org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358) > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532) > at java.lang.Thread.run(Thread.java:722) > > > > > > On Fri, Mar 7, 2014 at 4:16 PM, Michael Hunger > <[email protected]> wrote: > Sounds like a version issue. Can you check you use the same version ? > > Cheers, > > Michael > > ---- > (michael}-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j) > Learn Online, Offline or Read a Book (in Deutsch) > We're trading T-shirts for cool GraphGist Models > > > > > > Am 07.03.2014 um 11:36 schrieb Kalidhakani J <[email protected]>: > >> I have modified all the configuration settings.. My config files are now >> getting loaded properly.. But now it is showing me the following error, >> >> java.lang.NoSuchFieldError: remote_shell_enabled >> at org.neo4j.server.database.Database.createDatabase(Database.java:77) >> at org.neo4j.server.database.Database.<init>(Database.java:64) >> at >> org.neo4j.server.NeoServerWithEmbeddedWebServer.startDatabase(NeoServerWithEmbeddedWebServer.java:175) >> at >> org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbeddedWebServer.java:93) >> at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) >> at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:52) >> >> I have disabled "remote_shell_enabled" in config file. >> >> >> >> >> On Fri, Mar 7, 2014 at 3:39 AM, Michael Hunger >> <[email protected]> wrote: >> You can configure Neo4j server to start at your server startup. There is an >> bin/neo4j-installer script with a description in doc/neo4j-installer.txt >> >> If you want to start it manually, you need the right path with the config >> files etc. Or configure it accordingly. >> >> You can check the code for this here: >> https://github.com/jexp/neo4j-in-memory-server >> Adapt it to your needs. >> >> Michael >> >> Am 06.03.2014 um 13:27 schrieb Kalidhakani J <[email protected]>: >> >> > Thanks for ur reply. >> > >> > I have a server which creates a graph database using >> > EmbeddedDatabaseBuilder. Every time wen I need to check my graph db, I had >> > to copy the db files to neo4j server, start it and use. It would be easy >> > for me if I start the neo4j server on my server startup and through HA i >> > can check my db. I need not start neo4j server again and again.. >> > >> > To be simple, I need to start neo4j server on my server startup.. >> > >> > >> > >> > >> > >> > On Thu, Mar 6, 2014 at 5:40 PM, Michael Hunger >> > <[email protected]> wrote: >> > What do you actually want to achieve? >> > >> > Michael >> > >> > Am 06.03.2014 um 12:50 schrieb Kalidhakani J <[email protected]>: >> > >> >> Hi, >> >> >> >> I am trying to start neo4j server using , >> >> >> >> org.neo4j.server.Bootstrapper >> >> >> >> String[] args = new String[1]; >> >> args[0] = "start"; >> >> >> >> Bootstrapper.main(args); >> >> >> >> When i run the code, I get the following exception : >> >> Mar 06, 2014 5:14:27 PM org.neo4j.server.logging.Logger log >> >> INFO: No database tuning properties >> >> (org.neo4j.server.db.tuning.properties) found in [null], using defaults. >> >> Mar 06, 2014 5:14:28 PM org.neo4j.server.logging.Logger log >> >> WARNING: The key [org.neo4j.server.database.location] is missing from the >> >> Neo Server configuration. >> >> Mar 06, 2014 5:14:28 PM org.neo4j.server.logging.Logger log >> >> SEVERE: Property [org.neo4j.server.properties] has not been set. >> >> Mar 06, 2014 5:14:28 PM org.neo4j.server.logging.Logger log >> >> SEVERE: >> >> org.neo4j.server.startup.healthcheck.StartupHealthCheckFailedException: >> >> Startup health check failed due to rule [class >> >> org.neo4j.server.startup.healthcheck.ConfigFileMustBePresentRule]. >> >> Property [org.neo4j.server.properties] has not been set. >> >> at >> >> org.neo4j.server.NeoServerWithEmbeddedWebServer.startupHealthCheck(NeoServerWithEmbeddedWebServer.java:161) >> >> at >> >> org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbeddedWebServer.java:89) >> >> at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) >> >> at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:52) >> >> at >> >> in.co.nmsworks.nms.web.GraphDatabaseInvoker$LaunchHelper.run(GraphDatabaseInvoker.java:363) >> >> >> >> Mar 06, 2014 5:14:28 PM org.neo4j.server.logging.Logger log >> >> SEVERE: Failed to start Neo Server on port [7474] >> >> >> >> I have set all the properties... >> >> Am i missing anything here ?? help me.. >> >> Thanks in advance.. >> >> >> >> >> >> Regards >> >> Kalidhakani J >> >> >> >> -- >> >> 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/groups/opt_out. >> > >> > >> > -- >> > 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/groups/opt_out. >> > >> > >> > -- >> > 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/groups/opt_out. >> >> -- >> 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/groups/opt_out. >> >> >> -- >> 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. > > > -- > 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. > > > -- > 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. -- 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.
