Re: [Neo4j] Populating a RelationshipExpander

2011-03-10 Thread Paddy
Sorry I just seen a previous mail, explaining that it is an immutable class
I was previously trying  with
Expander expander = Traversal.emptyExpander();
expander.add( types[i] ,directions[i]);
when I should of been using
expander = expander.add( types[i] ,directions[i]);
Now it works :)

Cheers
Pad


On Thu, Mar 10, 2011 at 6:43 PM, Paddy  wrote:

> Hi,
> How could I populate a RelationshipExpander directly with
> RelationshipType[] & Direction[] propertys.
> As the Traversal.expanderForTypes takes varargs, How can I do something
> along the lines of below or should I implement an Expander?
>
> RelationshipType[] types = relationshipsToExpand();
> Direction[] directions; //  All are Direction.OUTGOING
> RelationshipExpander rel = Traversal.expanderForTypes( types, directions);
>
> Thanks
> Paddy
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Populating a RelationshipExpander

2011-03-10 Thread Paddy
Hi,
How could I populate a RelationshipExpander directly with RelationshipType[]
& Direction[] propertys.
As the Traversal.expanderForTypes takes varargs, How can I do something
along the lines of below or should I implement an Expander?

RelationshipType[] types = relationshipsToExpand();
Direction[] directions; //  All are Direction.OUTGOING
RelationshipExpander rel = Traversal.expanderForTypes( types, directions);

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


[Neo4j] Domain objects and php rest api

2011-03-10 Thread darkrain2
How do I go about creating domain objects and accessing them via php rest
apiMy understanding is that I would create a server plugin in java with
my objects then make them available via php rest api...if this is the case,
how do I go about doing this...also, I'm probably asking a stupid question
now, can I create the domain objects in php...


any help is greatly appreciated...

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Domain-objects-and-php-rest-api-tp2663241p2663241.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] InvalidRecordException

2011-03-10 Thread Massimo Lusetti
On Thu, Mar 10, 2011 at 6:11 PM, Axel Morgner  wrote:

> Hi,
>
> I'm getting an InvalidRecordException
>
> org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Node[5] is
> neither firstNode[37781] nor secondNode[37782] for Relationship[188125]
>     at
> org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getMoreRelationships(ReadTransaction.java:131)
>     at
> org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.getMoreRelationships(NioNeoDbPersistenceSource.java:280)
>     at
> org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:100)
>     at
> org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:585)
>     at
> org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
>     at
> org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:115)
>
> when iterating through the relationships of a certain node:
>
>             Node node = graphDb.getNodeById(sNode.getId());
>
>             Iterable rels =
> node.getRelationships(relType, dir);
>
>             for (Relationship r : rels) { <- here the expeption
> occurs
>                 ...
>             }
>
> I'm using 1.3.M03.
>
> Seems that the database is in an inconsitant state. Don't know how this
> could happen ...
>
>
> Greetings
>
> Axel
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>


I'm encountering this same/similar exception quite ofter lately, with
the same 1.3.M03 version, on FreeBSD 8.2 with  OpenJDK Runtime
Environment (build 1.6.0-b21) OpenJDK 64-Bit Server VM (build
19.0-b09, mixed mode):

org.neo4j.kernel.impl.nioneo.store.InvalidRecordException:
Record[4130751] not in use
at 
org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:194)
at 
org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:96)
at 
org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.connectRelationship(WriteTransaction.java:1435)
at 
org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.relationshipCreate(WriteTransaction.java:1389)
at 
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$RelationshipEventConsumerImpl.createRelationship(NeoStoreXaConnection.java:256)
at 
org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$NioNeoDbResourceConnection.relationshipCreate(NioNeoDbPersistenceSource.java:370)
at 
org.neo4j.kernel.impl.persistence.PersistenceManager.relationshipCreate(PersistenceManager.java:153)
at 
org.neo4j.kernel.impl.core.NodeManager.createRelationship(NodeManager.java:309)
at 
org.neo4j.kernel.impl.core.NodeImpl.createRelationshipTo(NodeImpl.java:387)
at 
org.neo4j.kernel.impl.core.NodeProxy.createRelationshipTo(NodeProxy.java:186)

Did it rings and alert bell!?

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


Re: [Neo4j] Strange graph results

2011-03-10 Thread Massimo Lusetti
On Thu, Mar 10, 2011 at 3:55 PM, Massimo Lusetti  wrote:

> Hi all,
>  I'm still new to neo4j but I feel I get more used to it and I like
> that feeling, anyway I'm getting strange results, at least they seems
> strange to me but I bet they've a pretty easy explanation.

As it seems totally my faults, sorry for the noise.

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


[Neo4j] Add to Index REST API Question

2011-03-10 Thread Kevin Dieter
Hi,

I have a .Net application that makes heavy use of entities (nodes) and
relationships between them.  I am currently using a SQL database to manage
this, but I know it won't scale the way I need it to, so I am looking to
implement Neo4j as a solution.  I am using the server and REST APIs and I've
been able to create nodes, relationships, and properties with no problems.

