Datastax studio cannot read schema for graph - datastax-enterprise

I have a DSE 6 Cluster in production, everything works great.
Lately I wanted to plug the version 6 of datastax studio on it.
I configured the connection properly with ssl and authentication and the connection test is successful.
The problem is that DSE Studio doesn't seem to be able to get the schema from the server.
I'm using the last java version from Oracle, and I configured JCE with jce unlimited strength jurisdiction policy files for java 8.
I have this error in the studio log:
23:02:22.740 [Studio-akka.actor.default-dispatcher-12] ERROR
com.datastax.studio.client.SchemaManager ID: TS: - Unexpected exception getting cql schema for connection null: java.lang.NullPointerException
23:02:22.744 [Studio-akka.actor.default-dispatcher-42] WARN com.datastax.studio.streaming.websocket.CQLSchemaBroadcaster ID: TS: - Schema stream provider got null cql schema
23:02:22.740 [Studio-akka.actor.default-dispatcher-32] ERROR com.datastax.studio.application.EventuateEventBus ID: TS: - Unhandled exception during publishing (event=SparkSQLConnectionClosed(connectionId=null), listener=com.datastax.studio.client.SchemaManager$$Lambda$71/1502197135#4121ef79):
java.lang.NullPointerException: null
at java.util.concurrent.ConcurrentHashMap.replaceNode(ConcurrentHashMap.java:1106) ~[?:1.8.0_161]
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1097) ~[?:1.8.0_161]
at com.datastax.studio.client.SchemaManager.stopSparkSqlSchemaRefresh(SchemaManager.java:473) ~[classes/:?]
at com.datastax.studio.client.SchemaManager.lambda$init$5(SchemaManager.java:181) ~[classes/:?]
at com.datastax.studio.application.EventuateEventBus$EventListenerActor.lambda$new$0(EventuateEventBus.java:116) ~[classes/:?]
at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) [akka-actor_2.11-2.4.17.jar:?]
at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) [akka-actor_2.11-2.4.17.jar:?]
at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) [scala-library-2.11.8.jar:?]
at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) [akka-actor_2.11-2.4.17.jar:?]
at scala.PartialFunction$OrElse.apply(PartialFunction.scala:167) [scala-library-2.11.8.jar:?]
at com.rbmhtechnology.eventuate.EventsourcedView$class.receiveEvent(EventsourcedView.scala:227) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at com.rbmhtechnology.eventuate.AbstractEventsourcedActor.com$rbmhtechnology$eventuate$ConfirmedDelivery$$super$receiveEvent(AbstractEventsourcedActor.scala:32) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at com.rbmhtechnology.eventuate.ConfirmedDelivery$class.receiveEvent(ConfirmedDelivery.scala:83) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at com.rbmhtechnology.eventuate.AbstractEventsourcedActor.com$rbmhtechnology$eventuate$PersistOnEvent$$super$receiveEvent(AbstractEventsourcedActor.scala:32) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at com.rbmhtechnology.eventuate.PersistOnEvent$class.receiveEvent(PersistOnEvent.scala:79) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at com.rbmhtechnology.eventuate.AbstractEventsourcedActor.receiveEvent(AbstractEventsourcedActor.scala:32) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at com.rbmhtechnology.eventuate.EventsourcedView$$anonfun$initiated$1.applyOrElse(EventsourcedView.scala:457) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at akka.actor.Actor$class.aroundReceive(Actor.scala:497) [akka-actor_2.11-2.4.17.jar:?]
at com.rbmhtechnology.eventuate.AbstractEventsourcedView.aroundReceive(AbstractEventsourcedView.scala:55) [eventuate-core_2.11-0.8.1.jar:0.8.1]
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) [akka-actor_2.11-2.4.17.jar:?]
at akka.actor.ActorCell.invoke(ActorCell.scala:495) [akka-actor_2.11-2.4.17.jar:?]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) [akka-actor_2.11-2.4.17.jar:?]
at akka.dispatch.Mailbox.run(Mailbox.scala:224) [akka-actor_2.11-2.4.17.jar:?]
at akka.dispatch.Mailbox.exec(Mailbox.scala:234) [akka-actor_2.11-2.4.17.jar:?]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.11.8.jar:?]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.11.8.jar:?]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.11.8.jar:?]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.11.8.jar:?]
On the server side there is nothing special in the logs.
Do you know what the problem could be?

