Re: [Neo4j] Neo4J server with my embedded server

2010-11-23 Thread Balazs E. Pataki
Yes, I would like to have what Mattias just described: the webadmin with my embedded environment. I usually have an EmbeddedGraphDatabase, which I access via our own REST interface run in Tomcat. So I have a Tomcat, and in case the webadmin is a a plain servlet it would be nice to configure it

Re: [Neo4j] strange performance

2010-11-23 Thread Martin Grimmer
Hello, while running my benchmark i did the following: added: -verbose:gc to see gc usage run sar -u 1 100 and here are the results: on a 4 core cpu CPU %user %nice %system %iowait%steal %idle all 0,75 0,00 0,62 18,81 0,00 79,82 - Scaled to

Re: [Neo4j] strange performance

2010-11-23 Thread Johan Svensson
Hi, Could you add the following configuration parameter: dump_configuration=true and send the output printed to standard out when starting up. Other useful information would be some thread dumps while executing a query that takes long time (send kill -3 signal to the process). Regards, Johan

Re: [Neo4j] Neo4J server with my embedded server

2010-11-23 Thread Mattias Persson
2010/11/23 Balazs E. Pataki pat...@dsd.sztaki.hu Yes, I would like to have what Mattias just described: the webadmin with my embedded environment. I usually have an EmbeddedGraphDatabase, which I access via our own REST interface run in Tomcat. So I have a Tomcat, and in case the webadmin is

Re: [Neo4j] Neo4J server with my embedded server

2010-11-23 Thread Balazs E. Pataki
I only want to access it via REST, but I don't want to publish (make accessible) the Neo4J REST API, only my own REST calls (which implements my business logic with neo4j storing my domain objects). I will take a deeper look into the Neo4J Server and see if I can somehow integrate my

[Neo4j] Neoclipse web?

2010-11-23 Thread Peter Neubauer
Hi folks, just checked out http://polymap.org/polymap3 (guest/guest login for the demo), a web port of uDig (Eclipse RCP GIS tool) and geoserver. I am thinking that this might be an interesting option for Neoclipse meeting webadmin. I am not sure of the performance of this thing, but it certainly

[Neo4j] svn certificate problem

2010-11-23 Thread Balazs E. Pataki
When I try to access https://svn.neo4j.org from NetBeans I get the following error: - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! - The certificate has expired Hostname: svn.neo4j.org Certificate information: - Subject:

Re: [Neo4j] Rest API requests

2010-11-23 Thread Peter Neubauer
Max, did you install bundler to do the bundle exec? Are you running Ruby or JRuby, and where is the bundle binary installed after I do gem install bundler? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] Neo4J server with my embedded server

2010-11-23 Thread Peter Neubauer
Balazs, Yes, this is possible via the RemoteGraphDB RMI connector. However, in order to take one bite at a time, it is not included in the first version of the server, mainly due ti limitations in the remote component. This will be added in later versions. Ifnyou really want it, you can always

Re: [Neo4j] Rest API requests

2010-11-23 Thread Max De Marzi Jr.
Yup, just run: gem install bundler Assuming you have a forks\neography directory: cd forks\neography git pull upstream master bundle install bundle exec rspec spec/integration/rest_bulk_spec.rb I'm on JRuby 1.6.0.dev (2010-08-30 3040e75) (a bit old...) On Tue, Nov 23, 2010 at 10:57 AM, Peter

Re: [Neo4j] Datetimes in Neo4j REST Server

2010-11-23 Thread Max De Marzi Jr.
Hum...maybe we should have the type of object in the json string? data: {name : {string : Max}, age: {int :31} } also how about arrays? string[] : [Max, Javier,Peter] On Tue, Nov 23, 2010 at 1:02 PM, Javier de la Rosa ver...@gmail.com wrote: I was writting some extra tests for the python

Re: [Neo4j] Datetimes in Neo4j REST Server