I have a couple of questions:
1) Since I will keep the SQL database as part of my app to store and manage
other data elements (including some properties associated with the entities
that will be in the neo4j db) is it better to:
 (A) add the neo4j node.Id value to my SQL database to use as a lookup when
getting neo4j nodes, or
 (B) add a property to each node (i.e. an identifier from the SQL db
associated with the entity/node), index it in neo4j, and then
search/retrieve nodes by their property value?

2) My initial answer to question #1 was (B) and I have been trying to figure
out the indexing functionality in neo4j but have hit a wall.  I keep getting
404 errors when attempting to add a node to the index.  I haven't been able
to get the cURL command (
http://components.neo4j.org/neo4j-server/1.3.M02/rest.html#Add_to_index) to
work either.

Am I approaching this wrong?  Any tips from anyone using the indexing REST
API from .Net?

I am running 1.3.M03.

Thanks,

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


[Neo4j] InvalidRecordException

2011-03-10 Thread Axel Morgner
Hi,

I'm getting an InvalidRecordException

org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Node[5] is 
neither firstNode[37781] nor secondNode[37782] for Relationship[188125]
 at 
org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getMoreRelationships(ReadTransaction.java:131)
 at 
org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.getMoreRelationships(NioNeoDbPersistenceSource.java:280)
 at 
org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:100)
 at 
org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:585)
 at 
org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
 at 
org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:115)

when iterating through the relationships of a certain node:

 Node node = graphDb.getNodeById(sNode.getId());

 Iterable rels = 
node.getRelationships(relType, dir);

 for (Relationship r : rels) { <- here the expeption 
occurs
 ...
 }

I'm using 1.3.M03.

Seems that the database is in an inconsitant state. Don't know how this 
could happen ...


Greetings

Axel

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


Re: [Neo4j] Connecting 2 separate graphs

2011-03-10 Thread Marko Rodriguez
Hi Hemant,

> I thought Rexter project under tinkerpop would be a good home for things like 
> this since it is using blueprints and any graph engine that supports 
> blueprints should be able to connect with another blueprint enabled graph 
> (both neo4j in my case). Another possibility is if both graphs were indexed 
> for the common node types then they can be referenced independent of the 
> graph they come from. Any other ideas/suggestions/comments?

Rexster allows you to wrap any Blueprints-enabled graph (thus, graph database, 
RDF store) and expose it over HTTP as a RESTful service using Grizzly 
standalone webserver or through Tomcat. Rexster supports any number of graphs 
exposed through the same service. E.g.

http://localhost/graph1/
http://localhost/graph2/

For your problem, you want to expose two different graphs, but I assume you 
want them on different machines. If this is the case, I wouldn't worry so much 
about which web wrapper to use as to your data architecture.

Your model seems to fall into place with the Web of Data (Linked Data) 
paradigm. http://linkeddata.org/ ... With this model, you connect isolated 
graphs by using an URI scheme for the unique identifiers of your elements. 
Thus, the ids of your vertices denotes their physical location. As such, you 
can merge two graphs (and traverse over two graphs) where the only overlap of 
data is the point of merger.

Graph1 machine:  http://localhost/graph1/vertex/1 --- knows ---> 
http://removehost/graph2/vertex/2
Graph2 machine:  http://removehost/graph2/vertex/2 --- worksFor --> 
http://remotehost/graph2/vertex/3

So forth and so on. There is much on the Web of Data so you could steal some 
design choices from them. Here is a short paper that is relatively easy to 
consume and explains the basics of the Web of Data architecture:

http://arxiv.org/abs/0908.0373

If you find your mind attracted to this idea, then you might want to move more 
into RDF as you can use Blueprints Sail [ 
https://github.com/tinkerpop/blueprints/wiki/Sail-Ouplementation ] and Gremlin 
to do stuff like this:

https://github.com/tinkerpop/gremlin/wiki/LinkedData-Sail

Thus, search your Web of Data as if its a single repository --- a single graph.

Finally, the reason I say RDF is because you may find it cumbersome to deal 
with indices in graph databases using this distributed data model. In RDF, 
there is no such thing as an index as everything is directly addressable by its 
URI (even literals). In the end, its up to you... feel free to ask more 
questions.

Good luck,
Marko.

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


Re: [Neo4j] shortestPath exception

2011-03-10 Thread Mattias Persson
Me and Cesar have been communicating offline because transferring of files
can be troublesome on the list. This error was producable with both 1.2 and
latest 1.3 SNAPSHOT builds. But Cesar was kind enough to send me his data
set and I was able to reproduce it, I've created a fix for it (just a minor
bug in the construction of the paths from the result set).

So this problem is fixed in the latest snapshot, but unfortunately couldn't
make it into the M04 milestone (released today or tomorrow). Are you OK with
trying out the 1.3 SNAPSHOT version for this? (should be available within an
hour or two).


Best,
Mattias

2011/3/9 Mattias Persson 