Related

Not possible to upgrade a store with version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4.6) - dataset example related

I am working through Neo4j section of Seven Databases in Seven Weeks book. I am at the Big Data section of day 2. I was able to download and move the Movie Database dataset example (cineasts_12k_movies_50k_actors.db) to data/databases. I then comment out dbms.active_database=graph.db and added the line
dbms.active_database=movies.db
in neo4j.conf file in /conf folder.
According to the instruction in the book, I ought to go into same file (neo4j.conf) to uncomment the line:
#dbms.allow_format_migrations=true
but such line did not exist in the file. And adding it to the config file threw up below error:
C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise-3.4.6-windows\neo4j-enterprise-
3.4.6\bin>neo4j console
2018-08-24 03:37:28.996+0000 WARN Unknown config option: dbms.allow_format_migr
ations
2018-08-24 03:37:29.076+0000 INFO ======== Neo4j 3.4.6 ========
2018-08-24 03:37:29.170+0000 INFO Starting...
2018-08-24 03:37:33.672+0000 INFO Initiating metrics...
2018-08-24 03:37:34.180+0000 ERROR Failed to start Neo4j: Starting Neo4j failed:
Component 'org.neo4j.server.database.LifecycleManagingDatabase#6db66836' was su
ccessfully initialized, but failed to start. Please see the attached cause excep
tion "Unknown store version 'v0.A.3'". Starting Neo4j failed: Component 'org.neo
4j.server.database.LifecycleManagingDatabase#6db66836' was successfully initiali
zed, but failed to start. Please see the attached cause exception "Unknown store
version 'v0.A.3'".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.n
eo4j.server.database.LifecycleManagingDatabase#6db66836' was successfully initia
lized, but failed to start. Please see the attached cause exception "Unknown sto
re version 'v0.A.3'".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStart
upError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111
)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntry
Point.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.s
erver.database.LifecycleManagingDatabase#6db66836' was successfully initialized,
but failed to start. Please see the attached cause exception "Unknown store ver
sion 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.fact
ory.GraphDatabaseFacadeFactory, C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise
-3.4.6-windows\neo4j-enterprise-3.4.6\data\databases\movies.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:212)
at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(Enterprise
GraphDatabase.java:39)
at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(O
penEnterpriseNeoServer.java:78)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleMa
nagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k
ernel.NeoStoreDataSource#4152d38d' was successfully initialized, but failed to s
tart. Please see the attached cause exception "Unknown store version 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataS
ourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:208)
... 9 more
Caused by: java.lang.IllegalArgumentException: Unknown store version 'v0.A.3'
at org.neo4j.kernel.impl.store.format.RecordFormatSelector.selectForVers
ion(RecordFormatSelector.java:101)
at org.neo4j.kernel.impl.store.NeoStores.verifyRecordFormat(NeoStores.ja
va:211)
at org.neo4j.kernel.impl.store.NeoStores.<init>(NeoStores.java:143)
at org.neo4j.kernel.impl.store.StoreFactory.openNeoStores(StoreFactory.j
ava:160)
at org.neo4j.kernel.impl.store.StoreFactory.openAllNeoStores(StoreFactor
y.java:124)
at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageE
ngine.<init>(RecordStorageEngine.java:200)
at org.neo4j.kernel.NeoStoreDataSource.buildStorageEngine(NeoStoreDataSo
urce.java:574)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:434
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 14 more
2018-08-24 03:37:34.183+0000 INFO Neo4j Server shutdown initiated by request
From online research, it seemed it (#dbms.allow_format_migrations=true) was a depreciated config option. I then went to the A.1. Configuration settings at https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ and from what I could make out there it seemed (my own conclusion) I could just uncomment dbms.allow_upgrade in place of dbms.allow_format_migrations (which was not available/ now depreciated) but I get below error:
C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise-3.4.6-windows\neo4j-enterprise-
3.4.6\bin>neo4j console
2018-08-24 03:42:32.958+0000 INFO ======== Neo4j 3.4.6 ========
2018-08-24 03:42:33.031+0000 INFO Starting...
2018-08-24 03:42:36.413+0000 INFO Initiating metrics...
2018-08-24 03:42:36.787+0000 INFO Starting upgrade of database
2018-08-24 03:42:36.807+0000 ERROR Failed to start Neo4j: Starting Neo4j failed:
Component 'org.neo4j.server.database.LifecycleManagingDatabase#759fad4' was suc
cessfully initialized, but failed to start. Please see the attached cause except
ion "Not possible to upgrade a store with version 'v0.A.3' to current store vers
ion `v0.A.9` (Neo4j 3.4.6).". Starting Neo4j failed: Component 'org.neo4j.server
.database.LifecycleManagingDatabase#759fad4' was successfully initialized, but f
ailed to start. Please see the attached cause exception "Not possible to upgrade
a store with version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4.6)."
.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.n
eo4j.server.database.LifecycleManagingDatabase#759fad4' was successfully initial
ized, but failed to start. Please see the attached cause exception "Not possible
to upgrade a store with version 'v0.A.3' to current store version `v0.A.9` (Neo
4j 3.4.6).".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStart
upError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111
)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntry
Point.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.s
erver.database.LifecycleManagingDatabase#759fad4' was successfully initialized,
but failed to start. Please see the attached cause exception "Not possible to up
grade a store with version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4
.6).".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.fact
ory.GraphDatabaseFacadeFactory, C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise
-3.4.6-windows\neo4j-enterprise-3.4.6\data\databases\movies.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:212)
at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(Enterprise
GraphDatabase.java:39)
at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(O
penEnterpriseNeoServer.java:78)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleMa
nagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k
ernel.NeoStoreDataSource#cf65451' was successfully initialized, but failed to st
art. Please see the attached cause exception "Not possible to upgrade a store wi
th version 'v0.A.3' to current store version `v0.A.9` (Neo4j 3.4.6).".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataS
ourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:208)
... 9 more
Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradin
gStoreVersionException: Not possible to upgrade a store with version 'v0.A.3' to
current store version `v0.A.9` (Neo4j 3.4.6).
at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.checkUpgradea
ble(UpgradableDatabase.java:122)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateStore(Store
Upgrader.java:141)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(St
oreUpgrader.java:122)
at org.neo4j.kernel.impl.storemigration.DatabaseMigrator.migrate(Databas
eMigrator.java:100)
at org.neo4j.kernel.NeoStoreDataSource.upgradeStore(NeoStoreDataSource.j
ava:564)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:419
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 14 more
2018-08-24 03:42:36.810+0000 INFO Neo4j Server shutdown initiated by request
Then, I commented out the line 'dbms.allow_upgrade' and ran neo4j console again to start server on cmd and got below error:
C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise-3.4.6-windows\neo4j-enterprise-
3.4.6\bin>neo4j console
2018-08-24 03:49:20.922+0000 INFO ======== Neo4j 3.4.6 ========
2018-08-24 03:49:21.008+0000 INFO Starting...
2018-08-24 03:49:24.533+0000 INFO Initiating metrics...
2018-08-24 03:49:25.557+0000 ERROR Failed to start Neo4j: Starting Neo4j
failed:
Component 'org.neo4j.server.database.LifecycleManagingDatabase#9cd25ff' was suc
cessfully initialized, but failed to start. Please see the attached cause except
ion "Unknown store version 'v0.A.3'". Starting Neo4j failed: Component 'org.neo4
j.server.database.LifecycleManagingDatabase#9cd25ff' was successfully initialize
d, but failed to start. Please see the attached cause exception "Unknown store v
ersion 'v0.A.3'".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.n
eo4j.server.database.LifecycleManagingDatabase#9cd25ff' was successfully initial
ized, but failed to start. Please see the attached cause exception "Unknown stor
e version 'v0.A.3'".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStart
upError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111
)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntry
Point.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.s
erver.database.LifecycleManagingDatabase#9cd25ff' was successfully initialized,
but failed to start. Please see the attached cause exception "Unknown store vers
ion 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.fact
ory.GraphDatabaseFacadeFactory, C:\Users\w3s\Desktop\NEO4J_HOME\neo4j-enterprise
-3.4.6-windows\neo4j-enterprise-3.4.6\data\databases\movies.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:212)
at org.neo4j.kernel.enterprise.EnterpriseGraphDatabase.<init>(Enterprise
GraphDatabase.java:39)
at org.neo4j.server.enterprise.OpenEnterpriseNeoServer.lambda$static$1(O
penEnterpriseNeoServer.java:78)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleMa
nagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.k
ernel.NeoStoreDataSource#7a11c4c7' was successfully initialized, but failed to s
tart. Please see the attached cause exception "Unknown store version 'v0.A.3'".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataS
ourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(G
raphDatabaseFacadeFactory.java:208)
... 9 more
Caused by: java.lang.IllegalArgumentException: Unknown store version 'v0.A.3'
at org.neo4j.kernel.impl.store.format.RecordFormatSelector.selectForVers
ion(RecordFormatSelector.java:101)
at org.neo4j.kernel.impl.store.NeoStores.verifyRecordFormat(NeoStores.ja
va:211)
at org.neo4j.kernel.impl.store.NeoStores.<init>(NeoStores.java:143)
at org.neo4j.kernel.impl.store.StoreFactory.openNeoStores(StoreFactory.j
ava:160)
at org.neo4j.kernel.impl.store.StoreFactory.openAllNeoStores(StoreFactor
y.java:124)
at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageE
ngine.<init>(RecordStorageEngine.java:200)
at org.neo4j.kernel.NeoStoreDataSource.buildStorageEngine(NeoStoreDataSo
urce.java:574)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:434
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSu
pport.java:445)
... 14 more
2018-08-24 03:49:25.563+0000 INFO Neo4j Server shutdown initiated by request
Please advise on way around this so I can work with the example dataset (and then carry forward to practice with other example datasets).
Thanks a loaded bunch for your time.
NOTE: I run a windows 7 OS machine; my version of neo4j is the trial neo4j-enterprise-3.4.6; I use cygwin terminal alongside cmd prompt to follow along with the book; I am a beginner programmer (I don't know much). Also, this Error while running Neo4j: Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1) seemed similar but was not helpful (no answers there).
I think this issue was caused by version compatibility of neo4j.
See https://neo4j.com/developer/kb/store-format-versions/ .
And there are two solutions for this issue. One solution is downgrading the version of neo4j you used to 2.1.0. Another is upgrading your data manually to 0.A.8.
Good luck!

Error while running Neo4j: Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1)

