Hello,
Neo4J Community Edition is well started as a service. If I uses the neo4j jdbc driver 3.3 the follow line:
Connection con = DriverManager.getConnection("jdbc:neo4j:bolt://127.0.0.1:7687", "test", "test");
delivers the following exception:
java.sql.SQLException: org.neo4j.driver.v1.exceptions.ServiceUnavailableException: Unable to process request: null
at neo4j.jdbc.driver@3.3.0/org.neo4j.jdbc.bolt.BoltDriver.connect(BoltDriver.java:84)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
at Database.(Database.java:40)
at BlockThread$Task.doAction(BlockThread.java:109)
at BlockThread$Task.run(BlockThread.java:91)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.neo4j.driver.v1.exceptions.ServiceUnavailableException: Unable to process request: null
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.SocketClient.start(SocketClient.java:143)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.SocketConnection.startSocketClient(SocketConnection.java:92)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.SocketConnection.(SocketConnection.java:67)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.SocketConnector.createConnection(SocketConnector.java:77)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.SocketConnector.connect(SocketConnector.java:50)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.pooling.SocketConnectionPool$ConnectionSupplier.get(SocketConnectionPool.java:245)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.pooling.SocketConnectionPool$ConnectionSupplier.get(SocketConnectionPool.java:227)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.pooling.BlockingPooledConnectionQueue.acquire(BlockingPooledConnectionQueue.java:91)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.pooling.SocketConnectionPool.acquireConnection(SocketConnectionPool.java:178)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.pooling.SocketConnectionPool.acquire(SocketConnectionPool.java:81)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.DirectConnectionProvider.acquireConnection(DirectConnectionProvider.java:47)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.DirectConnectionProvider.verifyConnectivity(DirectConnectionProvider.java:67)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.DirectConnectionProvider.(DirectConnectionProvider.java:41)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.DriverFactory.createDirectDriver(DriverFactory.java:109)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.DriverFactory.createDriver(DriverFactory.java:93)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.DriverFactory.newInstance(DriverFactory.java:67)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.v1.GraphDatabase.driver(GraphDatabase.java:135)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.v1.GraphDatabase.driver(GraphDatabase.java:117)
at neo4j.jdbc.driver@3.3.0/org.neo4j.jdbc.bolt.BoltDriver.connect(BoltDriver.java:80)
... 8 more
Caused by: java.nio.channels.ClosedByInterruptException
at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:199)
at java.base/sun.nio.ch.SocketChannelImpl.endRead(SocketChannelImpl.java:334)
at java.base/sun.nio.ch.SocketChannelImpl.endFinishConnect(SocketChannelImpl.java:746)
at java.base/sun.nio.ch.SocketChannelImpl.pollConnected(SocketChannelImpl.java:999)
at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:119)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.ChannelFactory.connect(ChannelFactory.java:79)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.ChannelFactory.create(ChannelFactory.java:41)
at neo4j.jdbc.driver@3.3.0/org.neo4j.driver.internal.net.SocketClient.start(SocketClient.java:126)
Hope anyone can help to find the problem?
Regards
Marc