> Hi,
>
> this seems to be a bug. Which version are you running? Also I'd love
> to get access to your data set so that I could trigger it locally and
> fix the bug... Would that be possible?
>
> Best,
> Mattias
>
> P.S. If sending the data then please mail me directly because
> attachments won't get through the list. D.S
>
> Den onsdagen den 9:e mars 2011 skrev Arze, Cesar:
> > Hi all,
> >
> > Pretty new to neo4j and am playing around with it to store some ontology
> data. So far my experience has been pretty good but I am running into an odd
> issue when trying to get the shortest path between two nodes using the REST
> API. The command I am using is the following:
> >
> >  curl -H Accept:application/json -H Content-Type:application/json -X POST
> http://localhost:7474/db/data/node/7212/paths -d '{"to":"
> http://localhost:7474/db/data/node/2499","relationships": {"type": "is_a",
> "direction": "in"}, "algorithm": "shortestPath", "max depth": 5}'
> >
> > Which fails and prints out the following exception:
> >
> > 
> > 
> > 
> > Error 500 Node[7025] not connected to this
> relationship[552]
> > 
> > HTTP ERROR 500
> > Problem accessing /db/data/node/7212/paths. Reason:
> > Node[7025] not connected to this
> relationship[552]Caused
> by:org.neo4j.graphdb.NotFoundException: Node[7025] not connected
> to this relationship[552]
> > at
> org.neo4j.kernel.impl.core.RelationshipImpl.getOtherNode(RelationshipImpl.java:107)
> > at
> org.neo4j.kernel.impl.core.RelationshipProxy.getOtherNode(RelationshipProxy.java:61)
> > at
> org.neo4j.graphalgo.impl.util.PathImpl$1$1.next(PathImpl.java:194)
> > at
> org.neo4j.graphalgo.impl.util.PathImpl$1$1.next(PathImpl.java:207)
> > at
> org.neo4j.helpers.collection.IteratorWrapper.next(IteratorWrapper.java:48)
> > at
> org.neo4j.server.rest.repr.ListRepresentation.serialize(ListRepresentation.java:59)
> > at
> org.neo4j.server.rest.repr.Serializer.serialize(Serializer.java:74)
> > at
> org.neo4j.server.rest.repr.MappingSerializer.putList(MappingSerializer.java:62)
> > at
> org.neo4j.server.rest.repr.ListRepresentation.putTo(ListRepresentation.java:74)
> > at
> org.neo4j.server.rest.repr.ObjectRepresentation$PropertyGetter.putTo(ObjectRepresentation.java:136)
> > at
> org.neo4j.server.rest.repr.ObjectRepresentation.serialize(ObjectRepresentation.java:147)
> > at
> org.neo4j.server.rest.repr.Serializer.serialize(Serializer.java:41)
> > at
> org.neo4j.server.rest.repr.ListSerializer.addMapping(ListSerializer.java:57)
> > at
> org.neo4j.server.rest.repr.MappingRepresentation.addTo(MappingRepresentation.java:53)
> > at
> org.neo4j.server.rest.repr.ListRepresentation.serialize(ListRepresentation.java:61)
> > at
> org.neo4j.server.rest.repr.ListRepresentation.serialize(ListRepresentation.java:52)
> > at
> org.neo4j.server.rest.repr.OutputFormat.format(OutputFormat.java:119)
> > at
> org.neo4j.server.rest.repr.OutputFormat.response(OutputFormat.java:99)
> > at
> org.neo4j.server.rest.repr.OutputFormat.ok(OutputFormat.java:49)
> > at
> org.neo4j.server.rest.web.RestfulGraphDatabase.allPaths(RestfulGraphDatabase.java:718)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:187)
> > at
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.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)
>

[Neo4j] Strange graph results

2011-03-10 Thread Massimo Lusetti
Hi all,
  I'm still new to neo4j but I feel I get more used to it and I like
that feeling, anyway I'm getting strange results, at least they seems
strange to me but I bet they've a pretty easy explanation.

The nice pictures below (thanks Andreas neoclipse rocks!) show what I
got in a part of my db:
http://dl.dropbox.com/u/22802242/nodes.png

Personal informations has been obfuscated to not irritate anyone but
you can see the yellow node is an operator who has "enabled" a user
and assigned a password to another one, the two obfuscated grey boxes.

As you can see the two operations has been produced from the same IP
(172.18.1.34) and on the same day (129582360 which is 24/Jan/2011)

The operator is also a user so he has relation with userFactory.

What doesn't convince me are the two IP nodes, I (don't know why)
expected to see a single IP node with more then one relation, one for
PASSWORD_ASSIGNED_FROM and one for HAS_ENABLED_FROM

For the sake of completeness I index every single IP, uid, network,
etc... and check for presence before creating a new Node.

Any clue is really appreciated!
-- 
Massimo
http://meridio.blogspot.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Issue with lucene index

2011-03-10 Thread Mattias Persson
2011/3/10 Massimo Lusetti 

> On Wed, Mar 9, 2011 at 8:24 PM, Mattias Persson
>  wrote:
>
> > Correct, and go with the M03 milestone first because M04 will
> > introduce changes which requires an upgrade from a cleanly shut down
> > database.
>
> Not so gentle from yours to force an upgrade from M03 to M04 sir...
> ;-) did it will take a long on a 20G db?
>

