[Neo4j] Fwd: Sync databases

2011-09-14 Thread Eddy Respondek
I recently posted the following topic on the Gremlin users list and I've
been directed here. Apparently Michael Hunger is the man I want to talk to
:)

It seems there are a few other people interested in finding out my results
as well.


Forwarded conversation
Subject: Sync databases


From: *Eddy Respondek* eddy.respon...@gmail.com
Date: Wed, Sep 14, 2011 at 11:30 AM
To: gremlin-us...@googlegroups.com


This may be a little off topic but maybe someone has done something similar
before.

Basically I have a separate Wordpress site (php/mysql) which I've been
extending significantly and I've setup another server on the same network
for graph db testing (neo4j/tinkerpop/python-bulbs). I'm confident with my
graph setup now and would like to attempt to get something small into
development so I can monitor the results. I want to do a simple like
relationship between users and articles.

That means I need to keep an identical index of user ids and article ids in
the graph db. I know how to update the id's when a new user or article is
created, deleted, etc. What I don't know is the correct way to ensure data
integrity in case something goes wrong like the graph db server crashes,
etc.

Does anyone have any thoughts on the best way to do this?

--
From: *Marko Rodriguez* okramma...@gmail.com
Date: Wed, Sep 14, 2011 at 11:44 AM
To: gremlin-us...@googlegroups.com


Hey Eddy,

Someone might be able to help you here, but the guy who will give you the
two page rattle on such matters is Michael Hunger on the Neo4j users list.
I've read him talking about similar things --- cross db transactions-style
stuff.

You might want to post your thoughts to that list.

Marko.

http://markorodriguez.com

--
From: *James Thornton* james.thorn...@gmail.com
Date: Wed, Sep 14, 2011 at 12:34 PM
To: gremlin-us...@googlegroups.com


Hi Eddy -

You should definitely post this question to the Neo4j list as well because I
would be interested in Michael's ideas on this.