I am trying to run neo4j 3.3.1 while I am getting the following error:
2018-05-29 08:43:36.805+0000 INFO Starting upgrade of database
2018-05-29 08:43:36.815+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase#6c2c1385' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /home/ubuntu/.ineo/instances/staging1/data/databases/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126)
at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource#60129b9a' was successfully initialized, but failed to start. Please see the attached cause exception "Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:100)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207)
... 9 more
Caused by: org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException: Not possible to upgrade a store with version 'v0.A.9' to current store version `v0.A.8` (Neo4j 3.3.1).
at org.neo4j.kernel.impl.storemigration.UpgradableDatabase.checkUpgradeable(UpgradableDatabase.java:122)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateIfNeeded(StoreUpgrader.java:132)
at org.neo4j.kernel.impl.storemigration.DatabaseMigrator.migrate(DatabaseMigrator.java:101)
at org.neo4j.kernel.NeoStoreDataSource.upgradeStore(NeoStoreDataSource.java:573)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:435)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
... 14 more
2018-05-29 08:43:36.819+0000 INFO Neo4j Server shutdown initiated by request
I generated my graph.db using neo4j-admin import command. I also changed the dbms.allow_upgrade=true as suggested by logs. What is the problem here and how should I proceed?
Actually I created the graph.db using version 3.4.0 and was trying to run using 3.3.1. When i tried running it with 3.4.0, it worked!

