Re: [Neo4j] Exceptions in Neo4j Server

2011-08-10 Thread Dario Rexin
bit more > context. > > What were you doing (in JUnit tests or curl commands) to produce these? > > Jim > > On 9 Aug 2011, at 14:35, Dario Rexin wrote: > >> Hi, >> >> I just attached a hoptoad appender to my logger in the Neo4j Server and am >&

[Neo4j] Exceptions in Neo4j Server

2011-08-09 Thread Dario Rexin
Hi, I just attached a hoptoad appender to my logger in the Neo4j Server and am getting some internal neo exceptions besides the ones I’m getting from my unmanaged extensions. I would like to know, why they happen and if it’s a known behaviour. Here are the exceptions: java.net.SocketTimeoutEx

[Neo4j] BatchInserter with Lucene Index

2011-06-29 Thread Dario Rexin
Hi all, Recently i tried import a huge dataset into neo using the BatchInserter. I also used the BatchInserterIndex. The import itself went very well and i was able to read from the graph, but when i tried to insert something i always got an error saying that no new transaction could be created

Re: [Neo4j] Find 2nd degree friends in order of mutual friend

2011-06-22 Thread Dario Rexin
Hi Fajar, You can do that by writing either server plugins, or unmanaged extensions. Here is how: http://docs.neo4j.org/chunked/milestone/server-plugins.html http://docs.neo4j.org/chunked/milestone/server-unmanaged-extensions.html Cheers, Dario Am 22.06.11 15:22 schrieb "Fajar Maulana Firda

Re: [Neo4j] Getting JSON for a Representation in an unmanaged extension

2011-05-05 Thread Dario Rexin
ot;Kiss, Miklós" unter : > Hi Dario, > > I'm trying to achieve the same. Could you post an example showing how > did you get it working? > > Thanks, > MikKi > > On 2011-04-06 15:50, Dario Rexin wrote: >> Hi, >> >> thank you very much. The se

Re: [Neo4j] Neo Server slow on frequent requests

2011-04-13 Thread Dario Rexin
, I wanted one from when the server was under > load and you experienced problems. Sorry for not being clear about that. > > Cheers, > Tobias > > On Wed, Apr 13, 2011 at 10:34 AM, Dario Rexin wrote: > >> Hey, >> >> Somehow my attached files always

Re: [Neo4j] Neo Server slow on frequent requests

2011-04-13 Thread Dario Rexin
Hey, Somehow my attached files always get deleted. Heres the dump: https://gist.github.com/917199 Cheers, Dario Am 13.04.11 10:30 schrieb "Dario Rexin" unter : > Hi Tobias, > > Here's the thread dump you asked for. Thank you for taking a look at this. > > &

Re: [Neo4j] Neo Server slow on frequent requests

2011-04-13 Thread Dario Rexin
lot > more useful, since that would contain information about contention that I > could actually analyze. The easiest way to get a thread dump is by sending > the SIGQUIT signal (kill -3) to the JVM process running Neo4j. > > Cheers, > Tobias > > On Tue, Apr 12, 2011 at 6

[Neo4j] Neo Server slow on frequent requests

2011-04-12 Thread Dario Rexin
Hi all, Due to huge performance issues with some of our neo queries I profiled my calls on the neo server. The profiling shows, that up to 85% of the time the threads are waiting for other threads. I don’t understand what’s going on there. Hopefully someone with a deeper knowledge can help me.

Re: [Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-06 Thread Dario Rexin
om/in/neubauer > Twitter http://twitter.com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://startupbootcamp.org/- Öresund - Innovation happens HERE. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.

[Neo4j] Constructing an evaluator that only takes specific nodes from a path

2011-04-06 Thread Dario Rexin
Hello, we are trying to construct an Evaluator that will select only one node from the middle of a path and include it in the result. We do have a specific path we are looking for and the endNode is stored in 'end'. Now what we would like to do is have an Evaluator like this: import

Re: [Neo4j] Getting JSON for a Representation in an unmanaged extension

2011-04-06 Thread Dario Rexin
resentationFormatRepository(server.getExtensionManager()); > singletons.add( new InputFormatProvider( repository ) ); > singletons.add( new OutputFormatProvider( repository ) ); > } > > > Am 06.04.2011 um 13:42 schrieb Dario Rexin: > >> Hello, >>

[Neo4j] Getting JSON for a Representation in an unmanaged extension

2011-04-06 Thread Dario Rexin
Hello, I am currently working an an unamanged extension for the neo4j rest server. I want to provide an HTML response which includes the JSON String of a Representation. How can I get the OutputFormat for MediaType.APPLICATION_JSON in a method with @Produces(MediaType.TEXT_HTML)? Thanks in adv