One approach would be to use a message-passing library like ZeroMQ (
http://www.zeromq.org/) to set up a communication channel between PHP and
Python. This will allow you to write to both MySQL and Neo4j when you create
a new user.

ZeroMQ is stupid fast. You can send millions of requests per second (
http://www.zeromq.org/results:10gbe-tests-v031), and it supports pub/sub and
muticast so you can write to multiple devices/programs at once (
http://zguide.zeromq.org/page:all).

Here are the PHP and Python bindings:

* http://www.zeromq.org/bindings:php
* http://www.zeromq.org/bindings:python

JSON is probably the easiest way to serialize data, or you could use a
binary serialization library like MessagePack.

I'm working on creating a batch loader for Bulbs that uses ZeroMQ to send
requests to a Java/Jython server running the Neo4jBatchGraph implementation
Marko just added (
https://groups.google.com/d/topic/gremlin-users/muuylAEZKrQ/discussionZeroMQ)
-- I'll post an example soon.

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


Re: [Neo4j] neo4j.py install problems

2011-08-04 Thread Eddy
It doesn't have to be anything special, something similar to this
http://wsgi.org/wsgi/Middleware_and_Utilities  is enough and if something
hasn't been updated for a long time or a noticeable lack of support then we
can note it down.

Either just update the current wiki page
http://wiki.neo4j.org/content/Python or make it a sub-page of that




On Thu, Aug 4, 2011 at 1:28 PM, Peter Neubauer [via Neo4j Community
Discussions] ml-node+3224575-1279256527-340...@n3.nabble.com wrote:

 Good idea!

 Do you think we should put a section in the manual and list various
 bindings with their maturity, or just have a Wiki-page for that?

 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

 a href=http://www.neo4j.org 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.



 On Wed, Aug 3, 2011 at 9:20 PM, Eddy [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=3224575i=0
 wrote:

  Okay, cheers. I think the guys and girls at Neo4j need to list all these
  tools and their status in the wiki somewhere. I think neo4jrestclient and

  bulbflow are others that can be added.
 
 
  On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
  Discussions] [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=3224575i=1
 wrote:
 
  If you don't need Node Models, I did some work on bindings with
 similar
  syntax to the neo4j.py bindings.
 
  https://github.com/OneSaidWho/neo4py
 
 
  They work with version Neo4j 1.3, using JCC instead of JPype, so should
 be
  somewhat faster than the current bindings.  They might get you by until
  Jacob has some time :)
 
  Aaron
 
 
  On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson [hidden email]
 http://user/SendEmail.jtp?type=nodenode=3223244i=0
  wrote:
 
   Hey Eddy,
  
   sorry about the late reply, I'm on vacation, so I've been checking
 email
   rather sporadically.
  
   I'm not sure exactly what causes your problem, since we seem to have
 lost
 
   the nested exception at some point (presumably a java/jpype/python
  thing),
   but generally, what you are seeing is the under-the-hood database
 saying
  I
   can't create a database at that location. That could be because it
 does
   not
   have write access to the folder you give it, or that the folder does
 not
   exist. It could also be something more complicated, but make sure that

  the
   process this app runs in has write access, and that the folder exists,

   first.
  
   On the subject of the new neo4j.py bindings, I am currently assigned
 to
   them, and will be working on nothing but them until we get a release
 of
   them
   out. I on vacation this week, and will be travelling and moving next
 week
 
   (I
   will try to get some work done though). After the dust settles, I'll
 push
 
   hard to get a new version out.
  
   /Jacob
  
   On Sun, Jul 24, 2011 at 4:05 AM, Eddy [hidden email]
 http://user/SendEmail.jtp?type=nodenode=3223244i=1
  wrote:
  
Anyone?
   
Also whats the current status of neo4j.py? I read somewhere it was
  being
updated some time ago.
   
--
View this message in context:
   
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3194919.html
Sent from the Neo4j Community Discussions mailing list archive at
Nabble.com.
___
Neo4j mailing list
[hidden email] 
 http://user/SendEmail.jtp?type=nodenode=3223244i=2
https://lists.neo4j.org/mailman/listinfo/user
   
  
  
  
   --
   Jacob Hansson
   Phone: +46 (0) 763503395
   Twitter: @jakewins
   ___
   Neo4j mailing list
   [hidden email] http://user/SendEmail.jtp?type=nodenode=3223244i=3

   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo4j mailing list
  [hidden email] http://user/SendEmail.jtp?type=nodenode=3223244i=4
  https://lists.neo4j.org/mailman/listinfo/user
 
 
  --
   If you reply to this email, your message will be added to the
 discussion
  below:
 
 

 
 
 
 
  --
  View this message in context:
 http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3224364.html

  Sent from the Neo4j Community Discussions mailing list archive at
 Nabble.com.
  ___
  Neo4j mailing list
  [hidden email] http://user/SendEmail.jtp?type=nodenode=3224575i=2
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=3224575i=3
 https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] neo4j.py install problems

2011-08-04 Thread Eddy
You need administrator privileges to register someone so you'll have to add
me yourself. You can use my email address as my user name. Or you could open
it up to everyone to get some more community involvement happening.

But be warned I might start fixing a lot in the wiki - it's a bit broken in
a few places!


On Thu, Aug 4, 2011 at 1:41 PM, Peter Neubauer [via Neo4j Community
Discussions] ml-node+3224605-376410116-340...@n3.nabble.com wrote:

 Eddy,
 if it is the wiki, do you mind registering and just add it? You seem
 to have the best overview ...

 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

 a href=http://www.neo4j.org 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.



 On Wed, Aug 3, 2011 at 11:38 PM, Eddy [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=3224605i=0
 wrote:

  It doesn't have to be anything special, something similar to this
  http://wsgi.org/wsgi/Middleware_and_Utilities  is enough and if
 something
  hasn't been updated for a long time or a noticeable lack of support then
 we
  can note it down.
 
  Either just update the current wiki page
  http://wiki.neo4j.org/content/Python or make it a sub-page of that
 
 
 
 
  On Thu, Aug 4, 2011 at 1:28 PM, Peter Neubauer [via Neo4j Community
  Discussions] [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=3224605i=1
 wrote:
 
  Good idea!
 
  Do you think we should put a section in the manual and list various
  bindings with their maturity, or just have a Wiki-page for that?
 
  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
 
  a href=http://www.neo4j.org 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.

 
 
 
  On Wed, Aug 3, 2011 at 9:20 PM, Eddy [hidden email]
 http://user/SendEmail.jtp?type=nodenode=3224575i=0
  wrote:
 
   Okay, cheers. I think the guys and girls at Neo4j need to list all
 these
   tools and their status in the wiki somewhere. I think neo4jrestclient
 and
 
   bulbflow are others that can be added.
  
  
   On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
   Discussions] [hidden email]
 http://user/SendEmail.jtp?type=nodenode=3224575i=1
  wrote:
  
   If you don't need Node Models, I did some work on bindings with
  similar
   syntax to the neo4j.py bindings.
  
   https://github.com/OneSaidWho/neo4py
  
  
   They work with version Neo4j 1.3, using JCC instead of JPype, so
 should
  be
   somewhat faster than the current bindings.  They might get you by
 until
   Jacob has some time :)
  
   Aaron
  
  
   On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson [hidden email]
  http://user/SendEmail.jtp?type=nodenode=3223244i=0
   wrote:
  
Hey Eddy,
   
sorry about the late reply, I'm on vacation, so I've been checking
  email
rather sporadically.
   
I'm not sure exactly what causes your problem, since we seem to
 have
  lost
  
the nested exception at some point (presumably a java/jpype/python
   thing),
but generally, what you are seeing is the under-the-hood database
  saying
   I
can't create a database at that location. That could be because it

  does
not
have write access to the folder you give it, or that the folder
 does
  not
exist. It could also be something more complicated, but make sure
 that
 
   the
process this app runs in has write access, and that the folder
 exists,
 
first.
   
On the subject of the new neo4j.py bindings, I am currently
 assigned
  to
them, and will be working on nothing but them until we get a
 release
  of
them
out. I on vacation this week, and will be travelling and moving
 next
  week
  
(I
will try to get some work done though). After the dust settles,
 I'll
  push
  
hard to get a new version out.
   
/Jacob
   
On Sun, Jul 24, 2011 at 4:05 AM, Eddy [hidden email]
  http://user/SendEmail.jtp?type=nodenode=3223244i=1
   wrote:
   
 Anyone?

 Also whats the current status of neo4j.py? I read somewhere it
 was
   being
 updated some time ago.

 --
 View this message in context:

   
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3194919.html
 Sent from the Neo4j Community Discussions mailing list archive at

 Nabble.com.
 ___
 Neo4j mailing list
 [hidden email

Re: [Neo4j] neo4j.py install problems

2011-08-03 Thread Eddy
Okay, cheers. I think the guys and girls at Neo4j need to list all these
tools and their status in the wiki somewhere. I think neo4jrestclient and
bulbflow are others that can be added.


On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
Discussions] ml-node+3223244-294443037-340...@n3.nabble.com wrote:

 If you don't need Node Models, I did some work on bindings with similar
 syntax to the neo4j.py bindings.

 https://github.com/OneSaidWho/neo4py


 They work with version Neo4j 1.3, using JCC instead of JPype, so should be
 somewhat faster than the current bindings.  They might get you by until
 Jacob has some time :)

 Aaron


 On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=3223244i=0
 wrote:

  Hey Eddy,
 
  sorry about the late reply, I'm on vacation, so I've been checking email
  rather sporadically.
 
  I'm not sure exactly what causes your problem, since we seem to have lost

  the nested exception at some point (presumably a java/jpype/python
 thing),
  but generally, what you are seeing is the under-the-hood database saying
 I
  can't create a database at that location. That could be because it does
  not
  have write access to the folder you give it, or that the folder does not
  exist. It could also be something more complicated, but make sure that
 the
  process this app runs in has write access, and that the folder exists,
  first.
 
  On the subject of the new neo4j.py bindings, I am currently assigned to
  them, and will be working on nothing but them until we get a release of
  them
  out. I on vacation this week, and will be travelling and moving next week

  (I
  will try to get some work done though). After the dust settles, I'll push

  hard to get a new version out.
 
  /Jacob
 
  On Sun, Jul 24, 2011 at 4:05 AM, Eddy [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=3223244i=1
 wrote:
 
   Anyone?
  
   Also whats the current status of neo4j.py? I read somewhere it was
 being
   updated some time ago.
  
   --
   View this message in context:
  
 
 http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3194919.html
   Sent from the Neo4j Community Discussions mailing list archive at
   Nabble.com.
   ___
   Neo4j mailing list
   [hidden email] http://user/SendEmail.jtp?type=nodenode=3223244i=2
   https://lists.neo4j.org/mailman/listinfo/user
  
 
 
 
  --
  Jacob Hansson
  Phone: +46 (0) 763503395
  Twitter: @jakewins
  ___
  Neo4j mailing list
  [hidden email] http://user/SendEmail.jtp?type=nodenode=3223244i=3
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=3223244i=4
 https://lists.neo4j.org/mailman/listinfo/user


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3223244.html
  To unsubscribe from neo4j.py install problems, click 
 herehttp://neo4j-community-discussions.438527.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3191386code=ZWRkeS5yZXNwb25kZWtAZ21haWwuY29tfDMxOTEzODZ8LTE4NjgwMDk1MA==.




--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3224364.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j.py install problems

2011-07-29 Thread Eddy
I hate to be a post bumper but... I'm still awaiting a solution for this.
Help please!

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3211257.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j.py install problems

2011-07-24 Thread Eddy
Anyone?

Also whats the current status of neo4j.py? I read somewhere it was being
updated some time ago.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3194919.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] neo4j.py install problems

2011-07-22 Thread Eddy
I'm getting error after error trying to get neo4j.py working. Right now I'm
stuck at a problem that appears to be the same as this ticket 
https://trac.neo4j.org/ticket/275 https://trac.neo4j.org/ticket/275 . But it
doesn't actually say how to go about solving it.

I don't actually have to go back to an older version of Neo4j do I?

*Python:*
import os, sys, traceback
from neo4j import *

java_home = os.getenv(JAVA_HOME) #I registered JAVA_HOME but python
wouldn't pick it up so I added it manually
if(java_home == None):
os.environ[JAVA_HOME] = /usr/lib/jvm/java-6-openjdk

graphdb = GraphDatabase(/srv/neo4j/databases/graph.db,
classpath=[/usr/share/java/neo4j-kernel.jar], log=True)

*Error:*
[Fri Jul 22 20:19:12 2011] [info] [client 10.211.55.2] mod_wsgi (pid=1885,
process='', application='directory.private.com|'): Loading WSGI script
'/var/www/production/directory.private.com/start.wsgi'.
[Fri Jul 22 20:19:12 2011] [error]
/var/www/production/directory.private.com/lib/dispatch/core/wsgi.py:53:
SyntaxWarning: import * only allowed at module level
[Fri Jul 22 20:19:12 2011] [error]   def __call__(self, environ,
start_response):
[Fri Jul 22 20:19:12 2011] [error]
/usr/lib/pymodules/python2.6/jpype/_pykeywords.py:18: DeprecationWarning:
the sets module is deprecated
[Fri Jul 22 20:19:12 2011] [error]   import sets
[Fri Jul 22 20:19:12 2011] [info] mod_wsgi (pid=1899): Initializing Python.
[Fri Jul 22 20:19:12 2011] [info] mod_wsgi (pid=1899): Attach interpreter
''.
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] mod_wsgi (pid=1885):
Exception occurred processing WSGI script
'/var/www/production/directory.private.com/start.wsgi'.
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] Traceback (most
recent call last):
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/var/www/production/directory.private.com/lib/dispatch/core/wsgi.py, line
75, in __call__
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] graphdb =
GraphDatabase(/srv/neo4j/databases/graph.db,
classpath=[/usr/share/java/neo4j-kernel.jar], log=True)
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/usr/local/lib/python2.6/dist-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/__init__.py,
line 522, in __new__
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] neo =
core.load_neo(resource_uri, params)
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/usr/local/lib/python2.6/dist-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/_core.py,
line 332, in load_neo
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] return
load_neo(resource_uri, parameters)
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/usr/local/lib/python2.6/dist-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/_core.py,
line 225, in load_neo
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] return
GraphDatabase(resource_uri, settings, config, log)
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/usr/local/lib/python2.6/dist-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/_core.py,
line 230, in __init__
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] neo =
backend.load_neo(resource_uri, settings)
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/usr/local/lib/python2.6/dist-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/_backend/__init__.py,
line 74, in load_neo
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2] return
impl(resource_uri, implementation.make_map(settings))
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]   File
/usr/lib/pymodules/python2.6/jpype/_jclass.py, line 79, in _javaInit
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]
self.__javaobject__ = self.__class__.__javaclass__.newClassInstance(*args)
[Fri Jul 22 20:19:12 2011] [error] [client 10.211.55.2]
java.lang.RuntimeExceptionPyRaisable:
org.neo4j.kernel.impl.transaction.TransactionFailureException: Could not
create data source [nioneodb], see nested exception for cause of error

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3191386.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] missing required jta.jar for debian?

