[Neo4j] Strange storage [Block not in use ] error we face with in neo4j.

2011-08-16 Thread Pere Urbon Bayes
Hi! community, in our project we stated to face with this strange errors that seems to be coming from the storage, any idea?, cause they looks strange and I don't want to thing this means we are loosing some data, xD!.. here you have my stack trace, any help will be really appreciated. -

Re: [Neo4j] Is data lost if the object graph and relationships are changed?

2011-08-16 Thread Michael Hunger
The entities just make the existing data in the graph available. With the configured/mapped rels. If you want to have different mappings in you entity you have to provide them in the graph first. This can be achieved by a two step process first add the new mappings to the entities and use java

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Saikat Kanjilal
Vipul, I've built a Spring based web service with neo4j in embedded mode using apache cxf, let me know what specific issues you are running into. Thanks Sent from my iPhone On Aug 15, 2011, at 5:29 PM, Andreas Kollegger andreas.kolleg...@neotechnology.com wrote: Hi Vipul, What was the

Re: [Neo4j] neo4j maven config

2011-08-16 Thread Anders Nawroth
Hi! Sorry for chiming in this late! The Cypher source code now works with Eclipse Indigo, see the instructions at: https://github.com/neo4j/community/blob/master/cypher/README.txt With that problem solved, neo4j-server and neo4j-shell will be fine as well. /anders 2011-08-02 14:07, John

[Neo4j] Subtyping

2011-08-16 Thread Niels Hoogeveen
Yesterday, I added subtyping to Enhanced API. Suppose an application has UserGroups, Users and Roles, where both UserGroups and Users are Vertices and Roles are BinaryEdges. There can be different predefined Roles, such as ADMINISTRATOR, EDITOR, MEMBER, GUEST. With subtyping it is possible

[Neo4j] partitioning the relationship store

2011-08-16 Thread Niels Hoogeveen
At the risk of coming off as an utter bore, I would like once more to raise awareness for the fact that the relationships of a node are currently stored as one linked list. The downside of this has been discussed in many posts, so I shan't rehash the points. It's just that whatever I try to

Re: [Neo4j] Subtyping

2011-08-16 Thread Peter Neubauer
Very cool. Is there a test demonstrating it? /peter Sent from my phone. On Aug 16, 2011 1:52 PM, Niels Hoogeveen pd_aficion...@hotmail.com wrote: Yesterday, I added subtyping to Enhanced API. Suppose an application has UserGroups, Users and Roles, where both UserGroups and Users are Vertices

Re: [Neo4j] Subtyping

2011-08-16 Thread Niels Hoogeveen
Later today I will push the changes to Git, including tests. Date: Tue, 16 Aug 2011 14:51:42 +0200 From: peter.neuba...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j] Subtyping Very cool. Is there a test demonstrating it? /peter Sent from my phone. On Aug 16, 2011

Re: [Neo4j] partitioning the relationship store

2011-08-16 Thread Jim Webber
Hi Niels, Is this partitioning an aspect of the supernode problem? If so, there is a feature request* in the devteam backlog for that. Jim * It is currently 5th in priority order. ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Indexing - Rest Api

2011-08-16 Thread Jim Webber
G'day Romiko, * Configuration File: Autoindexing enabled here is related to automatically indexing all nodes and relationships? * If I want to add a node to an index following the guidelines, what convention should be used for the Key/Value naming? Imagine we have nodes of type

Re: [Neo4j] partitioning the relationship store