2010-11-23 Thread Peter Neubauer
Javier, Max, good point! Jim, what do you say about that? How type safe can we make the REST API? At least I think this warrants an issue over at https://trac.neo4j.org/ticket/286 for this. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975

Re: [Neo4j] Rest API requests

2010-11-23 Thread Peter Neubauer
Mmh, to start with, I am stuck with some OpenSSL error when trying to run rspecs: bundle exec rspec spec/integration/rest_node_spec.rb JRuby limited openssl loaded. gem install jruby-openssl for full support. http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL JRuby limited openssl loaded. gem

Re: [Neo4j] Datetimes in Neo4j REST Server

2010-11-23 Thread Javier de la Rosa
On Tue, Nov 23, 2010 at 16:05, Peter Neubauer peter.neuba...@neotechnology.com wrote: Jim, what do you say about that? How type safe can we make the REST API? At least I think this warrants an issue over at https://trac.neo4j.org/ticket/286 for this. Thank you Peter and Max for the quick

Re: [Neo4j] svn certificate problem

2010-11-23 Thread Jim Webber
I can confirm I have the same problem. It's irritating, but doesn't stop me from checking out/updating/committing. Jim On 24 Nov 2010, at 02:11, Anders Nawroth wrote: Hi! Unfortunately it will take at least five more days until the new certificate is in place. I'm checking out code

Re: [Neo4j] Datetimes in Neo4j REST Server

2010-11-23 Thread Jim Webber
Hi folks, My concern about this is that we're already taking liberties with the media type application/json. Adding this kind of annotation definitely takes us into very neo4j-specific territory (which might be a good thing). I responded to the ticket, saying that perhaps we should consider

Re: [Neo4j] [SPAM] Re: Datetimes in Neo4j REST Server

2010-11-23 Thread Rick Bullotta
Whatever approach you take should be easily consumable via Ajax from the current active generation of browsers... I'm a fan of domain-specific or source-specific representations (JSON or XML, doesn't matter) rather than vague, generic structures. JSON and XML are both quite suitable for

Re: [Neo4j] [SPAM] Re: Datetimes in Neo4j REST Server

2010-11-23 Thread Rick Bullotta
FWIW, we store all dates as milliseconds relative to UTC, and pass them around in that format. We identify the data types of fields/properties in separate metadata structures embedded in the response, making the returned content easily parsable and interpretable by relatively dumb clients.

Re: [Neo4j] Specifying the DB data directory

2010-11-23 Thread Andreas Kollegger
Hi Chris, In the 'conf' directory, you'll find the annotated 'neo4j-server.properties' file which describes the few settings available, including: org.neo4j.server.database.location=data/graph.db The file is a simple key=value pair format. Relative paths assume that the current directory is

Re: [Neo4j] [SPAM] Re: Datetimes in Neo4j REST Server

2010-11-23 Thread Max De Marzi Jr.
What about: data: {name : NeoS::Max}, age: {NeoI::31 } data: {name : NeoS[]::Max,Javier,Peter}, age: {NeoI[]::31,29,33 } On Tue, Nov 23, 2010 at 4:59 PM, Rick Bullotta rick.bullo...@burningskysoftware.com wrote: FWIW, we store all dates as milliseconds relative to UTC, and pass them around

Re: [Neo4j] Specifying the DB data directory

2010-11-23 Thread Chris Diehl
Hi Andreas, Thanks for your reply. Can I specify different directories on the fly where I want to stash data? I'd like to not have all my graphs stored in one DB. Cheers, Chris --- Hi Chris, In the 'conf' directory, you'll find the annotated 'neo4j-server.properties' file which

Re: [Neo4j] Rest API requests

2010-11-23 Thread Max De Marzi Jr.
Hum... not sure try just: rspec spec/integration/rest_experimental_spec.rb On Tue, Nov 23, 2010 at 3:20 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, to start with, I am stuck with some OpenSSL error when trying to run rspecs: bundle exec rspec