I thought there already was an issue for this? The problem is that the REST API advertises absolute URLs, and it would be fixed if we change the API to use relative URLs.
Jake On Nov 25, 2011 4:13 PM, "Peter Neubauer" <peter.neuba...@neotechnology.com> wrote: > Clay, > I think that is something we need to check next week, and probably make an > issue to run the Webadmin etc with relative URLs as absolute URLs can be a > pain. Would that help for your case? > > 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 - NOSQL for the Enterprise. > http://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. > > > On Thu, Nov 24, 2011 at 9:54 PM, Clay Monkus > <c...@intelligentbuildings.com>wrote: > > > I am a newbie with Neo4j, so any help is appreciated. > > I have tried many different configuration options regarding the server's > > complete URL for neo4j, but the application does not seem to honor those > > configuration changes. This can be seen by going to: > > > > http://my.site.com/webadmin/#/data/search/0/ > > > > which indicates that it is trying to connect to: > > > > http://j2ee.my.site.com:7474/db/data/node/0, which is local. > > > > Per a suggestion on the neo4j fora, I have made the following changes to > > the > > configuration: > > > > *** > > # REST endpoint for the data API > > # Note the / in the end is mandatory > > org.neo4j.server.webadmin.data.uri=http://my.site.com/db/data/ > > > > # REST endpoint of the administration API (used by Webadmin) > > org.neo4j.server.webadmin.management.uri=http://my.site.com/db/manage/ > > *** > > > > Allegedly, using the full URI should allow the admin panel to communicate > > with the backend. However, per the logs, the application is not picking > up > > these configuration changes after restart: > > > > *** > > *** > > 2011-11-22 08:34:07.549-0600: --- SERVER STARTUP START --- > > 2011-11-22 08:34:07.549-0600: Server configuration: > > 2011-11-22 08:34:07.551-0600: org.neo4j.server.database.location = > > data/graph.db > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webserver.port = 7474 > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webserver.address = > > 127.0.0.106 > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webadmin.rrdb.location = > > data/rrd > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.db.tuning.properties = > > conf/neo4j.properties > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webadmin.management.uri = > > /db/manage/ > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webadmin.data.uri = > > /db/data/ > > 2011-11-22 08:34:07.575-0600: Mounted discovery module > > (org.neo4j.server.rest.discovery) at: / > > 2011-11-22 08:34:07.613-0600: Loaded server plugin "CypherPlugin" > > (org.neo4j.server.plugin.cypher.CypherPlugin) > > 2011-11-22 08:34:07.614-0600: GraphDatabaseService.execute_query: > execute a > > query > > 2011-11-22 08:34:07.615-0600: Loaded server plugin "GremlinPlugin" > > (org.neo4j.server.plugin.gremlin.GremlinPlugin) > > 2011-11-22 08:34:07.615-0600: GraphDatabaseService.execute_script: > execute > > a > > Gremlin script with 'g' set to the Neo4jGraph and 'results' containing > the > > results. Only results of one object type is supported. > > 2011-11-22 08:34:07.615-0600: Mounted REST API at: /db/data/ > > 2011-11-22 08:34:07.616-0600: Mounted management API at: /db/manage/ > > 2011-11-22 08:34:07.653-0600: Mounted webadmin at: /webadmin > > 2011-11-22 08:34:09.084-0600: Server started on: > http://127.0.0.106:7474/ > > 2011-11-22 08:34:09.085-0600: --- SERVER STARTUP END --- > > *** > > > > As you can see in those logs, neither the data URI nor the web management > > URI have updated to the settings that I placed in the configuration file: > > > > *** > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webadmin.management.uri = > > /db/manage/ > > 2011-11-22 08:34:07.552-0600: org.neo4j.server.webadmin.data.uri = > > /db/data/ > > *** > > > > They should show the full URL, namely, http://my.site.com/db/manage/ and > > http://my.site.com/db/data/, respectively. > > > > Do you have any suggestions regarding the configuration? > > > > Thanks, > > > > > > > > Clay Monkus > > Director of Technology > > Intelligent Buildings > > c...@intelligentbuildings.com > > 6000 Fairview Road, Tower II, Suite 1200 > > Charlotte, NC 28210 U.S.A. > > > > 704.345.4174 | Mobile > > 704.759.2700 | Main > > 704.759.2701 | Fax > > _______________________________________________ > > 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