[Neo4j] Re: Neo4j 2.2.1 error starting more than one istance

2015-05-14 Thread Rita
Hi Sumit, thank you. I am opening the 2 databases in 2 differents web application using Glassfish 3.1.2 I've seen that the error exists only using the web app with Glassfish. So your case is ok, I am sorry I did not mention details before. So the problem is the combination of Neo4j 2.2.1 and Gl

[Neo4j] Re: Neo4j 2.2.1 error starting more than one istance

2015-05-12 Thread Sumit Gupta
Hi Rita, I tried to creating multiple instances of embedded Neo4j (using different DB locations) it works fine for me with Neo4j 2.2.1 Community versions. Here is my code: - public static void main(String[] args) { GraphDatabaseFactory graphDbFactory = new GraphDatabaseFactory(); GraphDatabase

[Neo4j] Re: Neo4j 2.2.1 error starting more than one istance

2015-05-12 Thread Rita
Thank you for the reply. I am starting different Neo4j graphs. As I said before, I always do it until 1.9.9 version, so it is a new problem of 2.2.1! With one db 1.9.9 and one 2.2.1 the start is ok, instead with both db 2.2.1 the start gives that error. So I please ask if it is possible to inve

[Neo4j] Re: Neo4j 2.2.1 error starting more than one istance

2015-05-11 Thread Sumit Gupta
Hi, Are you starting both instances with same DB files or different? I any case i do not think you will be able to do it because the JMX beans from second instance will try to get registered within same JMX domain, which was started by first instance. I will check and see if there is any con

[Neo4j] Re: Neo4j 2.2.1 error starting more than one istance

2015-05-11 Thread Rita
Anyone does have an idea please? Thanks, Rita Il giorno venerdì 8 maggio 2015 10:00:21 UTC+2, Rita ha scritto: > > Hi all, > I am using Neo4j 2.2.1 embedded in java application. I've found a problem. > I cannot open different Neo4j graphs on my server because when I start the > second istance