[Neo4j] Traversing by Relationship property

2011-02-09 Thread mike_t

Hi, 

i`m using neo4j with the rest api. I have following question about
traversing the graph: 

Is it possible to get all relationships of a node by a special property? 

Example: 

Node A has a relationship ("type=abc", property "number=1") to Node B 
Node A has a relationship ("type=def", property "number=1") to Node C 
Node A has a relationship ("type=xyz", property "number=1") to Node D 

Now, i wanna have all relationships for Node A with relationship property
"number=1". The relationship type don´t cares. 

When I traverse the graph i have to define the relationship type like: 
curl -X POST -H Accept:application/json -H Content-Type:application/json -d
'{  "order" : "depth first",  "uniqueness" : "node", "relationships" : [{ 
"type" : "abc", "direction" : "out" }], "return filter" : { "language" :
"builtin", "name" : "all" }, "max depth" : 1 }'
http://localhost:7474/db/data/node/1/traverse/node

Is the only solution to make an index? 

Thanks for your answers!
-- 
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Traversing-by-Relationship-property-tp2464461p2464461.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Installing the python bindings ( I think )

2011-02-09 Thread Peter Neubauer
What I think is the core of the index REST story is that we need to
add the query part of things to it, not just the exact matching
(index.get() and index.query()). You can do that easily writing a
server plugin, I will try to do it during my next lab day, but the
basics go like http://docs.neo4j.org/chunked/snapshot/server-plugins.html

Would that help?

/peter

On Wed, Feb 9, 2011 at 10:25 PM, Michael Hunger
 wrote:
> Tom,
>
> What do you mean with graphdb.index("whatever")
>
> the (new) indexing API that is available since 1.2 has the syntax
> graphDb.index().forNodes("indexName").add(node,key,value) for adding to the 
> index and
> IndexHits hits = graphDb.index().forNodes("indexName").get(key,value)
>
> and this is supported by the REST API, see:
> http://components.neo4j.org/neo4j-server/milestone/rest.html#Add_to_index
>
> Hope that helps
>
> Michael
>
>
> Am 09.02.2011 um 16:31 schrieb Tom Smith:
>
>> Hello,
>>
>> I tried using the REST server (which is great) but it doesn't support 
>> graphdb.index("whatever") yet.
>>
>> When will the next release of the REST server (with indexing) or the python 
>> binding?
>>
>> Thanks
>>
>> Tom Smith
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Installing the python bindings ( I think )

2011-02-09 Thread Michael Hunger
Tom,

What do you mean with graphdb.index("whatever")

the (new) indexing API that is available since 1.2 has the syntax 
graphDb.index().forNodes("indexName").add(node,key,value) for adding to the 
index and
IndexHits hits = graphDb.index().forNodes("indexName").get(key,value)

and this is supported by the REST API, see:
http://components.neo4j.org/neo4j-server/milestone/rest.html#Add_to_index

Hope that helps

Michael


Am 09.02.2011 um 16:31 schrieb Tom Smith:

> Hello,
> 
> I tried using the REST server (which is great) but it doesn't support 
> graphdb.index("whatever") yet.
> 
> When will the next release of the REST server (with indexing) or the python 
> binding?
> 
> Thanks
> 
> Tom Smith

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Installing the python bindings ( I think )

2011-02-09 Thread Javier de la Rosa
On Wed, Feb 9, 2011 at 10:31, Tom Smith  wrote:
> I tried using the REST server (which is great) but it doesn't support 
> graphdb.index("whatever") yet.

I hope neo4j-rest-client in Python support indexing and plugins before
the end of february.



-- 
Javier de la Rosa
http://versae.es
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC ideas?

2011-02-09 Thread Peter Neubauer
Cool,
added both to the wiki.

Right now investigating on how to become a Mentor Organization ... stay tuned!

/peter

On Tue, Feb 8, 2011 at 4:29 PM, kyle adams  wrote:
> I agree with the visual aspect.
>
> Gremlin + SpringGraph (Adobe Flex/Actionscript Component) + Spring Data =
> very cool and intuitive way to traverse a network.
>
> SpringGraph:
> http://mark-shepherd.com/blog/springgraph-flex-component/
> 
>
> --
> Thanks,
> *Kyle Adams*
> *ECM Architect | ECM Developer*
> *Crowley Maritime Corporation*
> 9487 REGENCY SQUARE BLVD. • JACKSONVILLE • FLORIDA • 32225
> www.crowley.com
> Cell: 757.235.1410
>
> On Tue, Feb 8, 2011 at 10:26 AM, Javier de la Rosa  wrote:
>
>> On Tue, Feb 8, 2011 at 01:35, Peter Neubauer
>>  wrote:
>> > http://wiki.neo4j.org/content/Google_Summer_of_Code_Ideas
>> >
>> > May the source be with you!
>>
>> My 2 cents: a graphical web admin tool to traverse (visual Gremlin?)
>> and browse the graph, with filters and facets, comparable to filters
>> in Gephi [1] and sones VisualGraph [2].
>>
>>
>>
>> [1] http://www.youtube.com/watch?v=0R86bJVxMrA
>> [2] http://www.youtube.com/watch?v=vJhwjls5Gxg
>>
>>
>>
>> --
>> Javier de la Rosa
>> http://versae.es
>> ___
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
Härligt att höra Rick. Elajt :)

2011/2/9 Rick Bullotta 

> Glöm det. Vi talar alla svenska ändå.
>
>
/ Mattias
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Rick Bullotta
Glöm det. Vi talar alla svenska ändå.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of Mattias Persson
Sent: Wednesday, February 09, 2011 2:36 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable 
transaction error)

Sorry for the previous swedish response... it was for Peter really... never
mind

2011/2/9 Mattias Persson 

> Jepp, ungefär det jag skrev för några minuter sedan :)
>
> 2011/2/9 Peter Neubauer 
>
> And the test code has moved here:
>>
>>
>> https://github.com/neo4j/graphdb/blob/master/com/src/main/java/org/neo4j/com/backup/OnlineBackup.java
>>
>> /peter
>>
>> On Wed, Feb 9, 2011 at 8:01 PM, Mattias Persson
>>  wrote:
>> > 2011/2/9 Gian Luca Farina Perseu 
>> >
>> >> Thank you Peter !
>> >>
>> >> Message for Mattias:
>> >>
>> >> the link you provided
>> >>
>> >>
>> >>
>> https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java
>> >>
>> >> return 404 :-(
>> >>
>> >> In any case, if you say that this weekend this component will be
>> >> integrated into milestone ... I can wait for it ;-)
>> >>
>> >
>> > Exactly, it won't require HA... you can do it off of a normal
>> > EmbeddedGraphDatabase. With this next milestone there'll be a (at the
>> least)
>> > decent documentation about how to use the new and great backup utility.
>> >
>> >>
>> >> Thank you very much !
>> >>
>> >> Cheers.
>> >>
>> >> On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
>> >>  wrote:
>> >> > Gian,
>> >> > no, the message is that the new Online Backup component is using the
>> >> > same communication protocols as HA, but does not require HA and
>> >> > ZooKeeper to be set up.
>> >> >
>> >> > So, using the code Mattias pointed out, you should be able to back up
>> >> > a running embedded 1.3 Neo4j DB out of the 1.3 box. The next
>> milestone
>> >> > will hopefully include this code (due this week).
>> >> >
>> >> > So, even without HA setup, the Online Backup can be used to do both
>> >> > full and incremental backups.
>> >> >
>> >> > If you have questions, feel free to ask more!
>> >> >
>> >> > /peter
>> >> >
>> >> > On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
>> >> >  wrote:
>> >> >> Sorry for delay in response, but I follow older thread and I miss
>> this
>> >> >> response :-(
>> >> >>
>> >> >> Peter, yes I was using 1.2 M2 with Neo4jBackup class for
>> onlinebackup
>> >> >> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
>> >> >> I tried to use 1.2 after db recovery but the error (nullPointer on
>> >> >> lucene) persist and now it's running all the day without issue.
>> >> >>
>> >> >> I have some users that are heavly inserting data into the DB  in
>> >> >> this phase I need to create periodical backups without stop the
>> >> >> server.
>> >> >>
>> >> >> Keep in mind, I'm using embedded server without any remote interface
>> !!
>> >> >>
>> >> >> So, I don't understand your response (and Mattias also)  is the
>> >> >> online backup feature ONLY available in High Availability logic ?
>> So,
>> >> >> how can I provide online backup without High Availability ?
>> >> >>
>> >> >> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does
>> not
>> >> >> provide onlinebackup  :-((
>> >> >>
>> >> >> Any advice ?
>> >> >>
>> >> >> Thanks !
>> >> >>
>> >> >> Gianluca Farina Perseu
>> >> >> skype: farinaperseu
>> >> >>
>> >> >> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
>> >> >>  wrote:
>> >> >>> Gian and all,
>> >> >>> we are moving the OnlineBackup component onto the Hich Availability
>> >> >>> logic. It will be included into Neo4j 1.3, but we didn't move the
>> >> >>> OnlineBackup Component over to GITHub, so for the time being, it is
>> >> >>> not included in the milestone releases.
>> >> >>>
>> >> >>> Gian, are you actively using OnlineBackup? Let's connect and sort
>> out
>> >> >>> how to best move!
>> >> >>>
>> >> >>> If you are using the component, please consider staying on 1.2 or
>> >> >>> contact us so we can solve your usecase while we are on milestones,
>> if
>> >> >>> you need it.
>> >> >>>
>> >> >>> Thanks for your consideration!
>> >> >>>
>> >> >>> /peter
>> >> >>>
>> >> >>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>> >> >>>  wrote:
>> >>  Starting from now I'll try to use M3  but with this release I
>> have
>> >>  this error related to
>> >> 
>> >>   java.lang.NoClassDefFoundError:
>> org/neo4j/onlinebackup/Neo4jBackup
>> >> 
>> >>  I didn't check yet in documentation (I'm involved in some other
>> topics
>> >>  ...) . Neo4jBackup is simply missing from build or backup
>> >>  management is different from M2 ?
>> >> 
>> >>  Many thanks !!
>> >> 
>> >>  --
>> >> 
>> >>  [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource
>> >> Constructor.
>> >>  [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
Sorry for the previous swedish response... it was for Peter really... never
mind

2011/2/9 Mattias Persson 

> Jepp, ungefär det jag skrev för några minuter sedan :)
>
> 2011/2/9 Peter Neubauer 
>
> And the test code has moved here:
>>
>>
>> https://github.com/neo4j/graphdb/blob/master/com/src/main/java/org/neo4j/com/backup/OnlineBackup.java
>>
>> /peter
>>
>> On Wed, Feb 9, 2011 at 8:01 PM, Mattias Persson
>>  wrote:
>> > 2011/2/9 Gian Luca Farina Perseu 
>> >
>> >> Thank you Peter !
>> >>
>> >> Message for Mattias:
>> >>
>> >> the link you provided
>> >>
>> >>
>> >>
>> https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java
>> >>
>> >> return 404 :-(
>> >>
>> >> In any case, if you say that this weekend this component will be
>> >> integrated into milestone ... I can wait for it ;-)
>> >>
>> >
>> > Exactly, it won't require HA... you can do it off of a normal
>> > EmbeddedGraphDatabase. With this next milestone there'll be a (at the
>> least)
>> > decent documentation about how to use the new and great backup utility.
>> >
>> >>
>> >> Thank you very much !
>> >>
>> >> Cheers.
>> >>
>> >> On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
>> >>  wrote:
>> >> > Gian,
>> >> > no, the message is that the new Online Backup component is using the
>> >> > same communication protocols as HA, but does not require HA and
>> >> > ZooKeeper to be set up.
>> >> >
>> >> > So, using the code Mattias pointed out, you should be able to back up
>> >> > a running embedded 1.3 Neo4j DB out of the 1.3 box. The next
>> milestone
>> >> > will hopefully include this code (due this week).
>> >> >
>> >> > So, even without HA setup, the Online Backup can be used to do both
>> >> > full and incremental backups.
>> >> >
>> >> > If you have questions, feel free to ask more!
>> >> >
>> >> > /peter
>> >> >
>> >> > On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
>> >> >  wrote:
>> >> >> Sorry for delay in response, but I follow older thread and I miss
>> this
>> >> >> response :-(
>> >> >>
>> >> >> Peter, yes I was using 1.2 M2 with Neo4jBackup class for
>> onlinebackup
>> >> >> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
>> >> >> I tried to use 1.2 after db recovery but the error (nullPointer on
>> >> >> lucene) persist and now it's running all the day without issue.
>> >> >>
>> >> >> I have some users that are heavly inserting data into the DB  in
>> >> >> this phase I need to create periodical backups without stop the
>> >> >> server.
>> >> >>
>> >> >> Keep in mind, I'm using embedded server without any remote interface
>> !!
>> >> >>
>> >> >> So, I don't understand your response (and Mattias also)  is the
>> >> >> online backup feature ONLY available in High Availability logic ?
>> So,
>> >> >> how can I provide online backup without High Availability ?
>> >> >>
>> >> >> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does
>> not
>> >> >> provide onlinebackup  :-((
>> >> >>
>> >> >> Any advice ?
>> >> >>
>> >> >> Thanks !
>> >> >>
>> >> >> Gianluca Farina Perseu
>> >> >> skype: farinaperseu
>> >> >>
>> >> >> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
>> >> >>  wrote:
>> >> >>> Gian and all,
>> >> >>> we are moving the OnlineBackup component onto the Hich Availability
>> >> >>> logic. It will be included into Neo4j 1.3, but we didn't move the
>> >> >>> OnlineBackup Component over to GITHub, so for the time being, it is
>> >> >>> not included in the milestone releases.
>> >> >>>
>> >> >>> Gian, are you actively using OnlineBackup? Let's connect and sort
>> out
>> >> >>> how to best move!
>> >> >>>
>> >> >>> If you are using the component, please consider staying on 1.2 or
>> >> >>> contact us so we can solve your usecase while we are on milestones,
>> if
>> >> >>> you need it.
>> >> >>>
>> >> >>> Thanks for your consideration!
>> >> >>>
>> >> >>> /peter
>> >> >>>
>> >> >>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>> >> >>>  wrote:
>> >>  Starting from now I'll try to use M3  but with this release I
>> have
>> >>  this error related to
>> >> 
>> >>   java.lang.NoClassDefFoundError:
>> org/neo4j/onlinebackup/Neo4jBackup
>> >> 
>> >>  I didn't check yet in documentation (I'm involved in some other
>> topics
>> >>  ...) . Neo4jBackup is simply missing from build or backup
>> >>  management is different from M2 ?
>> >> 
>> >>  Many thanks !!
>> >> 
>> >>  --
>> >> 
>> >>  [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource
>> >> Constructor.
>> >>  [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>> >>  9-feb-2011 8.00.02
>> >>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>> >>  doInternalRecovery
>> >>  INFO: Non clean shutdown detected on log
>> >>  [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>> >>  started ...
>> >>  extension:org.neo4j.kernel.KernelExtensi

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
Jepp, ungefär det jag skrev för några minuter sedan :)

2011/2/9 Peter Neubauer 

> And the test code has moved here:
>
>
> https://github.com/neo4j/graphdb/blob/master/com/src/main/java/org/neo4j/com/backup/OnlineBackup.java
>
> /peter
>
> On Wed, Feb 9, 2011 at 8:01 PM, Mattias Persson
>  wrote:
> > 2011/2/9 Gian Luca Farina Perseu 
> >
> >> Thank you Peter !
> >>
> >> Message for Mattias:
> >>
> >> the link you provided
> >>
> >>
> >>
> https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java
> >>
> >> return 404 :-(
> >>
> >> In any case, if you say that this weekend this component will be
> >> integrated into milestone ... I can wait for it ;-)
> >>
> >
> > Exactly, it won't require HA... you can do it off of a normal
> > EmbeddedGraphDatabase. With this next milestone there'll be a (at the
> least)
> > decent documentation about how to use the new and great backup utility.
> >
> >>
> >> Thank you very much !
> >>
> >> Cheers.
> >>
> >> On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
> >>  wrote:
> >> > Gian,
> >> > no, the message is that the new Online Backup component is using the
> >> > same communication protocols as HA, but does not require HA and
> >> > ZooKeeper to be set up.
> >> >
> >> > So, using the code Mattias pointed out, you should be able to back up
> >> > a running embedded 1.3 Neo4j DB out of the 1.3 box. The next milestone
> >> > will hopefully include this code (due this week).
> >> >
> >> > So, even without HA setup, the Online Backup can be used to do both
> >> > full and incremental backups.
> >> >
> >> > If you have questions, feel free to ask more!
> >> >
> >> > /peter
> >> >
> >> > On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
> >> >  wrote:
> >> >> Sorry for delay in response, but I follow older thread and I miss
> this
> >> >> response :-(
> >> >>
> >> >> Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
> >> >> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
> >> >> I tried to use 1.2 after db recovery but the error (nullPointer on
> >> >> lucene) persist and now it's running all the day without issue.
> >> >>
> >> >> I have some users that are heavly inserting data into the DB  in
> >> >> this phase I need to create periodical backups without stop the
> >> >> server.
> >> >>
> >> >> Keep in mind, I'm using embedded server without any remote interface
> !!
> >> >>
> >> >> So, I don't understand your response (and Mattias also)  is the
> >> >> online backup feature ONLY available in High Availability logic ? So,
> >> >> how can I provide online backup without High Availability ?
> >> >>
> >> >> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
> >> >> provide onlinebackup  :-((
> >> >>
> >> >> Any advice ?
> >> >>
> >> >> Thanks !
> >> >>
> >> >> Gianluca Farina Perseu
> >> >> skype: farinaperseu
> >> >>
> >> >> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
> >> >>  wrote:
> >> >>> Gian and all,
> >> >>> we are moving the OnlineBackup component onto the Hich Availability
> >> >>> logic. It will be included into Neo4j 1.3, but we didn't move the
> >> >>> OnlineBackup Component over to GITHub, so for the time being, it is
> >> >>> not included in the milestone releases.
> >> >>>
> >> >>> Gian, are you actively using OnlineBackup? Let's connect and sort
> out
> >> >>> how to best move!
> >> >>>
> >> >>> If you are using the component, please consider staying on 1.2 or
> >> >>> contact us so we can solve your usecase while we are on milestones,
> if
> >> >>> you need it.
> >> >>>
> >> >>> Thanks for your consideration!
> >> >>>
> >> >>> /peter
> >> >>>
> >> >>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
> >> >>>  wrote:
> >>  Starting from now I'll try to use M3  but with this release I
> have
> >>  this error related to
> >> 
> >>   java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
> >> 
> >>  I didn't check yet in documentation (I'm involved in some other
> topics
> >>  ...) . Neo4jBackup is simply missing from build or backup
> >>  management is different from M2 ?
> >> 
> >>  Many thanks !!
> >> 
> >>  --
> >> 
> >>  [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource
> >> Constructor.
> >>  [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
> >>  9-feb-2011 8.00.02
> >>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
> >>  doInternalRecovery
> >>  INFO: Non clean shutdown detected on log
> >>  [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
> >>  started ...
> >>  extension:org.neo4j.kernel.KernelExtension[online backup]
> >>  extension:org.neo4j.graphdb.index.IndexProvider[lucene]
> >>  9-feb-2011 8.00.02
> >>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
> >>  doInternalRecovery
> >>  INFO: Non clean shutdown detected on log
> 

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Peter Neubauer
And the test code has moved here:

https://github.com/neo4j/graphdb/blob/master/com/src/main/java/org/neo4j/com/backup/OnlineBackup.java

/peter

On Wed, Feb 9, 2011 at 8:01 PM, Mattias Persson
 wrote:
> 2011/2/9 Gian Luca Farina Perseu 
>
>> Thank you Peter !
>>
>> Message for Mattias:
>>
>> the link you provided
>>
>>
>> https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java
>>
>> return 404 :-(
>>
>> In any case, if you say that this weekend this component will be
>> integrated into milestone ... I can wait for it ;-)
>>
>
> Exactly, it won't require HA... you can do it off of a normal
> EmbeddedGraphDatabase. With this next milestone there'll be a (at the least)
> decent documentation about how to use the new and great backup utility.
>
>>
>> Thank you very much !
>>
>> Cheers.
>>
>> On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
>>  wrote:
>> > Gian,
>> > no, the message is that the new Online Backup component is using the
>> > same communication protocols as HA, but does not require HA and
>> > ZooKeeper to be set up.
>> >
>> > So, using the code Mattias pointed out, you should be able to back up
>> > a running embedded 1.3 Neo4j DB out of the 1.3 box. The next milestone
>> > will hopefully include this code (due this week).
>> >
>> > So, even without HA setup, the Online Backup can be used to do both
>> > full and incremental backups.
>> >
>> > If you have questions, feel free to ask more!
>> >
>> > /peter
>> >
>> > On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
>> >  wrote:
>> >> Sorry for delay in response, but I follow older thread and I miss this
>> >> response :-(
>> >>
>> >> Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
>> >> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
>> >> I tried to use 1.2 after db recovery but the error (nullPointer on
>> >> lucene) persist and now it's running all the day without issue.
>> >>
>> >> I have some users that are heavly inserting data into the DB  in
>> >> this phase I need to create periodical backups without stop the
>> >> server.
>> >>
>> >> Keep in mind, I'm using embedded server without any remote interface !!
>> >>
>> >> So, I don't understand your response (and Mattias also)  is the
>> >> online backup feature ONLY available in High Availability logic ? So,
>> >> how can I provide online backup without High Availability ?
>> >>
>> >> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
>> >> provide onlinebackup  :-((
>> >>
>> >> Any advice ?
>> >>
>> >> Thanks !
>> >>
>> >> Gianluca Farina Perseu
>> >> skype: farinaperseu
>> >>
>> >> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
>> >>  wrote:
>> >>> Gian and all,
>> >>> we are moving the OnlineBackup component onto the Hich Availability
>> >>> logic. It will be included into Neo4j 1.3, but we didn't move the
>> >>> OnlineBackup Component over to GITHub, so for the time being, it is
>> >>> not included in the milestone releases.
>> >>>
>> >>> Gian, are you actively using OnlineBackup? Let's connect and sort out
>> >>> how to best move!
>> >>>
>> >>> If you are using the component, please consider staying on 1.2 or
>> >>> contact us so we can solve your usecase while we are on milestones, if
>> >>> you need it.
>> >>>
>> >>> Thanks for your consideration!
>> >>>
>> >>> /peter
>> >>>
>> >>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>> >>>  wrote:
>>  Starting from now I'll try to use M3  but with this release I have
>>  this error related to
>> 
>>   java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>> 
>>  I didn't check yet in documentation (I'm involved in some other topics
>>  ...) . Neo4jBackup is simply missing from build or backup
>>  management is different from M2 ?
>> 
>>  Many thanks !!
>> 
>>  --
>> 
>>  [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource
>> Constructor.
>>  [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>>  9-feb-2011 8.00.02
>>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>>  doInternalRecovery
>>  INFO: Non clean shutdown detected on log
>>  [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>>  started ...
>>  extension:org.neo4j.kernel.KernelExtension[online backup]
>>  extension:org.neo4j.graphdb.index.IndexProvider[lucene]
>>  9-feb-2011 8.00.02
>>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>>  doInternalRecovery
>>  INFO: Non clean shutdown detected on log
>>  [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
>>  started ...
>>  extension:org.neo4j.kernel.KernelExtension[kernel jmx]
>>  extension:org.neo4j.kernel.KernelExtension[shell]
>>  extension:org.neo4j.kernel.KernelExtension[kernel udc]
>>  9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
>>  

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
...and we did a little restructuring so the new location is here:
https://github.com/neo4j/graphdb/blob/master/com/src/main/java/org/neo4j/com/backup/OnlineBackup.java

2011/2/9 Mattias Persson 

>
>
> 2011/2/9 Gian Luca Farina Perseu 
>
> Thank you Peter !
>>
>> Message for Mattias:
>>
>> the link you provided
>>
>>
>> https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java
>>
>> return 404 :-(
>>
>> In any case, if you say that this weekend this component will be
>> integrated into milestone ... I can wait for it ;-)
>>
>
> Exactly, it won't require HA... you can do it off of a normal
> EmbeddedGraphDatabase. With this next milestone there'll be a (at the least)
> decent documentation about how to use the new and great backup utility.
>
>>
>> Thank you very much !
>>
>> Cheers.
>>
>> On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
>>  wrote:
>> > Gian,
>> > no, the message is that the new Online Backup component is using the
>> > same communication protocols as HA, but does not require HA and
>> > ZooKeeper to be set up.
>> >
>> > So, using the code Mattias pointed out, you should be able to back up
>> > a running embedded 1.3 Neo4j DB out of the 1.3 box. The next milestone
>> > will hopefully include this code (due this week).
>> >
>> > So, even without HA setup, the Online Backup can be used to do both
>> > full and incremental backups.
>> >
>> > If you have questions, feel free to ask more!
>> >
>> > /peter
>> >
>> > On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
>> >  wrote:
>> >> Sorry for delay in response, but I follow older thread and I miss this
>> >> response :-(
>> >>
>> >> Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
>> >> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
>> >> I tried to use 1.2 after db recovery but the error (nullPointer on
>> >> lucene) persist and now it's running all the day without issue.
>> >>
>> >> I have some users that are heavly inserting data into the DB  in
>> >> this phase I need to create periodical backups without stop the
>> >> server.
>> >>
>> >> Keep in mind, I'm using embedded server without any remote interface !!
>> >>
>> >> So, I don't understand your response (and Mattias also)  is the
>> >> online backup feature ONLY available in High Availability logic ? So,
>> >> how can I provide online backup without High Availability ?
>> >>
>> >> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
>> >> provide onlinebackup  :-((
>> >>
>> >> Any advice ?
>> >>
>> >> Thanks !
>> >>
>> >> Gianluca Farina Perseu
>> >> skype: farinaperseu
>> >>
>> >> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
>> >>  wrote:
>> >>> Gian and all,
>> >>> we are moving the OnlineBackup component onto the Hich Availability
>> >>> logic. It will be included into Neo4j 1.3, but we didn't move the
>> >>> OnlineBackup Component over to GITHub, so for the time being, it is
>> >>> not included in the milestone releases.
>> >>>
>> >>> Gian, are you actively using OnlineBackup? Let's connect and sort out
>> >>> how to best move!
>> >>>
>> >>> If you are using the component, please consider staying on 1.2 or
>> >>> contact us so we can solve your usecase while we are on milestones, if
>> >>> you need it.
>> >>>
>> >>> Thanks for your consideration!
>> >>>
>> >>> /peter
>> >>>
>> >>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>> >>>  wrote:
>>  Starting from now I'll try to use M3  but with this release I
>> have
>>  this error related to
>> 
>>   java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>> 
>>  I didn't check yet in documentation (I'm involved in some other
>> topics
>>  ...) . Neo4jBackup is simply missing from build or backup
>>  management is different from M2 ?
>> 
>>  Many thanks !!
>> 
>>  --
>> 
>>  [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource
>> Constructor.
>>  [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>>  9-feb-2011 8.00.02
>>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>>  doInternalRecovery
>>  INFO: Non clean shutdown detected on log
>>  [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>>  started ...
>>  extension:org.neo4j.kernel.KernelExtension[online backup]
>>  extension:org.neo4j.graphdb.index.IndexProvider[lucene]
>>  9-feb-2011 8.00.02
>>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>>  doInternalRecovery
>>  INFO: Non clean shutdown detected on log
>>  [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
>>  started ...
>>  extension:org.neo4j.kernel.KernelExtension[kernel jmx]
>>  extension:org.neo4j.kernel.KernelExtension[shell]
>>  extension:org.neo4j.kernel.KernelExtension[kernel udc]
>>  9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
>> >>

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
2011/2/9 Gian Luca Farina Perseu 

> Thank you Peter !
>
> Message for Mattias:
>
> the link you provided
>
>
> https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java
>
> return 404 :-(
>
> In any case, if you say that this weekend this component will be
> integrated into milestone ... I can wait for it ;-)
>

Exactly, it won't require HA... you can do it off of a normal
EmbeddedGraphDatabase. With this next milestone there'll be a (at the least)
decent documentation about how to use the new and great backup utility.

>
> Thank you very much !
>
> Cheers.
>
> On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
>  wrote:
> > Gian,
> > no, the message is that the new Online Backup component is using the
> > same communication protocols as HA, but does not require HA and
> > ZooKeeper to be set up.
> >
> > So, using the code Mattias pointed out, you should be able to back up
> > a running embedded 1.3 Neo4j DB out of the 1.3 box. The next milestone
> > will hopefully include this code (due this week).
> >
> > So, even without HA setup, the Online Backup can be used to do both
> > full and incremental backups.
> >
> > If you have questions, feel free to ask more!
> >
> > /peter
> >
> > On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
> >  wrote:
> >> Sorry for delay in response, but I follow older thread and I miss this
> >> response :-(
> >>
> >> Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
> >> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
> >> I tried to use 1.2 after db recovery but the error (nullPointer on
> >> lucene) persist and now it's running all the day without issue.
> >>
> >> I have some users that are heavly inserting data into the DB  in
> >> this phase I need to create periodical backups without stop the
> >> server.
> >>
> >> Keep in mind, I'm using embedded server without any remote interface !!
> >>
> >> So, I don't understand your response (and Mattias also)  is the
> >> online backup feature ONLY available in High Availability logic ? So,
> >> how can I provide online backup without High Availability ?
> >>
> >> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
> >> provide onlinebackup  :-((
> >>
> >> Any advice ?
> >>
> >> Thanks !
> >>
> >> Gianluca Farina Perseu
> >> skype: farinaperseu
> >>
> >> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
> >>  wrote:
> >>> Gian and all,
> >>> we are moving the OnlineBackup component onto the Hich Availability
> >>> logic. It will be included into Neo4j 1.3, but we didn't move the
> >>> OnlineBackup Component over to GITHub, so for the time being, it is
> >>> not included in the milestone releases.
> >>>
> >>> Gian, are you actively using OnlineBackup? Let's connect and sort out
> >>> how to best move!
> >>>
> >>> If you are using the component, please consider staying on 1.2 or
> >>> contact us so we can solve your usecase while we are on milestones, if
> >>> you need it.
> >>>
> >>> Thanks for your consideration!
> >>>
> >>> /peter
> >>>
> >>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
> >>>  wrote:
>  Starting from now I'll try to use M3  but with this release I have
>  this error related to
> 
>   java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
> 
>  I didn't check yet in documentation (I'm involved in some other topics
>  ...) . Neo4jBackup is simply missing from build or backup
>  management is different from M2 ?
> 
>  Many thanks !!
> 
>  --
> 
>  [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource
> Constructor.
>  [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>  9-feb-2011 8.00.02
>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>  doInternalRecovery
>  INFO: Non clean shutdown detected on log
>  [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>  started ...
>  extension:org.neo4j.kernel.KernelExtension[online backup]
>  extension:org.neo4j.graphdb.index.IndexProvider[lucene]
>  9-feb-2011 8.00.02
>  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>  doInternalRecovery
>  INFO: Non clean shutdown detected on log
>  [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
>  started ...
>  extension:org.neo4j.kernel.KernelExtension[kernel jmx]
>  extension:org.neo4j.kernel.KernelExtension[shell]
>  extension:org.neo4j.kernel.KernelExtension[kernel udc]
>  9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
>  mapMappableContainerException
>  GRAVE: The exception contained within MappableContainerException could
>  not be mapped to a response, re-throwing to the H
>  TTP container
>  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
> at
> com.twentyonestyle.mt.service.BackupManager.doBackup(Back

Re: [Neo4j] Help us make Neo4j better at handling YOUR data

2011-02-09 Thread Massimo Lusetti
On Fri, Feb 4, 2011 at 5:13 PM, Tobias Ivarsson
 wrote:
> Friends,
>
> Please read this, your involvement will make Neo4j more efficient!

Does this run with a db with only String[] data?!

Cheers
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Gian Luca Farina Perseu
Thank you Peter !

Message for Mattias:

the link you provided

https://github.com/neo4j/graphdb/blob/master/backup/src/main/java/org/neo4j/backup/OnlineBackup.java

return 404 :-(

In any case, if you say that this weekend this component will be
integrated into milestone ... I can wait for it ;-)

Thank you very much !

Cheers.

On Wed, Feb 9, 2011 at 6:11 PM, Peter Neubauer
 wrote:
> Gian,
> no, the message is that the new Online Backup component is using the
> same communication protocols as HA, but does not require HA and
> ZooKeeper to be set up.
>
> So, using the code Mattias pointed out, you should be able to back up
> a running embedded 1.3 Neo4j DB out of the 1.3 box. The next milestone
> will hopefully include this code (due this week).
>
> So, even without HA setup, the Online Backup can be used to do both
> full and incremental backups.
>
> If you have questions, feel free to ask more!
>
> /peter
>
> On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
>  wrote:
>> Sorry for delay in response, but I follow older thread and I miss this
>> response :-(
>>
>> Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
>> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
>> I tried to use 1.2 after db recovery but the error (nullPointer on
>> lucene) persist and now it's running all the day without issue.
>>
>> I have some users that are heavly inserting data into the DB  in
>> this phase I need to create periodical backups without stop the
>> server.
>>
>> Keep in mind, I'm using embedded server without any remote interface !!
>>
>> So, I don't understand your response (and Mattias also)  is the
>> online backup feature ONLY available in High Availability logic ? So,
>> how can I provide online backup without High Availability ?
>>
>> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
>> provide onlinebackup  :-((
>>
>> Any advice ?
>>
>> Thanks !
>>
>> Gianluca Farina Perseu
>> skype: farinaperseu
>>
>> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
>>  wrote:
>>> Gian and all,
>>> we are moving the OnlineBackup component onto the Hich Availability
>>> logic. It will be included into Neo4j 1.3, but we didn't move the
>>> OnlineBackup Component over to GITHub, so for the time being, it is
>>> not included in the milestone releases.
>>>
>>> Gian, are you actively using OnlineBackup? Let's connect and sort out
>>> how to best move!
>>>
>>> If you are using the component, please consider staying on 1.2 or
>>> contact us so we can solve your usecase while we are on milestones, if
>>> you need it.
>>>
>>> Thanks for your consideration!
>>>
>>> /peter
>>>
>>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>>>  wrote:
 Starting from now I'll try to use M3  but with this release I have
 this error related to

  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup

 I didn't check yet in documentation (I'm involved in some other topics
 ...) . Neo4jBackup is simply missing from build or backup
 management is different from M2 ?

 Many thanks !!

 --

 [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource Constructor.
 [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
 9-feb-2011 8.00.02
 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
 doInternalRecovery
 INFO: Non clean shutdown detected on log
 [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
 started ...
 extension:org.neo4j.kernel.KernelExtension[online backup]
 extension:org.neo4j.graphdb.index.IndexProvider[lucene]
 9-feb-2011 8.00.02
 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
 doInternalRecovery
 INFO: Non clean shutdown detected on log
 [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
 started ...
 extension:org.neo4j.kernel.KernelExtension[kernel jmx]
 extension:org.neo4j.kernel.KernelExtension[shell]
 extension:org.neo4j.kernel.KernelExtension[kernel udc]
 9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
 mapMappableContainerException
 GRAVE: The exception contained within MappableContainerException could
 not be mapped to a response, re-throwing to the H
 TTP container
 java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
        at 
 com.twentyonestyle.mt.service.BackupManager.doBackup(BackupManager.java:63)
        at 
 com.twentyonestyle.mt.rest.app.resource.ServiceResource.doBackup(ServiceResource.java:535)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
 com.sun.jersey.server.impl.model.method.dispatch

Re: [Neo4j] neo4j / RoR consulting opportunity

2011-02-09 Thread Rocky Mehta
Thanks for the tip Jim. I actually know one of the ThoughtWorks folks
in Agile delivery space here in the DC area - I'll check with him...

Thanks from my mobile - and please pardon typos,
Rocky
703-400-5289


On Feb 9, 2011, at 5:05 AM, Jim Webber  wrote:

> Apologies to the list, I should have "replied all."
>
> Jim
>
> On 9 Feb 2011, at 11:04, Jim Webber wrote:
>
>> Hi Rocky,
>>
>> Have you considered talking to ThoughtWorks? Those guys are super RoR and 
>> NoSQL delivery folks and they have a good relationship with us here at Neo. 
>> If you like, I can put you in touch with the ThoughtWorks BD folks in the 
>> USA.
>>
>> Jim
>>
>> On 9 Feb 2011, at 08:38, Rocky Mehta wrote:
>>
>>> Looking for  "Big Data" experience to help build a new product/prototype for
>>> a prestigious firm the N.Virginia area, please get in touch with me for more
>>> details.  We're seeking several consultants and due to potential sensitive
>>> data access, US Citizenship is required.  Duration from 6 to 18 months
>>> estimated.  We're seeking:
>>>
>>> *Software Engineers* to build out product/prototype, implement algorithms
>>> for data analysis and neo4j.  Also, any prior experience with distributed
>>> databases, noSQL (Hadoop, MongDB) helpful - to be developed preferably with
>>> RoR
>>>
>>> Thanks,
>>> Rocky Mehta
>>> (office) 703-281-4646
>>> (cell)   703-400-5289
>>> (eFax) 703-552-1942
>>> ___
>>> Neo4j mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Peter Neubauer
Gian,
no, the message is that the new Online Backup component is using the
same communication protocols as HA, but does not require HA and
ZooKeeper to be set up.

So, using the code Mattias pointed out, you should be able to back up
a running embedded 1.3 Neo4j DB out of the 1.3 box. The next milestone
will hopefully include this code (due this week).

So, even without HA setup, the Online Backup can be used to do both
full and incremental backups.

If you have questions, feel free to ask more!

/peter

On Wed, Feb 9, 2011 at 5:53 PM, Gian Luca Farina Perseu
 wrote:
> Sorry for delay in response, but I follow older thread and I miss this
> response :-(
>
> Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
> BUT  the (previous indicated) bug obligate me to run on latest 1.3.
> I tried to use 1.2 after db recovery but the error (nullPointer on
> lucene) persist and now it's running all the day without issue.
>
> I have some users that are heavly inserting data into the DB  in
> this phase I need to create periodical backups without stop the
> server.
>
> Keep in mind, I'm using embedded server without any remote interface !!
>
> So, I don't understand your response (and Mattias also)  is the
> online backup feature ONLY available in High Availability logic ? So,
> how can I provide online backup without High Availability ?
>
> At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
> provide onlinebackup  :-((
>
> Any advice ?
>
> Thanks !
>
> Gianluca Farina Perseu
> skype: farinaperseu
>
> On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
>  wrote:
>> Gian and all,
>> we are moving the OnlineBackup component onto the Hich Availability
>> logic. It will be included into Neo4j 1.3, but we didn't move the
>> OnlineBackup Component over to GITHub, so for the time being, it is
>> not included in the milestone releases.
>>
>> Gian, are you actively using OnlineBackup? Let's connect and sort out
>> how to best move!
>>
>> If you are using the component, please consider staying on 1.2 or
>> contact us so we can solve your usecase while we are on milestones, if
>> you need it.
>>
>> Thanks for your consideration!
>>
>> /peter
>>
>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>>  wrote:
>>> Starting from now I'll try to use M3  but with this release I have
>>> this error related to
>>>
>>>  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>>>
>>> I didn't check yet in documentation (I'm involved in some other topics
>>> ...) . Neo4jBackup is simply missing from build or backup
>>> management is different from M2 ?
>>>
>>> Many thanks !!
>>>
>>> --
>>>
>>> [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource Constructor.
>>> [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>>> 9-feb-2011 8.00.02
>>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>>> doInternalRecovery
>>> INFO: Non clean shutdown detected on log
>>> [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>>> started ...
>>> extension:org.neo4j.kernel.KernelExtension[online backup]
>>> extension:org.neo4j.graphdb.index.IndexProvider[lucene]
>>> 9-feb-2011 8.00.02
>>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>>> doInternalRecovery
>>> INFO: Non clean shutdown detected on log
>>> [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
>>> started ...
>>> extension:org.neo4j.kernel.KernelExtension[kernel jmx]
>>> extension:org.neo4j.kernel.KernelExtension[shell]
>>> extension:org.neo4j.kernel.KernelExtension[kernel udc]
>>> 9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
>>> mapMappableContainerException
>>> GRAVE: The exception contained within MappableContainerException could
>>> not be mapped to a response, re-throwing to the H
>>> TTP container
>>> java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>>>        at 
>>> com.twentyonestyle.mt.service.BackupManager.doBackup(BackupManager.java:63)
>>>        at 
>>> com.twentyonestyle.mt.rest.app.resource.ServiceResource.doBackup(ServiceResource.java:535)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>        at java.lang.reflect.Method.invoke(Unknown Source)
>>>        at 
>>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispa
>>> tch(AbstractResourceMethodDispatchProvider.java:168)
>>>        at 
>>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp
>>> atcher.java:70)
>>>        at 
>>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
>>>        at 
>>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>>>        at 
>>> com.sun.jersey.s

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Gian Luca Farina Perseu
Sorry for delay in response, but I follow older thread and I miss this
response :-(

Peter, yes I was using 1.2 M2 with Neo4jBackup class for onlinebackup
BUT  the (previous indicated) bug obligate me to run on latest 1.3.
I tried to use 1.2 after db recovery but the error (nullPointer on
lucene) persist and now it's running all the day without issue.

I have some users that are heavly inserting data into the DB  in
this phase I need to create periodical backups without stop the
server.

Keep in mind, I'm using embedded server without any remote interface !!

So, I don't understand your response (and Mattias also)  is the
online backup feature ONLY available in High Availability logic ? So,
how can I provide online backup without High Availability ?

At the moment I cannot use 1.2, I need to run on 1.3 but 1.3 does not
provide onlinebackup  :-((

Any advice ?

Thanks !

Gianluca Farina Perseu
skype: farinaperseu

On Wed, Feb 9, 2011 at 9:09 AM, Peter Neubauer
 wrote:
> Gian and all,
> we are moving the OnlineBackup component onto the Hich Availability
> logic. It will be included into Neo4j 1.3, but we didn't move the
> OnlineBackup Component over to GITHub, so for the time being, it is
> not included in the milestone releases.
>
> Gian, are you actively using OnlineBackup? Let's connect and sort out
> how to best move!
>
> If you are using the component, please consider staying on 1.2 or
> contact us so we can solve your usecase while we are on milestones, if
> you need it.
>
> Thanks for your consideration!
>
> /peter
>
> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>  wrote:
>> Starting from now I'll try to use M3  but with this release I have
>> this error related to
>>
>>  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>>
>> I didn't check yet in documentation (I'm involved in some other topics
>> ...) . Neo4jBackup is simply missing from build or backup
>> management is different from M2 ?
>>
>> Many thanks !!
>>
>> --
>>
>> [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource Constructor.
>> [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>> 9-feb-2011 8.00.02
>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>> doInternalRecovery
>> INFO: Non clean shutdown detected on log
>> [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>> started ...
>> extension:org.neo4j.kernel.KernelExtension[online backup]
>> extension:org.neo4j.graphdb.index.IndexProvider[lucene]
>> 9-feb-2011 8.00.02
>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>> doInternalRecovery
>> INFO: Non clean shutdown detected on log
>> [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
>> started ...
>> extension:org.neo4j.kernel.KernelExtension[kernel jmx]
>> extension:org.neo4j.kernel.KernelExtension[shell]
>> extension:org.neo4j.kernel.KernelExtension[kernel udc]
>> 9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
>> mapMappableContainerException
>> GRAVE: The exception contained within MappableContainerException could
>> not be mapped to a response, re-throwing to the H
>> TTP container
>> java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>>        at 
>> com.twentyonestyle.mt.service.BackupManager.doBackup(BackupManager.java:63)
>>        at 
>> com.twentyonestyle.mt.rest.app.resource.ServiceResource.doBackup(ServiceResource.java:535)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>        at java.lang.reflect.Method.invoke(Unknown Source)
>>        at 
>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispa
>> tch(AbstractResourceMethodDispatchProvider.java:168)
>>        at 
>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp
>> atcher.java:70)
>>        at 
>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
>>        at 
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>>        at 
>> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
>>        at 
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>>        at 
>> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
>>        at 
>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1357)
>>        at 
>> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1289)
>>        at 
>> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1239)
>>        at 
>> com.sun.jersey.server.impl.a

Re: [Neo4j] Questions

2011-02-09 Thread Jim Webber
Hi Saikat,

> 1) Are there plans to build a compact version of neo4j for native mobile apps

The embedded jar for Neo4j is ~500kB in size, so quite embeddable.

> 2) Is there an example of sharding and the lessons learned and issues that 
> may come up when going through this.  Didn't see anything on the wiki but 
> maybe was not looking in the right place.

Yup, and you've just reminded me I have a blog post stored about that. Check 
http://jimwebber.org and the Neo4j blog sites shortly...

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Questions

2011-02-09 Thread Saikat Kanjilal
Hi Folks,
I was wondering about the following:

1) Are there plans to build a compact version of neo4j for native mobile apps

2) Is there an example of sharding and the lessons learned and issues that may 
come up when going through this.  Didn't see anything on the wiki but maybe was 
not looking in the right place.

Thanks in advance.

Sent from my iPhone
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Installing the python bindings ( I think )

2011-02-09 Thread Tom Smith
Hello,

I'm in a pickle. I KNOW I had neo4j working fine on my computer, but not it 
complains ...

ImportError: No applicable backend found.

... I suspect that I *may* have tidied up my site-packages folder but I'm not 
sure why it has stopped. I'm now both unable to install JPype (although I think 
it IS already installed) ...

src/native/common/jp_array.cpp:98: error: ‘jvalue’ does not name a type
src/native/common/jp_array.cpp: In member function ‘virtual JCharString 
JPArray::toString()’:
src/native/common/jp_array.cpp:107: error: ‘jchar’ was not declared in this 
scope
src/native/common/jp_array.cpp:107: error: expected `;' before ‘res’
src/native/common/jp_array.cpp:108: error: ‘res’ was not declared in this scope
error: command '/usr/bin/gcc-4.2' failed with exit status 1