2011-07-12 Thread Eddy Respondek
I'm currently getting the following error message in Debian Lenny when
trying to run a class file.

Exception in thread main java.lang.NoClassDefFoundError:
javax/transaction/TransactionManager

As far as I can tell Debian is missing a jta.jar file which is apparently
apart Java EE 6 but this isn't one of Debian packages.

Do I need to manually install Java EE 6 or can I get JTA.jar somewhere
separately?

More info
javac -cp /usr/share/java/neo4j-kernel.jar:/usr/share/java/jta.jar
/tmp/gpneo4jimport.java
java -cp /tmp:/usr/share/java/neo4j-kernel.jar:/usr/share/java/jta.jar
gpneo4jimport

java version 1.6.0_22
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Neo4j web admin connection error

2011-02-02 Thread Eddy Respondek
I've just installed Neo4j on Debian Lenny and I'm trying to expose the Web
Admin on a sub-domain via Apache2 proxypass. Web Admin is served but I'm
getting a Unknown connection problem message. Do you have any suggestions
to resolve this? What error logs or configuration files should I be checking
to see whats going wrong?

My settings are:

ProxyRequests Off

Proxy *
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from all
/Proxy

ProxyVia On

VirtualHost *:80
ServerName graph.example.com
ProxyPass / http://localhost:7474/
ProxyPassReverse / http://localhost:7474/
/VirtualHost