Richfaces-3.3.3.Final, JSF2.0, facelet1.1.14 with weblogic 12c

I have issue with richfaces3.3.3.Final, jsf2.0, facelet1.1.14 with weblogic 12c.
Application is deploying successfully. While loading the login page getting the following exception.
Logs:-
java.io.IOException: Error parsing [jar:file:/C:/Oracle_Home12.2.1.2/wlserver/modules/glassfish.jsf.jar!/META-INF/mojarra_ext.taglib.xml]:
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410)
at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:431)
at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87)
at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
java.io.IOException: Error parsing [zip:C:/Oracle_Home12.2.1.2/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/gems_2.0/n3ib5y/lib/jsf-impl-2.0.0.jar!/META-INF/taglib/ui.taglib.xml]:
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410)
at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:431)
at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87)
at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
Caused By: org.xml.sax.SAXException: Error Handling [zip:C:/Oracle_Home12.2.1.2/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/gems_2.0/n3ib5y/lib/jsf-impl-2.0.0.jar!/META-INF/taglib/ui.taglib.xml#41,31]
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.error(TagLibraryConfig.java:376)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:137)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1599)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1877)
Note:-
I have already check the *.taglib.xml version it was 2.0, which will compatible with JSF2.0. Please help to solve.

Can't load database on Neo4j