...and unable to install the python bindings ( on MacOS X)... they error, but I 
think they are installed OK.

I tried using the REST server (which is great) but it doesn't support 
graphdb.index("whatever") yet.

When will the next release of the REST server (with indexing) or the python 
binding?

Thanks

Tom Smith













___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] unable to install neo4j-python on jython2.5.1 : keyError 'project.artifactId'

2011-02-09 Thread Joan Marc Riera Duocastella
Replaying to myself:

The answer is here: 
http://sake.in.th/blog/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%A5%E0%B8%87-neo4j-python-%E0%B9%83%E0%B8%99-ubuntu-1004

It was provided to me by: http://serverfault.com/users/68346/alvosu

The sumary of the solution is :

edit:pom.py

|if  elementis  None:  # added
 element=  self.tree.findtext(self.__path('dependencies'))  # added
if  elementis  None:
 raise  KeyError(path)




Thanks.
|




Fundació Barcelona Media
*


  Joan Marc Riera Duocastella

*


Barcelona Media - Centre d'Innovació
Av. Diagonal, 177, planta 9 08018 - BARCELONA
Telèfon +34 93 238 14 00 Fax +34 93 309 31 88
www.barcelonamedia.org 


On 02/09/2011 11:39 AM, Joan Marc Riera Duocastella wrote:
> Hi,
>
> I have this error: KeyError: 'project.artifactId'
>
>  admmarc@fbmgrid01:~/neo4j-server/neo4j-python$ ../jython2.5.1/jython
>  setup.py install
>  Traceback (most recent call last):
> File "setup.py", line 146, in
>   main()
> File "setup.py", line 134, in main
>   args[attr] = pom[attr]
> File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
>  line 57, in __getitem__
>   return self.pattern.sub(lambda
>  match:self[match.groupdict()['var']],
> File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
>  line 57, in
>   return self.pattern.sub(lambda
>  match:self[match.groupdict()['var']],
> File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
>  line 54, in __getitem__
>   element = self.parent[path]
> File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
>  line 91, in __getitem__
>   return replacement.get(path, lambda s,x:x)(self, self.__pom[path])
> File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
>  line 56, in __getitem__
>   raise KeyError(path)
>  KeyError: 'project.artifactId'
>  admmarc@fbmgrid01:~/neo4j-server/neo4j-python$
>
>
>
>
>
> My configuration for jython is as follows:
>
>  admmarc@fbmgrid01:~/neo4j-server$ jython2.5.1/bin/jython -V
>  Jython 2.5.1
>  admmarc@fbmgrid01:~/neo4j-server$ jython2.5.1/bin/jython -v
>  import: 'exceptions' as org.python.core.exceptions in builtin modules
>  import: import os # precompiled from
>  /hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/os$py.class
>  import: 'errno' as org.python.modules.errno in builtin modules
>  import: 'jarray' as org.python.modules.jarray in builtin modules
>  import: 'java' as java package
>  import: 'System' as java class
>  import: 'time' as org.python.modules.time.Time in builtin modules
>  import: import stat # precompiled from
>  /hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/stat$py.class
>  import: 'sys' as sys in builtin modules
>  import: 'File' as java class
>  import: 'org' as java package
>  import: 'FileDescriptors' as java class
>  import: 'FileIO' as java class
>  import: 'IOBase' as java class
>  import: 'Py' as java class
>  import: 'Errno' as java class
>  import: 'JavaPOSIX' as java class
>  import: 'POSIXHandler' as java class
>  import: 'POSIXFactory' as java class
>  import: import posixpath # precompiled from
>  /hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/posixpath$py.class
>  import: 'IOException' as java class
>  import: 'SecureRandom' as java class
>  import: 'FileDescriptor' as java class
>  Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
>  [Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on
>  java1.6.0_22
>  import: import site # precompiled from
>  /hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/site$py.class
>  Type "help", "copyright", "credits" or "license" for more information.
>   >>>  quit()
>
>
> I have setuptools installed.
> I'm planing to use server version 1.3, this is just a FYI statement.
> By now, all the components are on userspace:
>
>  admmarc@fbmgrid01:~/neo4j-server/neo4j-python$ ls -at ..
>  .  neo4j-python  ..  jython2.5.1  jdk1.6.0_23  neo4j-1.2
>  neo4j-1.2-unix.tar.gz  ez_setup.py  jdk-6u23-linux-x64.bin
>  jython_installer-2.5.1.jar
>  admmarc@fbmgrid01:~/neo4j-server/neo4j-python$
>
> The box is an Ubuntu 9.10 x64.
> I've already searched google, but I've not be able to found any
> workarround.
>
> And this is it, any help will be welcome, as questions will also be very
> welcome. I can do almost whatever test is needed to be done.
>
>
> Thanks.
>
>
>
>
>
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Aux data

2011-02-09 Thread Michael Hunger
Ido,

you can also have a look into our Spring-Data-Graph project that comes with a 
(very early) implementation of a cross-store approach that allows
you to have annotated JPA Entities of which certain parts (e.g. a social graph) 
are stored in the graph database.

You can check out the project here:
http://www.springsource.com/spring-data
there also the github repositories are listed and the reference docs.
currently version 1.0.0.M2 is deployed to spring-maven repo 
with the M3 we will tackle transaction handler issues for multiple datasources 
(1PC best effort) and
adding full XA support


If you would like to look into it, feel free to contact me.

Cheers

Michael


Am 09.02.2011 um 11:46 schrieb Craig Taverner:

> Hi Ido,
> 
> Do you mean you want a central place to store the names of all the
> properties used on some types of object? Kind-of like a schema, so your
> application code knows what properties are available before starting a
> traversal?
> 
> If that is the case, we have a similar requirement, and we solved it in the
> following way. Most of our graphs are collected into 'datasets', which means
> a collection of data that we expect to analyse as a whole, and therefor we
> like to keep some metadata about the dataset. So we root the graph in a node
> called the dataset node, and the graph of data is built as a tree structure
> beneath that node. Then we connect a properties node to the dataset node,
> and this is the root of another small graph, basically just a depth-1 tree
> of nodes, each representing properties of a particular type. Each property
> node has a key with the name of the property, and the value is the number of
> occurences in the dataset. This allows us to show the list of properties in
> the GUI when a user is preparing an analysis.
> 
> An example line through the properties metadata graph might look like:
> dataset--PROPERTIES-->properties--PROPERTY(float)-->property(x:10,y:20,z:7)
> 
> Is this the kind of think you are looking for?
> 
> Regards, Craig
> 
> On Wed, Feb 9, 2011 at 10:36 AM, Ido Ran  wrote:
> 
>> Hi,
>> I have a question about how to design a database that has graph data
>> structure in it's core yet have other data which is not graph in nature
>> connected to it.
>> In our model we have graph of objects that are connect with links - which
>> is
>> a prefect match for neo4j.
>> Then on each object and and link we store properties of various types so we
>> need to store list of all the property types we store.
>> We can represent them as graph as well but that fells unnatural. The other
>> way is to combine RDBMS with neo4j but then we run into sync. and
>> deployment
>> problems.
>> 
>> Any help will be great.
>> Thank you,
>> Ido
>> ___
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>> 
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Aux data

2011-02-09 Thread Craig Taverner
Hi Ido,

Do you mean you want a central place to store the names of all the
properties used on some types of object? Kind-of like a schema, so your
application code knows what properties are available before starting a
traversal?

If that is the case, we have a similar requirement, and we solved it in the
following way. Most of our graphs are collected into 'datasets', which means
a collection of data that we expect to analyse as a whole, and therefor we
like to keep some metadata about the dataset. So we root the graph in a node
called the dataset node, and the graph of data is built as a tree structure
beneath that node. Then we connect a properties node to the dataset node,
and this is the root of another small graph, basically just a depth-1 tree
of nodes, each representing properties of a particular type. Each property
node has a key with the name of the property, and the value is the number of
occurences in the dataset. This allows us to show the list of properties in
the GUI when a user is preparing an analysis.

An example line through the properties metadata graph might look like:
dataset--PROPERTIES-->properties--PROPERTY(float)-->property(x:10,y:20,z:7)

Is this the kind of think you are looking for?

Regards, Craig

On Wed, Feb 9, 2011 at 10:36 AM, Ido Ran  wrote:

> Hi,
> I have a question about how to design a database that has graph data
> structure in it's core yet have other data which is not graph in nature
> connected to it.
> In our model we have graph of objects that are connect with links - which
> is
> a prefect match for neo4j.
> Then on each object and and link we store properties of various types so we
> need to store list of all the property types we store.
> We can represent them as graph as well but that fells unnatural. The other
> way is to combine RDBMS with neo4j but then we run into sync. and
> deployment
> problems.
>
> Any help will be great.
> Thank you,
> Ido
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] unable to install neo4j-python on jython2.5.1 : keyError 'project.artifactId'

2011-02-09 Thread Joan Marc Riera Duocastella
Hi,

I have this error: KeyError: 'project.artifactId'

admmarc@fbmgrid01:~/neo4j-server/neo4j-python$ ../jython2.5.1/jython
setup.py install
Traceback (most recent call last):
   File "setup.py", line 146, in 
 main()
   File "setup.py", line 134, in main
 args[attr] = pom[attr]
   File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
line 57, in __getitem__
 return self.pattern.sub(lambda
match:self[match.groupdict()['var']],
   File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
line 57, in 
 return self.pattern.sub(lambda
match:self[match.groupdict()['var']],
   File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
line 54, in __getitem__
 element = self.parent[path]
   File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
line 91, in __getitem__
 return replacement.get(path, lambda s,x:x)(self, self.__pom[path])
   File "/hpcdrive/homes/admmarc/neo4j-server/neo4j-python/pom.py",
line 56, in __getitem__
 raise KeyError(path)
KeyError: 'project.artifactId'
admmarc@fbmgrid01:~/neo4j-server/neo4j-python$





My configuration for jython is as follows:

admmarc@fbmgrid01:~/neo4j-server$ jython2.5.1/bin/jython -V
Jython 2.5.1
admmarc@fbmgrid01:~/neo4j-server$ jython2.5.1/bin/jython -v
import: 'exceptions' as org.python.core.exceptions in builtin modules
import: import os # precompiled from
/hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/os$py.class
import: 'errno' as org.python.modules.errno in builtin modules
import: 'jarray' as org.python.modules.jarray in builtin modules
import: 'java' as java package
import: 'System' as java class
import: 'time' as org.python.modules.time.Time in builtin modules
import: import stat # precompiled from
/hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/stat$py.class
import: 'sys' as sys in builtin modules
import: 'File' as java class
import: 'org' as java package
import: 'FileDescriptors' as java class
import: 'FileIO' as java class
import: 'IOBase' as java class
import: 'Py' as java class
import: 'Errno' as java class
import: 'JavaPOSIX' as java class
import: 'POSIXHandler' as java class
import: 'POSIXFactory' as java class
import: import posixpath # precompiled from
/hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/posixpath$py.class
import: 'IOException' as java class
import: 'SecureRandom' as java class
import: 'FileDescriptor' as java class
Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on
java1.6.0_22
import: import site # precompiled from
/hpcdrive/homes/admmarc/neo4j-server/jython2.5.1/Lib/site$py.class
Type "help", "copyright", "credits" or "license" for more information.
 >>> quit()


I have setuptools installed.
I'm planing to use server version 1.3, this is just a FYI statement.
By now, all the components are on userspace:

admmarc@fbmgrid01:~/neo4j-server/neo4j-python$ ls -at ..
.  neo4j-python  ..  jython2.5.1  jdk1.6.0_23  neo4j-1.2 
neo4j-1.2-unix.tar.gz  ez_setup.py  jdk-6u23-linux-x64.bin 
jython_installer-2.5.1.jar
admmarc@fbmgrid01:~/neo4j-server/neo4j-python$

The box is an Ubuntu 9.10 x64.
I've already searched google, but I've not be able to found any 
workarround.

And this is it, any help will be welcome, as questions will also be very 
welcome. I can do almost whatever test is needed to be done.


Thanks.






-- 
Fundació Barcelona Media
*


  Joan Marc Riera Duocastella

*


Barcelona Media - Centre d'Innovació
Av. Diagonal, 177, planta 9 08018 - BARCELONA
Telèfon +34 93 238 14 00 Fax +34 93 309 31 88
www.barcelonamedia.org 

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4J Regex on property - REST

2011-02-09 Thread Peter Neubauer
Shawn,
this is the Fulltext Search not being exposed in the REST API
currently. However, you could easily build a server plugin that
exposes this for you, see
http://docs.neo4j.org/chunked/snapshot/server-plugins.html and
https://github.com/neo4j/server/blob/master/examples/src/main/java/org/neo4j/examples/server/plugins/ShortestPath.java
for an example with parameters (which would be your property key and
value).

Does that help?

/peter

On Tue, Feb 8, 2011 at 4:10 PM, Shawn Mclean  wrote:
> Hello,
>
> I have a question that is asked here:
> http://stackoverflow.com/questions/4934743/neo4j-rest-send-regex-for-a-property.
>
> 
> Hello, I would like to use a regex to match a property on a node for
> relation. For example, my node contains the following:
>
>     [
>    data : { FirstName : "Shawn Mclean" },
>    data : { FirstName : "Not Shawn" }
>     ]
>
> Is there a way in the REST API to send a regex for the property `FirstName`?
> For example, I'd like to get all nodes starting with `S`.
>
> Thank you,
> Shawn Mclean
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j / RoR consulting opportunity

2011-02-09 Thread Jim Webber
Apologies to the list, I should have "replied all." 

Jim

On 9 Feb 2011, at 11:04, Jim Webber wrote:

> Hi Rocky,
> 
> Have you considered talking to ThoughtWorks? Those guys are super RoR and 
> NoSQL delivery folks and they have a good relationship with us here at Neo. 
> If you like, I can put you in touch with the ThoughtWorks BD folks in the USA.
> 
> Jim
> 
> On 9 Feb 2011, at 08:38, Rocky Mehta wrote:
> 
>> Looking for  "Big Data" experience to help build a new product/prototype for
>> a prestigious firm the N.Virginia area, please get in touch with me for more
>> details.  We're seeking several consultants and due to potential sensitive
>> data access, US Citizenship is required.  Duration from 6 to 18 months
>> estimated.  We're seeking:
>> 
>> *Software Engineers* to build out product/prototype, implement algorithms
>> for data analysis and neo4j.  Also, any prior experience with distributed
>> databases, noSQL (Hadoop, MongDB) helpful - to be developed preferably with
>> RoR
>> 
>> Thanks,
>> Rocky Mehta
>> (office) 703-281-4646
>> (cell)   703-400-5289
>> (eFax) 703-552-1942
>> ___
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
> 

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] web admin module in embedded graph

2011-02-09 Thread Jacob Hansson
John,

One approach that would be possible is to wait (or to write a patch) for the
server to support a read-only database. That way, you could start the
server, pointing at the same data directory as your app uses, and get
webadmin for free (plus, you'd get the REST API for free). The drawback
would be that only read-operations would work - webadmin would not be able
to modify any data.

If you need write support, webadmin will need the entire REST API, including
the ability to discover where those APIs are by a HTTP GET request to the
root of the server that serves webadmin. You might be able to add a
dependency to the server component, bypass its normal startup, and instead
inject your own database into it, along with configuration and other things
normally provided by the happy events originating in
org.neo4j.server.BootStrapper.

You would then mount the servers jersey services somewhere in your web
container, there are three packages of them that need to be mounted at
different places:

At / (the only url that is hard-coded) you need:
org.neo4j.server.rest.discovery.*

Since you are already serving web content from there, you could provide the
behaviour of this in some other manner. Basically, a HTTP GET to /, with an
Accept-header of "application/json" needs in response a JSON-object that
explains where the data and the management APIs are mounted. Please refer to
the discovery service and it's related response representation for how this
should be formatted.

The other two can then be mounted wherever you like, as long as you put the
urls to them in the GET / response. They are as follows:

Mounted at /db/data in server:
org.neo4j.server.rest.web.*

Mounted at /db/manage in server:
org.neo4j.server.webadmin.rest.*

When these are in place you need to serve the static webadmin stuff from
somewhere, somewhere being anywhere with the same base url as the services
you just mounted. These static files are available as part of the server
component, in a JAR artifact with the classifier "static-web".

/Jacob

On Wed, Feb 9, 2011 at 8:33 AM, John Howard  wrote:

> Thanks Jacob.
>
> What we have currently is a web application which has embedded neo graph
> and
> deployed on an app server.
> The embedded neo approach fits nicely in our application.
> We are open to any development effort it may involve.
> It would be highly helpful, if you can point to starting steps in getting
> web admin in our set up.
>
>
>
> On Sun, Feb 6, 2011 at 8:12 AM, Jacob Hansson 
> wrote:
>
> > The web admin client is a javascript file, some html, some css and some
> > images. If you serve those files from a server that also implements the
> > neo4j REST API, and the neo4j server management REST API, webadmin would
> > work.
> >
> > Needless to say, implementing those APIs (or using the neo4j server
> > implementation of them in some way) would be very cumbersome.
> >
> > Perhaps an easier solution would be to wait for (or start working on :) )
> a
> > java client for the server that implements the GraphDatabaseService
> > interface. As long as your app uses that, the switch from embedded to
> > server
> > should be fairly painless..
> >
> > /Jacob
> >
> > On Fri, Feb 4, 2011 at 10:12 PM, John Howard 
> wrote:
> >
> > > Hello,
> > >
> > > I like the web admin module in the neo restful server.
> > > Do we (or can we) have the same as some sort of war package or files
> > which
> > > can be embedded in our embedded application?
> > > I do not mean just jmx but also graph specific info present in web
> admin
> > > page in the neo restful server.
> > >
> > > Thank you in advance.
> > >
> > > Honnur
> > > ___
> > > Neo4j mailing list
> > > User@lists.neo4j.org
> > > https://lists.neo4j.org/mailman/listinfo/user
> > >
> >
> >
> >
> > --
> > Jacob Hansson
> > Phone: +46 (0) 763503395 <+46763503395>
> > Twitter: @jakewins
> > ___
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Aux data

2011-02-09 Thread Ido Ran
Hi,
I have a question about how to design a database that has graph data
structure in it's core yet have other data which is not graph in nature
connected to it.
In our model we have graph of objects that are connect with links - which is
a prefect match for neo4j.
Then on each object and and link we store properties of various types so we
need to store list of all the property types we store.
We can represent them as graph as well but that fells unnatural. The other
way is to combine RDBMS with neo4j but then we run into sync. and deployment
problems.

Any help will be great.
Thank you,
Ido
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
(One of) the brilliant thing(s) with the new backup component/utility is
that you don't have to to a defensive copy up front from a closed database.
You just use the "full" backup and it will recreate the entire database for
you, and then just the incremental changes when calling "incremental".

2011/2/9 Mattias Persson 

> I think someone will write a wiki/manual for the new backup tool soon, and
> there'll be multiple ways of accessing it also, f.ex. through java code,
> through a script and maybe through JMX a.s.o. but for the time being the
> java code works like this:
>
> o To have your running graph database support clients connecting to it and
> fetching online backups just have the neo4j-com and neo4j-backup jars (with
> its dependencies, like netty) on the classpath, that's it.
>
> o The code to perform an online 
> backuplooks
>  like this:
>
> OnlineBackup.from( "localhost" ).full( "directory/to/backup/to"
> ).close();
>  then, at a later time 
> OnlineBackup.from( "localhost" ).incremental( "directory/to/backup/to"
> ).close();
>
> Or you can store the OnlineBackup object and close whenever you feel like.
>
> 2011/2/9 Peter Neubauer 
>
> Gian and all,
>> we are moving the OnlineBackup component onto the Hich Availability
>> logic. It will be included into Neo4j 1.3, but we didn't move the
>> OnlineBackup Component over to GITHub, so for the time being, it is
>> not included in the milestone releases.
>>
>> Gian, are you actively using OnlineBackup? Let's connect and sort out
>> how to best move!
>>
>> If you are using the component, please consider staying on 1.2 or
>> contact us so we can solve your usecase while we are on milestones, if
>> you need it.
>>
>> Thanks for your consideration!
>>
>> /peter
>>
>> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>>  wrote:
>> > Starting from now I'll try to use M3  but with this release I have
>> > this error related to
>> >
>> >  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>> >
>> > I didn't check yet in documentation (I'm involved in some other topics
>> > ...) . Neo4jBackup is simply missing from build or backup
>> > management is different from M2 ?
>> >
>> > Many thanks !!
>> >
>> > --
>> >
>> > [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource Constructor.
>> > [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
>> > 9-feb-2011 8.00.02
>> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>> > doInternalRecovery
>> > INFO: Non clean shutdown detected on log
>> > [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
>> > started ...
>> > extension:org.neo4j.kernel.KernelExtension[online backup]
>> > extension:org.neo4j.graphdb.index.IndexProvider[lucene]
>> > 9-feb-2011 8.00.02
>> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
>> > doInternalRecovery
>> > INFO: Non clean shutdown detected on log
>> > [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
>> > started ...
>> > extension:org.neo4j.kernel.KernelExtension[kernel jmx]
>> > extension:org.neo4j.kernel.KernelExtension[shell]
>> > extension:org.neo4j.kernel.KernelExtension[kernel udc]
>> > 9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
>> > mapMappableContainerException
>> > GRAVE: The exception contained within MappableContainerException could
>> > not be mapped to a response, re-throwing to the H
>> > TTP container
>> > java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>> >at
>> com.twentyonestyle.mt.service.BackupManager.doBackup(BackupManager.java:63)
>> >at
>> com.twentyonestyle.mt.rest.app.resource.ServiceResource.doBackup(ServiceResource.java:535)
>> >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> >at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>> Source)
>> >at java.lang.reflect.Method.invoke(Unknown Source)
>> >at
>> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispa
>> > tch(AbstractResourceMethodDispatchProvider.java:168)
>> >at
>> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp
>> > atcher.java:70)
>> >at
>> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
>> >at
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>> >at
>> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
>> >at
>> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>> >at
>> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.j

Re: [Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Mattias Persson
I think someone will write a wiki/manual for the new backup tool soon, and
there'll be multiple ways of accessing it also, f.ex. through java code,
through a script and maybe through JMX a.s.o. but for the time being the
java code works like this:

o To have your running graph database support clients connecting to it and
fetching online backups just have the neo4j-com and neo4j-backup jars (with
its dependencies, like netty) on the classpath, that's it.

o The code to perform an online
backuplooks
like this:

OnlineBackup.from( "localhost" ).full( "directory/to/backup/to"
).close();
 then, at a later time 
OnlineBackup.from( "localhost" ).incremental( "directory/to/backup/to"
).close();

Or you can store the OnlineBackup object and close whenever you feel like.

2011/2/9 Peter Neubauer 

> Gian and all,
> we are moving the OnlineBackup component onto the Hich Availability
> logic. It will be included into Neo4j 1.3, but we didn't move the
> OnlineBackup Component over to GITHub, so for the time being, it is
> not included in the milestone releases.
>
> Gian, are you actively using OnlineBackup? Let's connect and sort out
> how to best move!
>
> If you are using the component, please consider staying on 1.2 or
> contact us so we can solve your usecase while we are on milestones, if
> you need it.
>
> Thanks for your consideration!
>
> /peter
>
> On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
>  wrote:
> > Starting from now I'll try to use M3  but with this release I have
> > this error related to
> >
> >  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
> >
> > I didn't check yet in documentation (I'm involved in some other topics
> > ...) . Neo4jBackup is simply missing from build or backup
> > management is different from M2 ?
> >
> > Many thanks !!
> >
> > --
> >
> > [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource Constructor.
> > [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
> > 9-feb-2011 8.00.02
> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
> > doInternalRecovery
> > INFO: Non clean shutdown detected on log
> > [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
> > started ...
> > extension:org.neo4j.kernel.KernelExtension[online backup]
> > extension:org.neo4j.graphdb.index.IndexProvider[lucene]
> > 9-feb-2011 8.00.02
> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
> > doInternalRecovery
> > INFO: Non clean shutdown detected on log
> > [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
> > started ...
> > extension:org.neo4j.kernel.KernelExtension[kernel jmx]
> > extension:org.neo4j.kernel.KernelExtension[shell]
> > extension:org.neo4j.kernel.KernelExtension[kernel udc]
> > 9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
> > mapMappableContainerException
> > GRAVE: The exception contained within MappableContainerException could
> > not be mapped to a response, re-throwing to the H
> > TTP container
> > java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
> >at
> com.twentyonestyle.mt.service.BackupManager.doBackup(BackupManager.java:63)
> >at
> com.twentyonestyle.mt.rest.app.resource.ServiceResource.doBackup(ServiceResource.java:535)
> >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >at java.lang.reflect.Method.invoke(Unknown Source)
> >at
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispa
> > tch(AbstractResourceMethodDispatchProvider.java:168)
> >at
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp
> > atcher.java:70)
> >at
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
> >at
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> >at
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
> >at
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> >at
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
> >at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1357)
> >at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1289)
> >at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1239)
> >at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleReque

[Neo4j] OnlineBackup component being upgraded (WasRe: Unrecovable transaction error)

2011-02-09 Thread Peter Neubauer
Gian and all,
we are moving the OnlineBackup component onto the Hich Availability
logic. It will be included into Neo4j 1.3, but we didn't move the
OnlineBackup Component over to GITHub, so for the time being, it is
not included in the milestone releases.

Gian, are you actively using OnlineBackup? Let's connect and sort out
how to best move!

If you are using the component, please consider staying on 1.2 or
contact us so we can solve your usecase while we are on milestones, if
you need it.

Thanks for your consideration!

/peter

On Wed, Feb 9, 2011 at 8:00 AM, Gian Luca Farina Perseu
 wrote:
> Starting from now I'll try to use M3  but with this release I have
> this error related to
>
>  java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>
> I didn't check yet in documentation (I'm involved in some other topics
> ...) . Neo4jBackup is simply missing from build or backup
> management is different from M2 ?
>
> Many thanks !!
>
> --
>
> [INFO] BaseResource - 2011.02.09 08:00:02 - ServiceResource Constructor.
> [INFO] TimeoutHandler - Time: Wed Feb 09 08:00:02 CET 2011
> 9-feb-2011 8.00.02
> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
> doInternalRecovery
> INFO: Non clean shutdown detected on log
> [\temp\graphdb\neo4j_online_backup\nioneo_logical.log.1]. Recovery
> started ...
> extension:org.neo4j.kernel.KernelExtension[online backup]
> extension:org.neo4j.graphdb.index.IndexProvider[lucene]
> 9-feb-2011 8.00.02
> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
> doInternalRecovery
> INFO: Non clean shutdown detected on log
> [C:\temp\graphdb\neo4j_online_backup\index/lucene.log.1]. Recovery
> started ...
> extension:org.neo4j.kernel.KernelExtension[kernel jmx]
> extension:org.neo4j.kernel.KernelExtension[shell]
> extension:org.neo4j.kernel.KernelExtension[kernel udc]
> 9-feb-2011 8.00.02 com.sun.jersey.spi.container.ContainerResponse
> mapMappableContainerException
> GRAVE: The exception contained within MappableContainerException could
> not be mapped to a response, re-throwing to the H
> TTP container
> java.lang.NoClassDefFoundError: org/neo4j/onlinebackup/Neo4jBackup
>        at 
> com.twentyonestyle.mt.service.BackupManager.doBackup(BackupManager.java:63)
>        at 
> com.twentyonestyle.mt.rest.app.resource.ServiceResource.doBackup(ServiceResource.java:535)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispa
> tch(AbstractResourceMethodDispatchProvider.java:168)
>        at 
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp
> atcher.java:70)
>        at 
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
>        at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>        at 
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
>        at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
>        at 
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1357)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1289)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1239)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
>        at 
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
>        at 
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
>        at 
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:725)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at 
> com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1002)
>        at 
> com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:942)
>        at 
> com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:404)
>        at 
> com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:349)
>        at 
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
>        at 
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
>        at com.sun.grizzly.http.ProcessorTask.doProce