You should explain what your are doing

And see this error message in the stacktrace

C:\TPNeo4jDB\store_lock. Please ensure no other process is using this database, 
and that the directory is writable (required even for read-only access)

> Am 23.01.2015 um 06:59 schrieb DEEPAK SHUKLA <[email protected]>:
> 
> Exception in thread "main" java.lang.RuntimeException: Error starting 
> org.neo4j.kernel.EmbeddedGraphDatabase, C:\TPNeo4jDB
>       at 
> org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:366)
>       at 
> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59)
>       at 
> org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:91)
>       at 
> org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:181)
>       at 
> org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:71)
>       at 
> com.all.action.JavaNeo4jCQLRetrivalTest.main(JavaNeo4jCQLRetrivalTest.java:13)
> Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
> 'org.neo4j.kernel.StoreLockerLifecycleAdapter@3447c30b' was successfully 
> initialized, but failed to start. Please see attached cause exception.
>       at 
> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:513)
>       at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115)
>       at 
> org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:343)
>       ... 5 more
> Caused by: org.neo4j.kernel.StoreLockException: Unable to obtain lock on 
> store lock file: C:\TPNeo4jDB\store_lock. Please ensure no other process is 
> using this database, and that the directory is writable (required even for 
> read-only access)
>       at org.neo4j.kernel.StoreLocker.checkLock(StoreLocker.java:82)
>       at 
> org.neo4j.kernel.StoreLockerLifecycleAdapter.start(StoreLockerLifecycleAdapter.java:44)
>       at 
> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507)
>       ... 7 more
> Caused by: java.io.IOException: Couldn't lock lock file C:\TPNeo4jDB\lock 
> because another process already holds the lock.
>       at 
> org.neo4j.kernel.impl.nioneo.store.FileLock.getLockFileBasedFileLock(FileLock.java:120)
>       at 
> org.neo4j.kernel.impl.nioneo.store.FileLock.getOsSpecificFileLock(FileLock.java:64)
>       at 
> org.neo4j.kernel.DefaultFileSystemAbstraction.tryLock(DefaultFileSystemAbstraction.java:93)
>       at org.neo4j.kernel.StoreLocker.checkLock(StoreLocker.java:74)
>       ... 9 more
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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.

Reply via email to