I'm not sure if it's helpful but the url has localhost in it like this:

http://graph.example.com/webadmin/#p=dashboards=http%3A//localhost%3A7474/db/manage/

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


Re: [Neo4j] Neo4j web admin connection error

2011-02-02 Thread Eddy Respondek
That didn't work. I tried a couple different combination until I found the
error log. There is a line saying that it can't find neo4j.properties which
might be causing the problem?

DEBUG WrapperSimpleAppMain
org.apache.commons.configuration.ConfigurationUtils -
ConfigurationUtils.locate(): base is /usr/bin/neo4j-1.3.M01/conf, name is
neo4j-server.pr$
DEBUG WrapperSimpleAppMain
org.apache.commons.configuration.ConfigurationUtils - Loading configuration
from the path /usr/bin/neo4j-1.3.M01/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 /usr/bin/neo4j-1.3.M01/../data/graph.db
WARN WrapperSimpleAppMain org.neo4j.server.database.Database - No database
tuning properties set in the property file, using defaults. Please specify
the performance prop$
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.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:/usr/bin/neo4j-1.3.M01/system/lib/neo4j-server-0.6-1.3.M01-static-web.jar!/webadmin-html]
INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
static content from
[jar:file:/usr/bin/neo4j-1.3.M01/system/lib/neo4j-server-0.6-1.3.M01-static-$
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 [/]


On Wed, Feb 2, 2011 at 4:27 PM, user-requ...@lists.neo4j.org wrote:

 Send User mailing list submissions to
user@lists.neo4j.org

 To subscribe or unsubscribe via the World Wide Web, visit
https://lists.neo4j.org/mailman/listinfo/user
 or, via email, send a message with subject or body 'help' to
user-requ...@lists.neo4j.org

 You can reach the person managing the list at
user-ow...@lists.neo4j.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of User digest...


 Today's Topics:

   1.  Neo4j web admin connection error (Eddy Respondek)
   2. Re:  Neo4j web admin connection error (Peter Neubauer)
   3. Re:  Exact numeric indexing? (Mattias Persson)
   4. Re:  Shortest Path Query with property filters (Peter Neubauer)
   5. Re:  Neo4j 1.2 server on Linux X86 - 64 bit (Peter Neubauer)


 --

 Message: 1
 Date: Wed, 2 Feb 2011 15:28:55 +0700
 From: Eddy Respondek eddy.respon...@gmail.com
 Subject: [Neo4j] Neo4j web admin connection error
 To: user@lists.neo4j.org
 Message-ID:

 aanlktin6cjpytgh34zgityszouexoqye+nzkxrjpd...@mail.gmail.comaanlktin6cjpytgh34zgityszouexoqye%2bnzkxrjpd...@mail.gmail.com
 
 Content-Type: text/plain; charset=UTF-8

 I've just installed Neo4j on Debian Lenny and I'm trying to expose the Web
 Admin on a sub-domain via Apache2 proxypass. Web Admin is served but I'm
 getting a Unknown connection problem message. Do you have any suggestions
 to resolve this? What error logs or configuration files should I be
 checking
 to see whats going wrong?

 My settings are:

 ProxyRequests Off

 Proxy *
 AddDefaultCharset off
 Order deny,allow
 Deny from all
 Allow from all
 /Proxy

 ProxyVia On

 VirtualHost *:80
 ServerName graph.example.com
 ProxyPass / http://localhost:7474/
 ProxyPassReverse / http://localhost:7474/
 /VirtualHost


 I'm not sure if it's helpful but the url has localhost in it like this:


 http://graph.example.com/webadmin/#p=dashboards=http%3A//localhost%3A7474/db/manage/

 Thanks


 --

 Message: 2
 Date: Wed, 2 Feb 2011 10:01:26 +0100
 From: Peter Neubauer peter.neuba...@neotechnology.com
 Subject: Re: [Neo4j] Neo4j web admin connection error
 To: Neo4j user discussions user@lists.neo4j.org
 Message-ID:

 AANLkTi=-C=_ovsarp-ho7qjwtlvjo-k3gp4u4+ks7...@mail.gmail.comovsarp-ho7qjwtlvjo-k3gp4u4%2bks7...@mail.gmail.com
 
 Content-Type: text

Re: [Neo4j] Neo4j web admin connection error

2011-02-02 Thread Eddy Respondek
The file is definitely there.

Is there are difference between the latest http copy and the svn?

Eddy

On Wed, Feb 2, 2011 at 6:29 PM, user-requ...@lists.neo4j.org wrote:


 Does the file /usr/bin/neo4j-1.3.M01/conf/neo4j-server.properties exist?

 Either way, I think Michael Hunger has solved this problem all-together, I
 just need to merge his changes into the main server branch. I'll be digging
 in to that after lunch today. Will keep you posted!

 /Jacob

 On Wed, Feb 2, 2011 at 12:12 PM, Eddy Respondek eddy.respon...@gmail.com
 wrote:

  That didn't work. I tried a couple different combination until I found
 the
  error log. There is a line saying that it can't find neo4j.properties
 which
  might be causing the problem?
 
  DEBUG WrapperSimpleAppMain
  org.apache.commons.configuration.ConfigurationUtils -
  ConfigurationUtils.locate(): base is /usr/bin/neo4j-1.3.M01/conf, name is
  neo4j-server.pr$
  DEBUG WrapperSimpleAppMain
  org.apache.commons.configuration.ConfigurationUtils - Loading
 configuration
  from the path /usr/bin/neo4j-1.3.M01/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 /usr/bin/neo4j-1.3.M01/../data/graph.db
  WARN WrapperSimpleAppMain org.neo4j.server.database.Database - No
 database
  tuning properties set in the property file, using defaults. Please
 specify
  the performance prop$
  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.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:/usr/bin/neo4j-1.3.M01/system/lib/neo4j-server-0.6-1.3.M01-static-web.jar!/webadmin-html]
  INFO WrapperSimpleAppMain org.neo4j.server.web.Jetty6WebServer - Mounting
  static content from
 
 
 [jar:file:/usr/bin/neo4j-1.3.M01/system/lib/neo4j-server-0.6-1.3.M01-static-$
  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 [/]
 
 
  On Wed, Feb 2, 2011 at 4:27 PM, user-requ...@lists.neo4j.org wrote:
 
   Send User mailing list submissions to
  user@lists.neo4j.org
  
   To subscribe or unsubscribe via the World Wide Web, visit
  https://lists.neo4j.org/mailman/listinfo/user
   or, via email, send a message with subject or body 'help' to
  user-requ...@lists.neo4j.org
  
   You can reach the person managing the list at
  user-ow...@lists.neo4j.org
  
   When replying, please edit your Subject line so it is more specific
   than Re: Contents of User digest...
  
  
   Today's Topics:
  
 1.  Neo4j web admin connection error (Eddy Respondek)
 2. Re:  Neo4j web admin connection error (Peter Neubauer)
 3. Re:  Exact numeric indexing? (Mattias Persson)
 4. Re:  Shortest Path Query with property filters (Peter Neubauer)
 5. Re:  Neo4j 1.2 server on Linux X86 - 64 bit (Peter Neubauer)
  
  
   --
  
   Message: 1
   Date: Wed, 2 Feb 2011 15:28:55 +0700
   From: Eddy Respondek eddy.respon...@gmail.com
   Subject: [Neo4j] Neo4j web admin connection error
   To: user@lists.neo4j.org
   Message-ID:
  
   aanlktin6cjpytgh34zgityszouexoqye+nzkxrjpd...@mail.gmail.comaanlktin6cjpytgh34zgityszouexoqye%2bnzkxrjpd...@mail.gmail.com
 aanlktin6cjpytgh34zgityszouexoqye%2bnzkxrjpd...@mail.gmail.comaanlktin6cjpytgh34zgityszouexoqye%252bnzkxrjpd...@mail.gmail.com
 
  aanlktin6cjpytgh34zgityszouexoqye%2bnzkxrjpd...@mail.gmail.comaanlktin6cjpytgh34zgityszouexoqye%252bnzkxrjpd...@mail.gmail.com
 aanlktin6cjpytgh34zgityszouexoqye%252bnzkxrjpd...@mail.gmail.comaanlktin6cjpytgh34zgityszouexoqye%25252bnzkxrjpd...@mail.gmail.com
 
  
   
   Content-Type: text/plain; charset=UTF-8
  
   I've just installed Neo4j on Debian Lenny and I'm