2011-08-16 Thread Niels Hoogeveen
The partitioning is a solution to the densely-connected node problem, but would also allow for the iteration over RelationshipTypes/Directions, another feature I would very much like to see. I have posted suggestions on how to approach this problem and would like to add those suggestions to

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Vipul Gupta
Hi Andreas, Yes, I have been trying to run Neo4j as an embedded database, with CXF exposing a WSDL interface. I was having a number of issues in terms of setting these 2 together. Standalone test cases for just the neo4j graph and internal API works fine. I even migrated to 1.1.0.RELEASE and

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Michael Hunger
do you by chance have different version of spring on your classpath? mvn dependency:tree helps to figure that out mobile mail please excuse brevity and typos Am 16.08.2011 um 17:53 schrieb Vipul Gupta vipulgupta...@gmail.com: Hi Andreas, Yes, I have been trying to run Neo4j as an

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Vyoma
I too am getting this error while trying to startup Neo4j on Sun Solaris: ./neo4j start bin/utils: line 30: syntax error in conditional expression: unexpected token `(' bin/utils: line 30: syntax error near `^([' bin/utils: line 30: ` if [[ ${line} =~ ^([^#\s][^=]+)=(.+)$ ]]; then' Here is

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Andreas Kollegger
Hi Vyoma, I don't have that version of GNU bash to try out. Could you surround the regular expression in single- or double-quotes to see if that corrects the problem? Quoting regex seems to be inconsistent among bash versions. Thanks, Andreas On Aug 16, 2011, at 10:07 AM, Vyoma wrote: I

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Vipul Gupta
Hi Michael, It's all 3.0.5.RELEASE only. Meanwhile do you have any idea about this issue. *Caused by: java.lang.IllegalStateException: Unable to lock store [\neo4j\db\project\graph-project\neostore], this is usually a result of some other Neo4j kernel* * running using the same store. * I have no

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Peter Neubauer
Vipul, Tjud indicates that two processes are trying to open a database instance in the same directory. Could you please check if there is only one java process running with Neo4j at the same time? /peter Sent from my phone. On Aug 16, 2011 7:33 PM, Vipul Gupta vipulgupta...@gmail.com wrote: Hi

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Vyoma
Hi Andreas, I think that worked: diff utils utils.bak 30c30 if [[ ${line} =~ ^([^#\s][^=]+)=(.+)$ ]]; then --- if [[ ${line} =~ ^([^#\s][^=]+)=(.+)$ ]]; then 33c33 if [[ ${key} =~ ^(.*)_([0-9]+)$ ]]; then --- if [[ ${key} =~ ^(.*)_([0-9]+)$ ]]; then It is not

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Andreas Kollegger
That's great to hear. Is 'lsof' not available by default in the Solaris distro? You could install it, though an alternative for that part of the script would also be possible if you have any suggestions. On Aug 16, 2011, at 10:42 AM, Vyoma wrote: Hi Andreas, I think that worked: diff

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Sujit Pal
Hi Vipul, I saw the same issue when trying to expose an embedded Neo4j database (plus some other things) via a Spring webapp. *Caused by: java.lang.IllegalStateException: Unable to lock store [\neo4j\db\project\graph-project\neostore], this is usually a result of some other Neo4j kernel**

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Chris Gioran
Hi, yes, the lsof utility must be present (an assumption that holds for most modern distributions). If you have a workaround for Solaris, please share. Could please specify which version of neo4j gives you this error? thanks, CG On Tue, Aug 16, 2011 at 8:42 PM, Vyoma k.mahesh.b...@gmail.com

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Vyoma
I am trying to figure out if lsof is available or not on Sun Solaris. uname -a SunOS sudnd779 5.10 Generic_144488-14 sun4u sparc SUNW,Sun-Fire-V440 It might be that it is not available to user land and I need to work with the Sys Admin. The version of neo4j I am trying is the one available on

Re: [Neo4j] Events This Week - 08/15/2011

2011-08-16 Thread Allison Sparrow
Hi all, correction to the previous Webinar announcement: it will be held Thursday, August 18 Thx, allison On Mon, Aug 15, 2011 at 9:55 AM, Allison Sparrow allison.spar...@neotechnology.com wrote: *** Hi Everyone, Here are the events organized for this

Re: [Neo4j] Neo4j startup script syntax errors

2011-08-16 Thread Vyoma
I think I had another problem other than 'lsof'. I pointed the JAVA_HOME to a JVM 6 (it was pointed to JVM 5) before. And ran the ./bin/neo4j start again. After that, I commented out lines 168-200, and ran it. The server seems to have come up as I can access it at http://hostname:7474/webadmin/

[Neo4j] Memory overflow while creating big graph

2011-08-16 Thread Jose Vinicius Pimenta Coletto
Hi, I made some changes to use the BatchInserter to generate the initial database. The strategy is to identify all nodes that must be inserted and after doing this I create the edges. But I still having problems, after inserting 9M of nodes the running is very slow and not reach the edges

Re: [Neo4j] Memory overflow while creating big graph

2011-08-16 Thread Anders Nawroth
Hi Jose! The mailinglist removed your attachement, could you just paste the code into the mail instead? /anders 2011-08-16 22:55, Jose Vinicius Pimenta Coletto skrev: Hi, I made some changes to use the BatchInserter to generate the initial database. The strategy is to identify all nodes

[Neo4j] Memory overflow while creating big graph

2011-08-16 Thread Jose Vinicius Pimenta Coletto
Sorry, the source code follows: public class InitialDBCreator { private static final SimpleDateFormat DATE_PARSER = new SimpleDateFormat(dd/MM/); private static final SimpleDateFormat DATE_FORMATTER = new SimpleDateFormat(MMdd); private static final int GRP_DEST_DOC = 1;

[Neo4j] Announcing neo4django

2011-08-16 Thread Matt Luongo
Graphistas, We just released an earlyish version of our Django / Neo4j REST integration on GitHub https://github.com/scholrly/neo4django. I wrote a couple paragraphs about it on my bloghttp://mattluongo.com/post/when-to-open-source. If you like it, make sure you thank Tobias for the original

[Neo4j] Difficulty with spring data graph annotations...

2011-08-16 Thread etc1
I am still having difficulty in getting a simple project to compile in Eclipse STS. I have a few questions: What's the difference between annotations in org.springframework.data.neo4j.annotation and org.springframework.data.graph.annotation? The @NodeEntity and @Indexed annotations appear to be

Re: [Neo4j] Memory overflow while creating big graph

2011-08-16 Thread Peter Neubauer
Joe, Do you have access to a profiler like Visual VM? It could be that the Regexp is not scaling - i have seen this in my SQL importer project. Just a thought, would be great if you can measure where the slowdown occurs. /peter Sent from my phone. On Aug 16, 2011 11:09 PM, Jose Vinicius Pimenta

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-08-16 Thread Peter Neubauer
I am not sure but I think you are using older versions of the libs that get pulled in. Could you please post the output of mvn dependency:tree ? /peter Sent from my phone. On Aug 17, 2011 6:00 AM, etc1 e...@nextideapartners.com wrote: I am still having difficulty in getting a simple project to

Re: [Neo4j] Any webservice based spring data graph example

2011-08-16 Thread Vipul Gupta
Thanks Sujit and Saikat. I managed to get it up and running now. Regarding the 2 process issue - I have a homegrown ApplicationContext loader which was loading graph context twice. Managed to figure it out after Sujit's suggestion. On Tue, Aug 16, 2011 at 11:18 PM, Sujit Pal