It will leave the store virtually untouched, mostly do sanity checks. So it
will not take more than a few seconds at the most, irregardless of store
size. What you benefit from it is that you can put several times more data
in it. I think it's a fair trade :)

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



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] java application server or neo4j server?

2011-03-10 Thread Jim Webber
Hi Matěj,

That's absolutely correct.

Jim

On 10 Mar 2011, at 13:08, Matěj Plch wrote:

> Thank you for your answer. So Neo4j server serves mainly for remote
> access to neo4j database but you don't recommend me to use it like
> application server, right? And plugins are just for extension
> funcionality of neo4j server's REST API.
> 
> Dne 10.3.2011 13:38, Jim Webber napsal(a):
>> Hi Matěj,
>> 
>> Neo4j has traditionally been an embedded database, so if you just want to 
>> host it in an existing application (e.g. in a Web app you already run on an 
>> app server) then that's probably a good choice.
>> 
>> If you need to host the database elsewhere on the network (or you're not 
>> running on the JVM) then Neo4j server supports a REST interface through 
>> which you can interact with the database.
>> 
>> From your email, it sounds like the embedded database might be best for you.
>> 
>> Jim
>> ___
>> 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] java application server or neo4j server?

2011-03-10 Thread Peter Neubauer
Matej,
if you want to just write a Gephi file to the file system, you could
do that with a simple plugin that you can trigger. Serving it as a
custom XML format would require unmanaged RAXRS extensions, which are
a bit more intrusive. Not sure what is best for your case here if you
want to run the server ...

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



2011/3/10 Matěj Plch :
> Thank you for your answer. So Neo4j server serves mainly for remote
> access to neo4j database but you don't recommend me to use it like
> application server, right? And plugins are just for extension
> funcionality of neo4j server's REST API.
>
> Dne 10.3.2011 13:38, Jim Webber napsal(a):
>> Hi Matěj,
>>
>> Neo4j has traditionally been an embedded database, so if you just want to 
>> host it in an existing application (e.g. in a Web app you already run on an 
>> app server) then that's probably a good choice.
>>
>> If you need to host the database elsewhere on the network (or you're not 
>> running on the JVM) then Neo4j server supports a REST interface through 
>> which you can interact with the database.
>>
>>  From your email, it sounds like the embedded database might be best for you.
>>
>> Jim
>> ___
>> 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] java application server or neo4j server?

2011-03-10 Thread Matěj Plch
Thank you for your answer. So Neo4j server serves mainly for remote
access to neo4j database but you don't recommend me to use it like
application server, right? And plugins are just for extension
funcionality of neo4j server's REST API.

Dne 10.3.2011 13:38, Jim Webber napsal(a):
> Hi Matěj,
>
> Neo4j has traditionally been an embedded database, so if you just want to 
> host it in an existing application (e.g. in a Web app you already run on an 
> app server) then that's probably a good choice.
>
> If you need to host the database elsewhere on the network (or you're not 
> running on the JVM) then Neo4j server supports a REST interface through which 
> you can interact with the database.
>
>  From your email, it sounds like the embedded database might be best for you.
>
> Jim
> ___
> 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] Unmanaged Extensions

2011-03-10 Thread francoisk6
I think the problem was in the "" when removed i got this:

Command:
$ curl -v http://localhost:7474/custom/helloworld/5

Output:
Problem accessing /custom/helloworld/5. Reason:
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance
does not contain any root resource classes. Caused
by:javax.servlet.UnavailableException:
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance
does not contain any root resource classes

neo4j-server.properties:
#Comma separated list of JAXRS classes, one package name for each mount
point.
org.neo4j.server.thirdparty_jaxrs_classes=org.mediasharks.unmanaged=/custom


-
Regards,
Francois Kassis.
--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Unmanaged-Extensions-tp2660066p2660279.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] Issue with lucene index

2011-03-10 Thread Massimo Lusetti
On Wed, Mar 9, 2011 at 8:24 PM, Mattias Persson
 wrote:

> Correct, and go with the M03 milestone first because M04 will
> introduce changes which requires an upgrade from a cleanly shut down
> database.

Not so gentle from yours to force an upgrade from M03 to M04 sir...
;-) did it will take a long on a 20G db?

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


Re: [Neo4j] Unmanaged Extensions

2011-03-10 Thread Jim Webber
Hi Francois,

Try:

org.neo4j.server.thirdparty_jaxrs_classes=org.mediasharks.unmanaged=/custom

And make sure your classes are on the classpath (perhaps in the plugins 
directory).

Jim

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


Re: [Neo4j] Unmanaged Extensions

2011-03-10 Thread francoisk6
Hi Jim,

thx for the reply.

it is set like this:

org.neo4j.server.thirdparty_jaxrs_classes=org.mediasharks.unmanaged="/custom"

where org.mediasharks.unmanaged is the package name.

-
Regards,
Francois Kassis.
--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Unmanaged-Extensions-tp2660066p2660246.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] java application server or neo4j server?

2011-03-10 Thread Jim Webber
Hi Matěj,