So I upgraded my Neo4j cluster instalation to 3.0.3 and it seems I can not load the database that comes with the instalation. This is the log file
<code>2016-06-28 14:11:20.879+0000 INFO Starting...
2016-06-28 14:11:21.620+0000 INFO Write transactions to database disabled
2016-06-28 14:11:22.483+0000 INFO Bolt enabled on localhost:7687.
2016-06-28 14:11:22.504+0000 INFO Initiating metrics...
2016-06-28 14:11:24.344+0000 INFO Attempting to join cluster of [192.168.1.91:5001, 192.168.1.92:5001, 192.168.1.93:5001]
2016-06-28 14:11:54.762+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingData$
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase#1f7853af' wa$
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:87)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:66)
at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase#1f7853af' was succ$
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.ha.factory.HighlyAvailableFacadeFactory, /opt/neo4j/neo4j-enterprise$
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144)
at org.neo4j.kernel.ha.factory.HighlyAvailableFacadeFactory.newFacade(HighlyAvailableFacadeFactory.java:42)
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:41)
at org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$0(EnterpriseNeoServer.java:80)
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.cluster.client.ClusterJoin#4b6942a0' was successfully initia$
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.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
... 10 more
Caused by: java.util.concurrent.TimeoutException
at org.neo4j.cluster.statemachine.StateMachineProxyFactory$ResponseFuture.get(StateMachineProxyFactory.java:300)
</code>
Is there any fresh db I could try to load ? Thanks.
Is that on a single instance or cluster?
Best try it in standalone mode first.
How did you upgrade? Using the admin-tool with
neo4j-admin --mode database --from neo4j-2x-db --to neo4j-3x-db ?
see: https://neo4j.com/guides/upgrade/#neo4j-3-0
and: http://neo4j.com/docs/operations-manual/3.0/#upgrade-instructions-2x

ERROR starting neo4j service on ubuntu

I installed neo4j 2.0.0 M06 version on my Ubuntu pc. It service worked fine, and I could use the new web browser perfectly.
Then, I used the sample java project (https://github.com/neo4j/neo4j/blob/2.0.0-M06/community/embedded-examples/src/main/java/org/neo4j/examples/EmbeddedNeo4jWithIndexing.java) to connect embedded way to the DB and add some nodes. (btw, I'm sure I stopped the neo4j service before launching the java application)
I changed the number of nodes added by the program to 100,000, and the application crashed on exceeding heap size (GC overhead limit).
Now, when trying to launch the neo4j I get a startup error :
2013-11-01 09:53:13.806+0000 DEBUG [API] Failed to start Neo Server on port [7474]
2013-11-01 10:00:52.865+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
2013-11-01 10:00:52.998+0000 DEBUG [API]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: org/neo4j/helpers /Settings
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:193) ~[neo4j- server-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) [neo4j-server-2.0.0- M06.jar:2.0.0-M06]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) [neo4j-server-2.0.0- M06.jar:2.0.0-M06]
Caused by: java.lang.NoClassDefFoundError: org/neo4j/helpers/Settings
at org.neo4j.shell.ShellSettings.<clinit>(ShellSettings.java:42) ~[neo4j-shell- 2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.database.CommunityDatabase.getDbTuningPropertiesWithServerDefaults(Communit yDatabase.java:106) ~[neo4j-server-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.enterprise.EnterpriseDatabase.start(EnterpriseDatabase.java:89) ~[neo4j-server-enterprise-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:141) ~[neo4j- server-2.0.0-M06.jar:2.0.0-M06]
... 2 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.neo4j.helpers.Settings
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_45]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_45]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_45]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_45]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_45]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_45]
... 6 common frames omitted
2013-11-01 10:00:53.000+0000 DEBUG [API] Failed to start Neo Server on port [7474]
I found the problem with the jar files. Unfortunately, after solving the jar files problem, I had to reinstall neo4j for the service to work again

Resources