Starting Neo4j

45 views
Skip to first unread message

contact...@gmail.com

unread,
Apr 28, 2014, 2:45:52 PM4/28/14
to ne...@googlegroups.com
Hi,

Im new to Neo4j community and i have a toon of questions and problemes !

Firstly, i did i big mistake, i try an example according to this, i want to try Neo4j from Eclipse and the example does'nt run cause it's an old version of Neo4j and i have the last one
 
So now, i can't start Neo4j cause he is aleardy started and i can verify it from localhost

./neo4j start
WARNING
: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Using additional JVM arguments:  -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
Starting Neo4j Server...WARNING: not changing user
process
[5396]... waiting for server to be ready............ Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.


Forget first warning, it's aleardy fixed, so let's check the log console:

20:43:29.799 [main] INFO  org.neo4j.server.CommunityNeoServer - Setting startup timeout to: 120000ms based on -1
Detected incorrectly shut down database, performing recovery..
2014-04-28 18:43:36.360+0000 INFO  [API] Successfully started database
2014-04-28 18:43:37.040+0000 INFO  [API] Starting HTTP on port :7474 with 40 threads available
2014-04-28 18:43:37.426+0000 INFO  [API] Enabling HTTPS on port :7473
2014-04-28 18:43:37.653+0000 INFO  [API] Mounted discovery module at [/]
2014-04-28 18:43:37.760+0000 INFO  [API] Loaded server plugin "SpatialPlugin"
2014-04-28 18:43:37.762+0000 INFO  [API]   GraphDatabaseService.addNodeToLayer: add a geometry node to a layer, as long as the node contains the geometry information appropriate to this layer.
2014-04-28 18:43:37.762+0000 INFO  [API]   GraphDatabaseService.findClosestGeometries: search a layer for the closest geometries and return them.
2014-04-28 18:43:37.763+0000 INFO  [API]   GraphDatabaseService.addNodesToLayer: adds many geometry nodes (about 10k-50k) to a layer, as long as the nodes contain the geometry information appropriate to this layer.
2014-04-28 18:43:37.763+0000 INFO  [API]   GraphDatabaseService.findGeometriesWithinDistance: search a layer for geometries within a distance of a point. To achieve more complex CQL searches, pre-define the dynamic layer with addCQLDynamicLayer.
2014-04-28 18:43:37.764+0000 INFO  [API]   GraphDatabaseService.findGeometriesInBBox: search a layer for geometries in a bounding box. To achieve more complex CQL searches, pre-define the dynamic layer with addCQLDynamicLayer.
2014-04-28 18:43:37.765+0000 INFO  [API]   GraphDatabaseService.addSimplePointLayer: add a new layer specialized at storing simple point location data
2014-04-28 18:43:37.765+0000 INFO  [API]   GraphDatabaseService.getLayer: find an existing layer
2014-04-28 18:43:37.766+0000 INFO  [API]   GraphDatabaseService.addGeometryWKTToLayer: add a geometry specified in WKT format to a layer, encoding in the specified layers encoding schemea.
2014-04-28 18:43:37.766+0000 INFO  [API]   GraphDatabaseService.addCQLDynamicLayer: add a new dynamic layer exposing a filtered view of an existing layer
2014-04-28 18:43:37.767+0000 INFO  [API]   GraphDatabaseService.addEditableLayer: add a new layer specialized at storing generic geometry data in WKB
2014-04-28 18:43:37.767+0000 INFO  [API]   GraphDatabaseService.updateGeometryFromWKT: update an existing geometry specified in WKT format. The layer must already contain the record.
2014-04-28 18:43:37.768+0000 INFO  [API] Mounted REST API at [/db/data/]
2014-04-28 18:43:37.775+0000 INFO  [API] Mounted management API at [/db/manage/]
2014-04-28 18:43:37.776+0000 INFO  [API] Mounted webadmin at [/webadmin]
2014-04-28 18:43:37.776+0000 INFO  [API] Mounted Neo4j Browser at [/browser]
2014-04-28 18:43:37.915+0000 INFO  [API] Mounting static content at [/webadmin] from [webadmin-html]
2014-04-28 18:43:38.065+0000 INFO  [API] Mounting static content at [/browser] from [browser]
20:43:38.068 [main] WARN  o.e.j.server.handler.ContextHandler - o.e.j.s.ServletContextHandler@50adb745{/
,null,null} contextPath ends with /
20:43:38.068 [main] WARN  o.e.j.server.handler.ContextHandler - Empty contextPath
20:43:38.073 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.0.5.v20130815
20:43:38.136 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@f49c1e1{/,null,AVAILABLE}
20:43:38.195 [main] WARN  o.e.jetty.webapp.WebInfConfiguration - Can't reuse /
tmp/jetty-localhost-7474-webadmin-html-_webadmin-any-, using /tmp/jetty-localhost-7474-webadmin-html-_webadmin-any-_5716043958337866187
20:43:38.365 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
20:43:38.393 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@6f04499{/webadmin,jar:file:/opt/neo4j-community-2.0.2/system/lib/neo4j-server-2.0.2-static-web.jar!/webadmin-html,AVAILABLE}
20:43:39.512 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@3f445d30{/
db/manage,null,AVAILABLE}
20:43:40.334 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@4a1368d{/db/data,null,AVAILABLE}
20:43:40.338 [main] WARN  o.e.jetty.webapp.WebInfConfiguration - Can't reuse /tmp/jetty-localhost-7474-browser-_browser-any-, using /tmp/jetty-localhost-7474-browser-_browser-any-_3367903361751146910
20:43:40.394 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet
20:43:40.397 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@56d22841{/browser,jar:file:/opt/neo4j-community-2.0.2/system/lib/neo4j-browser-2.0.2.jar!/browser,AVAILABLE}
20:43:40.606 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@50adb745{/,null,AVAILABLE}
20:43:40.635 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED ServerConnector@6b19699c{HTTP/1.1}{localhost:7474}: java.net.BindException: Adresse déjà utilisée
java.net.BindException: Adresse déjà utilisée
    at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_55]
    at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_55]
    at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_55]
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~[na:1.7.0_55]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.7.0_55]
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:244) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.doStart(Server.java:303) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
20:43:40.637 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED ServerConnector@7bc70866{SSL-HTTP/1.1}{localhost:7473}: java.net.BindException: Adresse déjà utilisée
java.net.BindException: Adresse déjà utilisée
    at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_55]
    at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_55]
    at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_55]
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~[na:1.7.0_55]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.7.0_55]
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:244) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.doStart(Server.java:303) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
20:43:40.638 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.Server@47f8a006: MultiException[java.net.BindException: Adresse déjà utilisée, java.net.BindException: Adresse déjà utilisée]
org.eclipse.jetty.util.MultiException: Multiple exceptions
    at org.eclipse.jetty.server.Server.doStart(Server.java:286) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
2014-04-28 18:43:40.639+0000 INFO  [API] Failed to start Neo Server on port [7474], reason [MultiException[java.net.BindException: Adresse déjà utilisée, java.net.BindException: Adresse déjà utilisée]]

I don't find some issue simillar to this and i just delete the project from eclipse, no gain, juste i lose the code and i can't edit

My environnement:
Ubuntu 14.04
JVM 7
Neo4j 2.0.2 and Neo4j Spatial (the cause of all my problemes)

Thanks for help !




Reply all
Reply to author
Forward
0 new messages