Re: [Neo4j] https://m2.neo4j.org seems to be down

2020-05-25 Thread 'Lasse Westh-Nielsen' via Neo4j
Hey Paulo, It was me who shut m2.neo4j.org down recently. We were no longer using it ourselves and thought it was safe to shut down, because we thought it was just a mirror for Maven Central. It _used to_ host snapshot artifacts for us, but we no longer produce those. Anyway to solve the problem:

Re: [Neo4j] https://m2.neo4j.org seems to be down

2018-08-18 Thread 'Lasse Westh-Nielsen' via Neo4j
Hey Goutam, Please don't use m2.neo4j.org for getting things like Jetty. Those kinds of dependencies are best gotten from Maven Central. In fact there should be precious few dependencies that are unique to m2.neo4j.org (and I can't think of anything that has general interest). Indeed we are acti

Re: [Neo4j] C++ DRIVER

2018-04-12 Thread 'Lasse Westh-Nielsen' via Neo4j
Hey Marwa, Have a look at https://neo4j.com/developer/c/. I know the developer, he is awesome! :) - Lasse Sent from my iPhone > On 12 Apr 2018, at 16.27, Marwa Elabri wrote: > > Hello > Is there a Neo4j driver for c++ language > because I already used a casablanca cpprest to communicate be

Re: [Neo4j] Bugfix: ERROR! Neo4j cannot be started using java version .