Neo4j has traditionally been an embedded database, so if you just want to host 
it in an existing application (e.g. in a Web app you already run on an app 
server) then that's probably a good choice.

If you need to host the database elsewhere on the network (or you're not 
running on the JVM) then Neo4j server supports a REST interface through which 
you can interact with the database.

From your email, it sounds like the embedded database might be best for you.

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


Re: [Neo4j] Unmanaged Extensions

2011-03-10 Thread Jim Webber
Hi Francois,

Can you send your neo4j-server.properties file?

It needs to have something like this, with your JAX-RS package and your path 
included:

org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged

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


[Neo4j] java application server or neo4j server?

2011-03-10 Thread Matěj Plch
Hi!
I'm new in neo4j (and also NonSQL databases). We are developing
application which will fetch some information periodically, save it in
nodes and edges in neo4j database and then import it to GEXF format to
use our data in Gephi.
My question is if it's possible to write this application like plugin
(write another services) for Neo4j server or better approach is to run
it on some application server.
I'm probably little bit confused about for what is Neo4j server
determined and what all it's possible to do.
Thank you for your answers
Matej Plch.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Unmanaged Extensions

2011-03-10 Thread francoisk6
Hi All,

i was trying to deploy the unmanaged example and always i got "Not Found"
error.

neo4j.log:
DEBUG WrapperSimpleAppMain
org.apache.commons.configuration.ConfigurationUtils -
ConfigurationUtils.locate(): base is
/home/francois/Applications/neo4j-1.2/conf, name is neo4j-server.properties
DEBUG WrapperSimpleAppMain
org.apache.commons.configuration.ConfigurationUtils - Loading configuration
from the path
/home/francois/Applications/neo4j-1.2/conf/neo4j-server.properties
WARN WrapperSimpleAppMain org.neo4j.server.configuration.Configurator - The
specified file for database performance tuning properties [neo4j.properties]
does not exist.
INFO WrapperSimpleAppMain org.neo4j.server.database.Database - Creating
database at /home/francois/neo4j/neo4j-database/neoentitydb
WARN WrapperSimpleAppMain org.neo4j.server.database.Database - No database
tuning properties set in the property file, using defaults. Please specify
the performance properties file with org.neo4j.server.db.tuning.properties
in the server properties file [conf/neo4j-server.properties].
INFO WrapperSimpleAppMain org.neo4j.server.NeoServer - Starting Neo Server
on port [7474]
INFO WrapperSimpleAppMain org.neo4j.server.NeoServer - Mounting webadmin at
[webadmin-html]
INFO WrapperSimpleAppMain org.neo4j.server.NeoServer - Mounting management
API at [http://localhost:7474/db/manage/]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Adding
JAXRS package [org.neo4j.server.webadmin.rest] at [/db/manage]
INFO WrapperSimpleAppMain org.neo4j.server.NeoServer - Mounting REST API at
[http://localhost:7474/db/data/]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Adding
JAXRS package [org.neo4j.server.rest.web] at [/db/data]
INFO WrapperSimpleAppMain org.neo4j.server.NeoServer - Mounting third-party
JAX-RS package [org.mediasharks.unmanaged] at ["/custom"]
DEBUG WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Unable to
translate ["/custom"] to a relative URI in ensureRelativeUri(String
mountPoint)
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Adding
JAXRS package [org.mediasharks.unmanaged] at ["/custom"]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Adding
Redirector at [/]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
static content at [/webadmin] from [webadmin-html]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Found
[jar:file:/home/francois/Applications/neo4j-1.2/system/lib/neo4j-server-0.5-1.2-static-web.jar!/webadmin-html]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
static content from
[jar:file:/home/francois/Applications/neo4j-1.2/system/lib/neo4j-server-0.5-1.2-static-web.jar!/webadmin-html]
at [/webadmin]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
servlet at [/db/manage]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
servlet at [/db/data]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
servlet at [/]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
servlet at ["/custom"]

wrapper.log:
INFO   | jvm 1| 2011/03/10 12:00:15 | Mar 10, 2011 12:00:15 PM
com.sun.jersey.api.core.PackagesResourceConfig init
INFO   | jvm 1| 2011/03/10 12:00:15 | INFO: Scanning for root resource
and provider classes in the packages:
INFO   | jvm 1| 2011/03/10 12:00:15 |   org.mediasharks.unmanaged
INFO   | jvm 1| 2011/03/10 12:00:15 | Mar 10, 2011 12:00:15 PM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO   | jvm 1| 2011/03/10 12:00:15 | INFO: Initiating Jersey
application, version 'Jersey: 1.4 09/11/2010 10:30 PM'
INFO   | jvm 1| 2011/03/10 12:00:15 | Mar 10, 2011 12:00:15 PM
com.sun.jersey.server.impl.application.RootResourceUriRules 
INFO   | jvm 1| 2011/03/10 12:00:15 | SEVERE: The ResourceConfig
instance does not contain any root resource classes.
INFO   | jvm 1| 2011/03/10 12:00:15 | ["/custom"] : unavailable
INFO   | jvm 1| 2011/03/10 12:00:15 |
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance
does not contain any root resource classes.
INFO   | jvm 1| 2011/03/10 12:00:15 |   at
com.sun.jersey.server.impl.application.RootResourceUriRules.(RootResourceUriRules.java:103)
INFO   | jvm 1| 2011/03/10 12:00:15 |   at
com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1182)
INFO   | jvm 1| 2011/03/10 12:00:15 |   at
com.sun.jersey.server.impl.application.WebApplicationImpl.access$600(WebApplicationImpl.java:161)
INFO   | jvm 1| 2011/03/10 12:00:15 |   at
com.sun.jersey.server.impl.application.WebApplicationImpl$12.f(WebApplicationImpl.java:698)
INFO   | jvm 1| 2011/03/10 12:00:15 |   at
com.sun.jersey.server.impl.application.WebApplicationImpl$12.f(WebApplicationImpl.java:695)
INFO   | jvm 1| 2011/03/10 12:00:15 |   at
com.sun.jerse

Re: [Neo4j] doInternalRecovery takes a long time

2011-03-10 Thread Mattias Persson
Updated it now. Thanks for the heads up.

2011/3/10 Samuel Feng 

> Thanks Tobias,
>
> I will try to upgrade my workspace to jdk1.6.
>
> http://wiki.neo4j.org/content/Java_Setup_HowTo
>
> Just a remind, I think u should arrange to change the jdk requirments in
> this page.
>
> 2011/3/10 Tobias Ivarsson 
>
> > J2SE 5.0 reached its End of Service Life (EOSL) on November 3, 2009,
> which
> > is the date of the final publicly available update of version 5.0 (J2SE
> 5.0
> > Update 22).
> >
> > See:
> >
> >
> http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html
> >
> > We have decided to not support a JDK that is no longer supported by the
> JDK
> > vendor.
> >
> > Compiling our code with the class file version set to 1.6 is our way to
> > *strongly* urge you to move to JDK 1.6, which in every way is a better
> JDK.
> >
> > If you for some reason still need to use JDK 1.5, you could build your
> own,
> > unsupported, Neo4j version.
> > It should be possible to compile Neo4j using JDK 1.6 but setting the
> target
> > version to 1.5. Most of the strict 1.6 dependencies are compile-time
> only.
> > There might be a few runtime dependencies on 1.5, but those are probably
> > limited to java.util.Deque and java.util.concurrent.TimeUnit.
> >
> > Your other option is to get a payed JDK 1.5 support contract for Neo4j
> from
> > Neo Technology.
> >
> > Cheers,
> > Tobias
> >
> > On Thu, Mar 10, 2011 at 8:54 AM, Samuel Feng  wrote:
> >
> > > David,
> > >
> > > I am using jdk1.5.
> > >
> > > After upgraded to 1.3M03, I Encountered* *
> > > *java.lang.UnsupportedClassVersionError: Bad version number in .class
> > file*
> > > Error.
> > >
> > > Seems the jars in neo4j's lib folder are complied using jdk6.
> > >
> > > Can I use 1.5 to compiled the sources directly?
> > >
> > >
> > > 2011/3/10 Samuel Feng 
> > >
> > > > Thanks David.
> > > >
> > > > My concern is if the neo4j data in 1.2 can be used in 1.3 directly?
> > > >
> > > > I have used custom analyzer in my index.
> > > >
> > > > 2011/3/10 David Montag 
> > > >
> > > > Samuel,
> > > >>
> > > >> Can you try it with 1.3.M03, if possible?
> > > >>
> > > >> Thanks,
> > > >> David
> > > >>
> > > >> On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng 
> > wrote:
> > > >>
> > > >>> Dear list,
> > > >>>
> > > >>> I am developing a tomcat application in eclipse which has about
> > 100,000
> > > >>> nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)
> > > >>>
> > > >>> Sometimes I took me a long time(more than half an hour) to
> > > >>> doInternalRecovery, maybe because I shutdown the tomcat server
> > > directly.
> > > >>>
> > > >>> From the messages.log, I can find many many "Injected two phase
> > > commit",
> > > >>> *Can
> > > >>> u tell me what cause this and how to prevent it?*
> > > >>>
> > > >>> Thu Mar 10 09:47:47 CST 2011: Opened
> > > >>> [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
> > > >>> version=1
> > > >>> Thu Mar 10 09:47:47 CST 2011: Opened
> > > >>> [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log,
> > > >>> version=0
> > > >>> Thu Mar 10 09:47:47 CST 2011: Opened
> > > >>> [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean
> empty
> > > log,
> > > >>> version=0
> > > >>> Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
> > > >>> [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
> > > >>> Thu Mar 10 09:47:47 CST 2011:
> > > >>> [C:\home\heartwater\graph\index/lucene.log.1]
> > > >>> logVersion=0 with committed tx=1
> > > >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
> > > >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
> > > >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
> > > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
> > > >>> Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
> > > >>> Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
> > > >>> ___
> > > >>> Neo4j mailing list
> > > >>> User@lists.neo4j.org
> > > >>> https://lists.neo4j.org/mailman/listinfo/user
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> David Montag
> > > >> Neo Technology, www.neotechnology.com
> > > >> Cell: 650.556.4411
> > > >> david.mon...@neotechnology.com
> > > >>
> > > >
> > > >
> > > ___
> > > Neo4j mailing list
> > > User@lists.neo4j.org
> > >

Re: [Neo4j] doInternalRecovery takes a long time

2011-03-10 Thread Samuel Feng
Thanks Tobias,

I will try to upgrade my workspace to jdk1.6.

http://wiki.neo4j.org/content/Java_Setup_HowTo

Just a remind, I think u should arrange to change the jdk requirments in
this page.

2011/3/10 Tobias Ivarsson 

> J2SE 5.0 reached its End of Service Life (EOSL) on November 3, 2009, which
> is the date of the final publicly available update of version 5.0 (J2SE 5.0
> Update 22).
>
> See:
>
> http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html
>
> We have decided to not support a JDK that is no longer supported by the JDK
> vendor.
>
> Compiling our code with the class file version set to 1.6 is our way to
> *strongly* urge you to move to JDK 1.6, which in every way is a better JDK.
>
> If you for some reason still need to use JDK 1.5, you could build your own,
> unsupported, Neo4j version.
> It should be possible to compile Neo4j using JDK 1.6 but setting the target
> version to 1.5. Most of the strict 1.6 dependencies are compile-time only.
> There might be a few runtime dependencies on 1.5, but those are probably
> limited to java.util.Deque and java.util.concurrent.TimeUnit.
>
> Your other option is to get a payed JDK 1.5 support contract for Neo4j from
> Neo Technology.
>
> Cheers,
> Tobias
>
> On Thu, Mar 10, 2011 at 8:54 AM, Samuel Feng  wrote:
>
> > David,
> >
> > I am using jdk1.5.
> >
> > After upgraded to 1.3M03, I Encountered* *
> > *java.lang.UnsupportedClassVersionError: Bad version number in .class
> file*
> > Error.
> >
> > Seems the jars in neo4j's lib folder are complied using jdk6.
> >
> > Can I use 1.5 to compiled the sources directly?
> >
> >
> > 2011/3/10 Samuel Feng 
> >
> > > Thanks David.
> > >
> > > My concern is if the neo4j data in 1.2 can be used in 1.3 directly?
> > >
> > > I have used custom analyzer in my index.
> > >
> > > 2011/3/10 David Montag 
> > >
> > > Samuel,
> > >>
> > >> Can you try it with 1.3.M03, if possible?
> > >>
> > >> Thanks,
> > >> David
> > >>
> > >> On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng 
> wrote:
> > >>
> > >>> Dear list,
> > >>>
> > >>> I am developing a tomcat application in eclipse which has about
> 100,000
> > >>> nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)
> > >>>
> > >>> Sometimes I took me a long time(more than half an hour) to
> > >>> doInternalRecovery, maybe because I shutdown the tomcat server
> > directly.
> > >>>
> > >>> From the messages.log, I can find many many "Injected two phase
> > commit",
> > >>> *Can
> > >>> u tell me what cause this and how to prevent it?*
> > >>>
> > >>> Thu Mar 10 09:47:47 CST 2011: Opened
> > >>> [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
> > >>> version=1
> > >>> Thu Mar 10 09:47:47 CST 2011: Opened
> > >>> [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log,
> > >>> version=0
> > >>> Thu Mar 10 09:47:47 CST 2011: Opened
> > >>> [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty
> > log,
> > >>> version=0
> > >>> Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
> > >>> [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
> > >>> Thu Mar 10 09:47:47 CST 2011:
> > >>> [C:\home\heartwater\graph\index/lucene.log.1]
> > >>> logVersion=0 with committed tx=1
> > >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
> > >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
> > >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
> > >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
> > >>> Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
> > >>> Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
> > >>> ___
> > >>> Neo4j mailing list
> > >>> User@lists.neo4j.org
> > >>> https://lists.neo4j.org/mailman/listinfo/user
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> David Montag
> > >> Neo Technology, www.neotechnology.com
> > >> Cell: 650.556.4411
> > >> david.mon...@neotechnology.com
> > >>
> > >
> > >
> > ___
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Tobias Ivarsson 
> Hacker, Neo Technology
> www.neotechnology.com
> Cellphone: +46 706 534857
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j

Re: [Neo4j] doInternalRecovery takes a long time

2011-03-10 Thread Tobias Ivarsson
J2SE 5.0 reached its End of Service Life (EOSL) on November 3, 2009, which
is the date of the final publicly available update of version 5.0 (J2SE 5.0
Update 22).

See:
http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html

We have decided to not support a JDK that is no longer supported by the JDK
vendor.

Compiling our code with the class file version set to 1.6 is our way to
*strongly* urge you to move to JDK 1.6, which in every way is a better JDK.

If you for some reason still need to use JDK 1.5, you could build your own,
unsupported, Neo4j version.
It should be possible to compile Neo4j using JDK 1.6 but setting the target
version to 1.5. Most of the strict 1.6 dependencies are compile-time only.
There might be a few runtime dependencies on 1.5, but those are probably
limited to java.util.Deque and java.util.concurrent.TimeUnit.

Your other option is to get a payed JDK 1.5 support contract for Neo4j from
Neo Technology.

Cheers,
Tobias

On Thu, Mar 10, 2011 at 8:54 AM, Samuel Feng  wrote:

> David,
>
> I am using jdk1.5.
>
> After upgraded to 1.3M03, I Encountered* *
> *java.lang.UnsupportedClassVersionError: Bad version number in .class file*
> Error.
>
> Seems the jars in neo4j's lib folder are complied using jdk6.
>
> Can I use 1.5 to compiled the sources directly?
>
>
> 2011/3/10 Samuel Feng 
>
> > Thanks David.
> >
> > My concern is if the neo4j data in 1.2 can be used in 1.3 directly?
> >
> > I have used custom analyzer in my index.
> >
> > 2011/3/10 David Montag 
> >
> > Samuel,
> >>
> >> Can you try it with 1.3.M03, if possible?
> >>
> >> Thanks,
> >> David
> >>
> >> On Wed, Mar 9, 2011 at 6:13 PM, Samuel Feng  wrote:
> >>
> >>> Dear list,
> >>>
> >>> I am developing a tomcat application in eclipse which has about 100,000
> >>> nodes using EmbeddedGraphDatabase (Neo4j version 1.2M05)
> >>>
> >>> Sometimes I took me a long time(more than half an hour) to
> >>> doInternalRecovery, maybe because I shutdown the tomcat server
> directly.
> >>>
> >>> From the messages.log, I can find many many "Injected two phase
> commit",
> >>> *Can
> >>> u tell me what cause this and how to prevent it?*
> >>>
> >>> Thu Mar 10 09:47:47 CST 2011: Opened
> >>> [C:\home\heartwater\graph\\nioneo_logical.log.1] clean empty log,
> >>> version=1
> >>> Thu Mar 10 09:47:47 CST 2011: Opened
> >>> [C:\home\heartwater\graph\/lucene/lucene.log.1] clean empty log,
> >>> version=0
> >>> Thu Mar 10 09:47:47 CST 2011: Opened
> >>> [C:\home\heartwater\graph\/lucene-fulltext/lucene.log.1] clean empty
> log,
> >>> version=0
> >>> Thu Mar 10 09:47:47 CST 2011: Non clean shutdown detected on log
> >>> [C:\home\heartwater\graph\index/lucene.log.1]. Recovery started ...
> >>> Thu Mar 10 09:47:47 CST 2011:
> >>> [C:\home\heartwater\graph\index/lucene.log.1]
> >>> logVersion=0 with committed tx=1
> >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=2
> >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=3
> >>> Thu Mar 10 09:47:48 CST 2011: Injected two phase commit, txId=4
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=5
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=6
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=7
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=8
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=9
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=10
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=11
> >>> Thu Mar 10 09:47:49 CST 2011: Injected two phase commit, txId=12
> >>> Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=13
> >>> Thu Mar 10 09:47:50 CST 2011: Injected two phase commit, txId=14
> >>> ___
> >>> Neo4j mailing list
> >>> User@lists.neo4j.org
> >>> https://lists.neo4j.org/mailman/listinfo/user
> >>>
> >>
> >>
> >>
> >> --
> >> David Montag
> >> Neo Technology, www.neotechnology.com
> >> Cell: 650.556.4411
> >> david.mon...@neotechnology.com
> >>
> >
> >
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Tobias Ivarsson 
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Using Data tab of Web-Admin to Delete Relationships

2011-03-10 Thread Jacob Hansson
Hey Neal,

I just looked into this, and you are absolutely right. The data browser uses
an older method of removing relationships that is no longer supported by the
underlying javascript neo4j client we use, and there was no test in place to
ensure this feature works.

I've fixed this, and written a test to make sure it doesn't happen again.
I'll push this in to be available in the 1.3 M04 release that will be
released later today. Thank you for bringing it to my attention!

/Jacob

On Thu, Mar 10, 2011 at 5:57 AM, Neal Walters
wrote:

> I'm using the the Data tab of the Web-Admin (V1.3.M03) to model my data
> structure and learn Neo4j.
> I accidentally created a wrong relationship.  I've selected that
> relationship (from both the parent side and child side/direction), and
> tried
> to remove it.
> No error appears, but it doesn't seem to remove it.  (I press the back key
> and refresh, and it's still there.)
> Is there something I'm missing?
>
> Thanks,
> Neal Walters
> ___
> 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


Re: [Neo4j] Nice change from all this Java

2011-03-10 Thread Craig Taverner
Cool syntax. I love that he has not skimped on docs.

But isn't the EPL going to be a problem here? (a'la EPL/GPL clash)

On Wed, Mar 9, 2011 at 10:38 PM, Andres Taylor <
andres.tay...@neotechnology.com> wrote:

> Hey all,
>
> Wanted to share something I just found on reddit.
>
> https://github.com/wagjo/borneo
>
> After being force fed all this Java, a bit of Clojure was very welcome.
> Looks really nice too.
>
> Andrés
> ___
> 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