Re: [Neo4j] Exception creating EmbeddedGraphDatabase from a Servlet

2011-02-22 Thread Pablo Pareja
Hi David, I just found a workaround for it this afternoon. I moved my neo4j db folder with all the data into the jetty installation folder and changed the db folder String using a relative path instead of an absolute one. (I guess it's not the most elegant one but it works fine so far). Cheers, P

Re: [Neo4j] Exception creating EmbeddedGraphDatabase from a Servlet

2011-02-22 Thread David Montag
Pablo, Did you resolve this, or is this still an issue for you? David On Mon, Feb 21, 2011 at 2:08 AM, Pablo Pareja wrote: > Hi Jim, > > I already did it, I'm using a constant defined in the code for the DB > folder > which it's the same > I used for testing things with a really simple jar. >

Re: [Neo4j] Exception creating EmbeddedGraphDatabase from a Servlet

2011-02-21 Thread Pablo Pareja
Hi Jim, I already did it, I'm using a constant defined in the code for the DB folder which it's the same I used for testing things with a really simple jar. I also tried changing the permissions for every DB file granting every kind of permission to any kind of user (I know that's kind of crazy bu

Re: [Neo4j] Exception creating EmbeddedGraphDatabase from a Servlet

2011-02-21 Thread Jim Webber
Hi Pablo, This caught my eye in your stacktrace: Unable to create directory path[] for Neo4j Can you confirm that you have provided the right path for your database into your Jetty app? Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.

[Neo4j] Exception creating EmbeddedGraphDatabase from a Servlet

2011-02-21 Thread Pablo Pareja
Hi! I'm having some trouble getting Neo4j DB to work from servlets in my Jetty server. There's no problem when I open the DB from a simple jar program file, however when I put the same code inside a servlet I get this exception: org.neo4j.graphdb.TransactionFailureException: Could not create data