Hello!

Check my sample application using PlayFramework and Spring Data Neo4j.

This is just a skeleton app, that also features:

  • Neo4j Graph Database
  • Scala and Java integration
  • CDI (javax.inject)
  • Spring
  • Spring Data
  • Spring Data Neo4j

Sources: https://github.com/tomasmuller/playframework-neo4j-template

See it live here: http://playframework-neo4j.herokuapp.com/

About these ads

Join the conversation! 2 Comments

  1. hello! I have used your template Play+Spring Data Neo and it woks fine first time you start your server, problems come when you simple change the message in index.scala.html and try to reload to see your new message… it comes and error like this:

    Caused by: java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException: Component ‘org.neo4j.kernel.StoreLockerLifecycleAdapter@51f2c9bf’ was successfully initialized, but failed to start. Please see attached cause exception.
    at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:282) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:90) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:75) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:60) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_45]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_45]
    Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component ‘org.neo4j.kernel.StoreLockerLifecycleAdapter@51f2c9bf’ was successfully initialized, but failed to start. Please see attached cause exception.
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:260) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:90) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:75) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:60) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    Caused by: org.neo4j.kernel.StoreLockException: Unable to obtain lock on store lock file: target/neo4j-db/store_lock
    at org.neo4j.kernel.StoreLocker.checkLock(StoreLocker.java:90) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.StoreLockerLifecycleAdapter.start(StoreLockerLifecycleAdapter.java:40) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:260) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:90) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    Caused by: java.nio.channels.OverlappingFileLockException: null
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(FileChannelImpl.java:1166) ~[na:1.6.0_45]
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(FileChannelImpl.java:1068) ~[na:1.6.0_45]
    at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:868) ~[na:1.6.0_45]
    at java.nio.channels.FileChannel.tryLock(FileChannel.java:962) ~[na:1.6.0_45]
    at org.neo4j.kernel.impl.nioneo.store.FileLock.getOsSpecificFileLock(FileLock.java:83) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]
    at org.neo4j.kernel.DefaultFileSystemAbstraction.tryLock(DefaultFileSystemAbstraction.java:83) ~[neo4j-kernel-1.9.RC1.jar:1.9.RC1]

    Any kind of suggestion about how to fix this? I’m having a bad feeling about this, should I really bet on this combination?

    Many Thxs Thomás.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Category

java, neo4j, opensource, playframework, scala, spring-data, springframework

Tags

, , , , ,