2016-01-27 Thread Lasse Westh-Nielsen
default > (when vm.overcommit_memory=2 is active, if you malloc memory, even if you > don't use it, it should be less than the total amount of free RAM + swap). > > I will look at the pull request stuff later. > > Thanks, > Gert > > The patch above just solves the &g

Re: [Neo4j] How to install neo4j on Debian?

2015-08-11 Thread Lasse Westh-Nielsen
Jonathan, did you check out http://debian.neo4j.org/? On Mon, Aug 10, 2015 at 11:27 PM, Jonathan A Rees wrote: > Maybe 'hostname' is not how you set the host name? ... researching ... > > > On Mon, Aug 10, 2015 at 5:17 PM, Jonathan A Rees wrote: > >> I re-ran the exact same experiment, but thi

Re: [Neo4j] Is java 8 getting support after release 2.2.2, Error on bin/utils neo4j script

2015-06-04 Thread Lasse Westh-Nielsen
Hey Aaron, You should ignore that error, it is the script that must be wrong. We extensively test with Java 8 internally, and have seen no issues. But since I tested the script, would you mind telling me what you are seeing exactly? It is _supposed_ to capture `java -version` and detect whether i

Re: [Neo4j] How to have Object-Graph mapping (OGM) as an analogous to Object-Relational mapping (ORM) ?

2015-05-21 Thread Lasse Westh-Nielsen
Gelli, I think http://docs.spring.io/spring-data/neo4j/docs/current/reference/pdf/spring-data-neo4j-reference.pdf is an awesome read - it is documentation for our Spring binding/ OGM, but it discusses many general OGM questions. - Lasse (Disclaimer: I contributed a paragraph to it long ago)

Re: [Neo4j] How to disable basic authentication on Neo4j 2.2.0-RC01?

2015-03-17 Thread Lasse Westh-Nielsen
Hello, http://neo4j.com/docs/2.2.0-RC01/security-server.html#security-server-auth is your friend I think. - Lasse On Tue, Mar 17, 2015 at 11:10 AM, Nhật Quang Phan wrote: > Hi all, > > How can I disable the defaut basic authentication on Neo4j 2.2.0-RC01? > > Thank you! > Quang Phan > > --

Re: [Neo4j] Error in accessing graph.gb of Neo4j using Cypher JDBC

2015-01-20 Thread Lasse Westh-Nielsen
Hey Sukaant, You can't do that, because you really shouldn't do that. Those files are owned by the server process and should not be accessed concurrently with the server, as that might cause all sorts of bad things. What is it you want to do? On Tue, Jan 20, 2015 at 9:25 AM, Sukaant Chaudhar

Re: [Neo4j] Re: How To Set the db path of neo4j to Amazon S3

2015-01-15 Thread Lasse Westh-Nielsen
+1 to what Craig said, but also: http://neo4j.com/developer/guide-cloud-deployment/ On Thu, Jan 15, 2015 at 12:09 PM, Craig Taverner wrote: > I think the idea of running Neo4j on EC2 is the only option. Running it on > a remote S3 store, even if you get it to work somehow, would perform > insane

Re: [Neo4j] Problem with query using transitive closure

2015-01-07 Thread Lasse Westh-Nielsen
Jose, Will this do? http://console.neo4j.org/r/e7iys0 - Lasse On Tue, Jan 6, 2015 at 1:35 PM, josé manuel garcía fernández < josece...@gmail.com> wrote: > Hello, I want to get the number of rounds that a referee referees a match > but i dont know how. I have the next model‏ > > >

Re: [Neo4j] Java 8 and Neo4j

2014-12-27 Thread Lasse Westh-Nielsen
Feng, I want to point out that Java 8 is not officially supported for Neo4j. Regards, Lasse > On 26/12/2014, at 09.46, Feng Shi wrote: > > How to make Neo4j working with Java 8? > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubsc

Re: [Neo4j] Recommended way to install on RHEL 6

2014-12-17 Thread Lasse Westh-Nielsen
Ken, We have http://yum.neo4j.org/ you could try. Mind the caveats. Feedback welcome! And the package installs Neo4j as a service btw, it is just that we much prefer you use a package over installing the service manually or with the deprecated scripts. We keep that as a last resort. - Lasse

Re: [Neo4j] Neo4J JDBC and HAProxy load balancer

2014-11-28 Thread Lasse Westh-Nielsen
Hello, I think that is a fine solution you are proposing; it is similar to what I wrote up in the manual here: http://neo4j.com/docs/stable/ha-haproxy.html#_optimizing_for_reads_and_writes Why do you think it is a bad idea? - Lasse On Fri, Nov 28, 2014 at 12:00 PM, FakeGenius wrote: > Hi,

Re: [Neo4j] Bugfix: ERROR! Neo4j cannot be started using java version .

2014-10-30 Thread Lasse Westh-Nielsen
Gert, We have functionality in place for you to manage memory using Neo4j configs. Look for neo4j-wrapper.conf in $NEO4J_HOME/conf. The configuration in there is used here: https://github.com/neo4j/neo4j/blob/master/packaging/standalone/src/main/distribution/shell-scripts/bin/neo4j#L73 As for usi

Re: [Neo4j] Re: Bug? LOAD CSV WITH HEADERS not working when called through REST?

2014-09-19 Thread Lasse Westh-Nielsen
Daniel, Try adding a return statement. The load csv example doesn;t have a return statement. I can;t rule out that the browser tries to be extra user friendly and adds some helpful return statement for you... If you do load csv and then inspect the database with a regular query, do you see the d

Re: [Neo4j] Multiple database, one server

2014-09-12 Thread Lasse Westh-Nielsen
Sarah, Are you building http://www.graphenedb.com/ ? :) It is perfectly possible to manage several neo4j servers on one machine. You would need to configure them to avoid port clashes (more so if you do clustering) and of course give them separate stores. Eventually your database processes will

Re: [Neo4j] An efficient way of finding a unique node with label and property?

2014-08-26 Thread Lasse Westh-Nielsen
Frandro, To ensure there is only one node you should rely on a unique constraint. The api doesn't have a findOnlyOneNodeByLabelAndProperty, so what you are doing is completely necessary. - Lasse > On 27/08/2014, at 01.36, Frandro wrote: > > Let's assume that there's only a node. (params

Re: [Neo4j] Neo4j Server on Cloud with Windows Server.

2014-08-26 Thread Lasse Westh-Nielsen
I'd guess the EC2 instances' public DNS name with a ":7474" on the end would work, no? Have you opened the firewall for port 7474? - Lasse On Tue, Aug 26, 2014 at 1:46 PM, Chien-Thang Pham wrote: > >

Re: [Neo4j] Re: Questions on NEO4J version 2.1.3 for Windows

2014-08-25 Thread Lasse Westh-Nielsen
Rodger, Stuff inline. On Fri, Aug 22, 2014 at 4:52 PM, Rodger wrote: > Ok, When I don't use the parameters, it works. > > C:\neo4j\neo4j-community-2.1.3\neo4j-community-2.1.3\bin> Neo4j.bat > > Opens the java window. > > But no messages at all in the command prompt. > So, I can't tell if it s

Re: [Neo4j] Re: Questions on NEO4J version 2.1.3 for Windows

2014-08-22 Thread Lasse Westh-Nielsen
Rodger, On Thu, Aug 21, 2014 at 3:59 PM, Rodger wrote: > Did 2.1.3 install some funny java JRE or other nonsense that needs to be > deleted now? > Nope, we bundle a JRE but we do not install the JRE, so when you uninstall Neo4j it removes the bundled JRE completely. Re the .zip bindle, for norm

Re: [Neo4j] Re: Questions on NEO4J version 2.1.3 for Windows

2014-08-20 Thread Lasse Westh-Nielsen
Rodger, I get it now: you have installed the "Neo4j Community Installer", which is our new-ish .exe packaged Windows installer with bundled JRE. We think it is more user friendly than the "Neo4j Community Binary", which is just a zip file. Thing is, the .exe installer installs a little gui client

Re: [Neo4j] Re: Questions on NEO4J version 2.1.3 for Windows

2014-08-19 Thread Lasse Westh-Nielsen
Rodger, I am not sure what you did, but when I downloaded the latest Windows .zip of 2.1.3 from neo4j.com I get this: C:\Users\lasse_000\Downloads\neo4j-community-2.1.3-windows\neo4j-community-2.1.3 >dir *.bat /s Volume in drive C has no label. Volume Serial Number is 9C06-68C8 Directory of C

Re: [Neo4j] Why do I get Warning on Mac OSX? - that Unsupported Java Version -- Neo4j 2.1.3 and Java 1.7.0_65 Yet Neo is running?

2014-07-31 Thread Lasse Westh-Nielsen
Philip, What is JAVA_HOME set to in your terminal? The startup script will use that to find it's java executable. Change it to point to your Java 7 home and you should be fine. - Lasse On Thu, Jul 31, 2014 at 3:52 AM, Philip Topham wrote: > I don't understand why I am getting the followi

Re: [Neo4j] NEO4J java libraries

2014-07-25 Thread Lasse Westh-Nielsen
Rodger, Maven is your friend: http://search.maven.org/#search%7Cga%7C1%7Cneo4j But are you sure you wouldn;t rather want just the server product: http://www.neo4j.org/download ? - Lasse On Fri, Jul 25, 2014 at 3:35 AM, Rodger wrote: > Hello, > > > I'm looking at this program here: > http:

Re: [Neo4j] Neo4j Benchmarks

2014-07-24 Thread Lasse Westh-Nielsen
Jer, I recon you can glean a lot off of what these people have already thought about: http://www.ldbc.eu/. Regards, - Lasse On Thu, Jul 24, 2014 at 2:58 PM, jer wrote: > Hi all, > > I would like to measure the Neo4j performance in hardware. Right not I use > the sample data set provided fr

Re: [Neo4j] one transaction that does read & write?

2014-07-03 Thread Lasse Westh-Nielsen
gt; Lots of multi-threads are referencing them. > > 2014년 7월 3일 목요일 오후 8시 16분 43초 UTC+9, Lasse Westh-Nielsen 님의 말: >> >> try (Transaction tx = graphDb.beginTx()) >> { >> boolean result = checkIfKnowsEdgeExists(startNode, endNode)); >> >> if (!result) { >&g

Re: [Neo4j] one transaction that does read & write?

2014-07-03 Thread Lasse Westh-Nielsen
try (Transaction tx = graphDb.beginTx()) { boolean result = checkIfKnowsEdgeExists(startNode, endNode)); if (!result) { makeKnowsEdge(startNode, endNode); tx.success(); } should do it. you can't deadlock against yourself if you only create one transaction ;) - Lasse On Thu, Jul 3, 20

Re: [Neo4j] Deploy a Neo4j project to Windows Server

2014-07-02 Thread Lasse Westh-Nielsen
Mohamed, We have a Windows service you can install: http://docs.neo4j.org/chunked/stable/server-installation.html#_as_a_windows_service That works for any Windows installation, but you would need shell or gui access I suppose, FTP would not be enough. Does that help? - Lasse On Wed, Jul 2,

Re: [Neo4j] Neo4j Node.js what to use for users logging in

2014-06-24 Thread Lasse Westh-Nielsen
In my previous career I worked for a while at a large UK-based media conglomerate, doing some social/ nosql stuff. Noone one my team would have dreamed of using a "proper" database for any of the stuff we did until the subject of authentication came up, and they all started saying things like "well

Re: [Neo4j] How do HA read work?

2014-06-09 Thread Lasse Westh-Nielsen
Hey Eric, The product doesn't have that functionality built in, but we have this: http://docs.neo4j.org/chunked/stable/ha-haproxy.html#_cache_based_sharding_with_haproxy Another recommendation is to direct writes to master and reads to slaves, and we have this: http://docs.neo4j.org/chunked/stabl

[Neo4j] Re: 1.9.7 package in Debian repository

2014-05-23 Thread lasse . westh-nielsen
Right, that is a bit confusing, but 1.9.7 live in the 'oldstable' repo, not the 'stable' one: http://debian.neo4j.org/repo/oldstable/neo4j_1.9.7_all.deb - Lasse On Thursday, May 22, 2014 10:33:47 PM UTC+2, Julien Roubieu wrote: > > Hello guys, > > I'd like to update to version 1.9.7 from the

Re: [Neo4j] Diferent permission to view a database graph

2014-04-10 Thread Lasse Westh-Nielsen
Claudia, http://en.wikipedia.org/wiki/Basic_access_authentication. You must have HTTPS also so as not to send plaintext credentials. - Lasse On Thu, Apr 10, 2014 at 3:03 PM, Claudia Morgado wrote: > Hello, > > Thanks for the feedback. > But as you forcing your requests to have username an

Re: [Neo4j] neo4j backup

2014-04-06 Thread Lasse Westh-Nielsen
Alex, As long as you shut the database down cleanly first, that will work fine. - Lasse > On 06/04/2014, at 15.47, Alex Frieden wrote: > > As a quick and dirty backup, can I just copy the graph.db directory to a > different drive then to restore shut down the database, remove the graph.db

Re: [Neo4j] Installation Issue (on EC2 with neo4j-community-2.0.1)

2014-02-25 Thread Lasse Westh-Nielsen
On Mon, Feb 24, 2014 at 6:09 PM, Eric Bender wrote: > When attempting to hit this same path via a remote browser the page simply > doesn't load and I can not find any indication of that request even > reaching neo4j > Which browser is that? Older browsers on Windows for example have some trouble

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Lasse Westh-Nielsen
Kalidhakani, Your embedded instance will not be allowed to touch the files belonging to those 3 instances that are already running the cluster. Instead, you have to make your embedded instance join the cluster as the 4th member, with it's own copy of the database (e.g. /home/myData4/graph.db ).

Re: [Neo4j] EC2 cluster not doing anything

2013-12-20 Thread Lasse Westh-Nielsen
I trust you have checked the firewall is open on the relevant ports? I'm curious, how does autoscaling work with configuring the cluster, do you have to do that manually somehow (which would kinda defeat the point :))? - Lasse On Thu, Dec 19, 2013 at 9:07 PM, Alex Frieden wrote: > Hi all,

Re: [Neo4j] create unique without matching path

2013-12-19 Thread Lasse Westh-Nielsen
ng a path? it worked with a > path... > > > On Thursday, December 19, 2013 12:10:48 PM UTC+2, Lasse Westh-Nielsen > wrote: > >> Uniqueness only applies to indexes, so you need to tweak that url: >> http://docs.neo4j.org/chunked/stable/rest-api- >> unique-indexes.html#

Re: [Neo4j] create unique without matching path

2013-12-19 Thread Lasse Westh-Nielsen
Uniqueness only applies to indexes, so you need to tweak that url: http://docs.neo4j.org/chunked/stable/rest-api-unique-indexes.html#rest-api-get-or-create-unique-node-create On Thu, Dec 19, 2013 at 11:03 AM, Shahar Taite wrote: > I've tried this as well, > however i don't use an ad hoc REST p

Re: [Neo4j] Is it possible to install Neo4j on FreeBSD VPS?

2013-12-19 Thread Lasse Westh-Nielsen
Nera, The bit about "ERROR! Neo4j cannot be started using java version 1.7.0_25." is misleading, you should disregard that. I recon you are using OpenJDK? We have changed that messaging for the next release. As for the rest: what did you do to end up there? Did you install from the tarball, or us

Re: [Neo4j] Security threat to Neo4j :

2013-12-17 Thread Lasse Westh-Nielsen
On Tue, Dec 17, 2013 at 4:48 PM, Navrattan Yadav < navrattan.craterz...@gmail.com> wrote: > We never expose any database layer directly to any of app but we haven't > done any of the points mentioned below > Navrattan, If you are running Neo4j Server in AWS with neither a VPC or security groups

Re: [Neo4j] Re: How to create new database and use the existing database in neo4j in ubuntu?

2013-12-17 Thread Lasse Westh-Nielsen
> On 17/12/2013, at 17.14, Rio Eduardo wrote: > > the log says: > > [...] Caused by: java.io.FileNotFoundException: > /home/rioeduardo/Downloads/neo4j-community-2.0.0/data/php.graphdb/store_lock > (Permission denied) [...] I think that is your culprit right there. -- You received this me

Re: [Neo4j] Re: How to create new database and use the existing database in neo4j in ubuntu?

2013-12-17 Thread Lasse Westh-Nielsen
> On 17/12/2013, at 16.56, Rio Eduardo wrote: > > [...] it says Neo4j Server may have failed to start, please check the logs > [...] So, what does the log say? :) Start with $NEO4J_HOME/data/log/console.log -- You received this message because you are subscribed to the Google Groups "Neo4j

Re: [Neo4j] Security threat to Neo4j :

2013-12-17 Thread Lasse Westh-Nielsen
n >> though they are open. >> >> According to my minimum knowledge with Neo4j we feel only apache >> instance is running and thats the one thats talking to Neo4j DB. >> >> I am confused about 1 thing though. Is Neo4J server and Neo4j Web Admin >> one and