Re: [Neo4j] Network accessible hostname

2011-11-28 Thread Jim Webber
Hi there,

Your front end won't really care whether you use 
http://j2ee.my.site.com:7474/db/data or http://j2ee.my.site.com/db/data since 
both are valid URIs.

If you use the default port (80) then you don't need to specify the port in the 
URI, and so http://j2ee.my.site.com/db/data will be fine. 

To use port 80, you'll need to ensure no other Web servers are running on that 
port, and you'll have to edit the conf/neo4j-server.properties file:

org.neo4j.server.webserver.port=80

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


Re: [Neo4j] Network accessible hostname

2011-11-28 Thread cmonkus
Let me make sure that I am not heading in a wrong direction... the thing that
prompted all this is when I got Neo4j loaded and checked the database, it is
showing the location as http://j2ee.my.site.com:7474/db/data

I was expecting to see http://my.site.com/db/data. My worry is that the
http://j2ee.my.site.com:7474/db/data URL/URI would not be able to be called
via REST when integrating with a front end user interface.

If this is not a problem, then we will go ahead and begin begin building out
our database, otherwise we will need to find a way to have the URL show as
http://my.site.com/db/data.

Again, I am newbie... so I am just learning how this should be structured...


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Network-accessible-hostname-tp3534733p3542853.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] Network accessible hostname

2011-11-27 Thread Peter Neubauer
Done, see https://github.com/neo4j/community/issues/46

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 Sat, Nov 26, 2011 at 1:45 AM, Jim Webber  wrote:

> Hi Peter,
>
> I think I might have verbally volunteered for this issue.
>
> Can you assign it to me? Email would help me to remember :-)
>
> 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] Network accessible hostname

2011-11-25 Thread Jim Webber
Hi Peter,

I think I might have verbally volunteered for this issue.

Can you assign it to me? Email would help me to remember :-)

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


Re: [Neo4j] Network accessible hostname

2011-11-25 Thread Peter Neubauer
Yes,
this is covered in https://github.com/neo4j/community/issues/46 right?

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 Fri, Nov 25, 2011 at 6:43 PM, cmonkus wrote:

> That absolutely would help in our case.
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Network-accessible-hostname-tp3534733p3536651.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 mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Network accessible hostname

2011-11-25 Thread cmonkus
That absolutely would help in our case. 

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Network-accessible-hostname-tp3534733p3536651.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] Network accessible hostname

2011-11-25 Thread Nigel Small
Changing the REST API to only use relative URIs would have a significant
effect on py2neo. Is this likely to happen?

However, if absolute and relative URIs are both published (or base URI +
relative part), that could be very helpful when working with batches as it
could undo some of my more contrived code :-)

*Nigel Small*
Phone: +44 7814 638 246
Blog: http://nigelsmall.name/
GTalk: ni...@nigelsmall.name
MSN: nasm...@live.co.uk
Skype: technige
Twitter: @technige 
LinkedIn: http://uk.linkedin.com/in/nigelsmall



On 25 November 2011 16:47, Jacob Hansson wrote:

> 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
> > 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/

Re: [Neo4j] Network accessible hostname

2011-11-25 Thread Jacob Hansson
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" 
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
> 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


Re: [Neo4j] Network accessible hostname

2011-11-25 Thread Peter Neubauer
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
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] Network accessible hostname

2011-11-24 Thread Clay Monkus
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