[Neo4j] Neo4j web admin connection error
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
Eddy, are you connecting from anything other than localhost? In that case, you need to set up the server to serve with the external name, otherwise the webadmin will try to connect to localhost which is the machine you are viewing from. Look at http://docs.neo4j.org/chunked/snapshot/server-configuration.html and set the org.neo4j.server.webadmin.data.uri and org.neo4j.server.webadmin.management.uri to the explicit URIs of your server. Does that help? I will adjust the docs to point this out more clearly. 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Feb 2, 2011 at 9:28 AM, Eddy Respondek eddy.respon...@gmail.com wrote: 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 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j web admin connection error
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
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.comwrote: 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 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
Re: [Neo4j] Neo4j web admin connection error
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
Re: [Neo4j] Neo4j web admin connection error
hi eddy, there's a bug loading the properties from the server. (you could also patch the minified webadmin.js) diff --git a/src/main/javascript/wa/prop.js b/src/main/javascript/wa/prop.js index 82f7c82..bc9f9c8 100644 --- a/src/main/javascript/wa/prop.js +++ b/src/main/javascript/wa/prop.js @@ -22,4 +22,4 @@ * Persisted property storage, connected to webadmins central property storage * service. Instance of {@link wa.PropertyStorage}. */ -wa.prop = new wa.PropertyStorage(/db/manage/properties/); \ No newline at end of file +wa.prop = new wa.PropertyStorage(../db/manage/properties/); i recommend the 'firebug-addon' for firefox, so you can analyze every http-request. hope that helps. cheers thomas Am 02.02.2011 um 13:01 schrieb 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 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user