[Neo] Neo4J and Concurrency

2010-04-26 Thread Stefan Berndt
Hello, I am testing Neo4j for a week now and i'm trying to make some operations on the Graph concurrent. For this I use the PoolExecutor and do some Write-Operations. but the TransactionManager just throws Exceptions i don't understand. F.ex.: javax.transaction.xa.XAException: Unknown xid[GlobalI

[Neo] Fwd: Neo4J and Concurrency

2010-04-26 Thread Stefan Berndt
ssage Subject: Neo4J and Concurrency Date: Mon, 26 Apr 2010 09:10:18 + From: Stefan Berndt To: user@lists.neo4j.org Hello, I am testing Neo4j for a week now and i'm trying to make some operations on the Graph concurrent. For this I use the PoolExecutor and do some Write-Opera

[Neo] Neo4J and Concurrency

2010-04-27 Thread Stefan Berndt
is still executing and > that could be the cause of your error. > > If you remove the @After / kernel shutdown code or add code in the > @Test method to wait for the thread pool to execute all tasks will it > work then? > > Regards, > Johan > > On Mon, Apr 26, 2010 at 2

[Neo] How to define StartNodes and Reference Nodes

2010-04-29 Thread Stefan Berndt
Hello I'm familiarizing with Neo4j more and more. After testing some rudimentary things I'm now trying to write my first Neo4j application with the following Graph: StartNode |->CollectionType1--->CollectionType1_1 | | | |>CollectionType1_2

[Neo] Fwd: The results of your email commands

2010-05-17 Thread Stefan Berndt
I have wrapped mynodes to POJOs like it is described in the Neo4J DesignGuide (http://wiki.neo4j.org/content/Design_Guide#How_to_wrap_nodes_in_POJOs). Now i want to inject these Pojos with google Guice, but for that i have to bind an Implemenatation of Node to the Node.class because it occurs in t

[Neo4j] How to connect to REST Server

2010-05-25 Thread Stefan Berndt
now how to communicate via curl with it, but thats not what I want. I want to have an Object GraphDataBaseService what I can use in my JavaCode. but i didn't find a way for it. For your help thank you a lot! Best Regards, Stefan Berndt ___ Neo4j ma

[Neo4j] Parallel Writing on a Node.

2010-07-16 Thread Stefan Berndt
Hi, I'm trying out neo4j for a while and want to see what happens if i write concurrent to a node. this is my test-case: public void foo() throws InterruptedException { final GraphDatabaseService db = ds.getGdb(); final CountDownLatch available = new CountDownLatch(2);