Greetings.

I am currently getting neo4j setup on a new EC2 instance running RHEL.  I 
have followed all the steps found on the neo4j site and configured my EC2 
instance to have the port opened for 7474 to all traffic.  Currently, when 
trying to hit the URL to the EC2 instance remotely the page does not load. 
 When hitting the same URL via curl on the instance itself it does indeed 
show the proper response.  I am attempting to get the browser console 
available.

What I have done:

   - In EC2 UI: I have setup the security key to have ssh access
   - In EC2 UI: I have setup the custom TCP rule for port 7474 and opened 
   it to 0.0.0.0/0
   - As root via SSH: I have installed Oracle Java 1.7 and set it as the 
   java version for the instance
   - I have manually unpacked the tar.gz for neo4j 2.0.1
   - Edited the /conf/neo4j-server.properties to 
   add org.neo4j.server.webserver.address=0.0.0.0
   - Edited the limits for open file upper limits to be 40000
   - Restarted everything
   - run /bin/neo4j start

The neo4j.0.0.log is:

INFO: Neo4j Server shutdown initiated by request
Feb 24, 2014 11:38:27 AM org.neo4j.server.logging.Logger log
INFO: Setting startup timeout to: 120000ms based on -1
Feb 24, 2014 11:38:30 AM org.neo4j.server.logging.Logger log
INFO: Successfully started database
Feb 24, 2014 11:38:31 AM org.neo4j.server.logging.Logger log
INFO: Starting HTTP on port :7474 with 10 threads available
Feb 24, 2014 11:38:32 AM org.neo4j.server.logging.Logger log
INFO: Enabling HTTPS on port :7473
Feb 24, 2014 11:38:32 AM org.neo4j.server.logging.Logger log
INFO: Mounted discovery module at [/]
Feb 24, 2014 11:38:32 AM org.neo4j.server.logging.Logger log
INFO: Mounted REST API at [/db/data/]
Feb 24, 2014 11:38:32 AM org.neo4j.server.logging.Logger log
INFO: Mounted management API at [/db/manage/]
Feb 24, 2014 11:38:32 AM org.neo4j.server.logging.Logger log
INFO: Mounted webadmin at [/webadmin]
Feb 24, 2014 11:38:32 AM org.neo4j.server.logging.Logger log
INFO: Mounted Neo4j Browser at [/browser]
Feb 24, 2014 11:38:33 AM org.neo4j.server.logging.Logger log
INFO: Mounting static content at [/webadmin] from [webadmin-html]
Feb 24, 2014 11:38:33 AM org.neo4j.server.logging.Logger log
INFO: Mounting static content at [/browser] from [browser]
Feb 24, 2014 11:38:33 AM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 
AM'
Feb 24, 2014 11:38:34 AM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 
AM'
Feb 24, 2014 11:38:35 AM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 
AM'
Feb 24, 2014 11:38:37 AM org.neo4j.server.logging.Logger log
INFO: Remote interface ready and available at [http://0.0.0.0:7474/]

The console.log is:
2014-02-24 16:38:27.740+0000 INFO  [API] Setting startup timeout to: 
120000ms based on -1
2014-02-24 16:38:30.150+0000 INFO  [API] Successfully started database
2014-02-24 16:38:31.715+0000 INFO  [API] Starting HTTP on port :7474 with 
10 threads available
2014-02-24 16:38:32.263+0000 INFO  [API] Enabling HTTPS on port :7473
2014-02-24 16:38:32.923+0000 INFO  [API] Mounted discovery module at [/]
2014-02-24 16:38:32.938+0000 INFO  [API] Mounted REST API at [/db/data/]
2014-02-24 16:38:32.943+0000 INFO  [API] Mounted management API at 
[/db/manage/]
2014-02-24 16:38:32.945+0000 INFO  [API] Mounted webadmin at [/webadmin]
2014-02-24 16:38:32.946+0000 INFO  [API] Mounted Neo4j Browser at [/browser]
2014-02-24 16:38:33.044+0000 INFO  [API] Mounting static content at 
[/webadmin] from [webadmin-html]
2014-02-24 16:38:33.140+0000 INFO  [API] Mounting static content at 
[/browser] from [browser]
11:38:33.142 [main] WARN  o.e.j.server.handler.ContextHandler - 
o.e.j.s.ServletContextHandler@2a5b87b8{/,null,null} contextPath ends with /
11:38:33.142 [main] WARN  o.e.j.server.handler.ContextHandler - Empty 
contextPath
11:38:33.145 [main] INFO  org.eclipse.jetty.server.Server - 
jetty-9.0.5.v20130815
11:38:33.192 [main] INFO  o.e.j.server.handler.ContextHandler - Started 
o.e.j.s.h.MovedContextHandler@429ec89f{/,null,AVAILABLE}
11:38:33.562 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP 
Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
11:38:33.589 [main] INFO  o.e.j.server.handler.ContextHandler - Started 
o.e.j.w.WebAppContext@7f6714da{/webadmin,jar:file:/opt/neo4j-community-2.0.1/system/lib/neo4j-server-2.0.1-static-web.jar!/webadmin-html,AVAILABLE}
11:38:34.694 [main] INFO  o.e.j.server.handler.ContextHandler - Started 
o.e.j.s.ServletContextHandler@31eaa2bd{/db/manage,null,AVAILABLE}
11:38:35.458 [main] INFO  o.e.j.server.handler.ContextHandler - Started 
o.e.j.s.ServletContextHandler@7da5ddbb{/db/data,null,AVAILABLE}
11:38:35.496 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP 
Support for /browser, did not find org.apache.jasper.servlet.JspServlet
11:38:35.497 [main] INFO  o.e.j.server.handler.ContextHandler - Started 
o.e.j.w.WebAppContext@407305a3{/browser,jar:file:/opt/neo4j-community-2.0.1/system/lib/neo4j-browser-2.0.1.jar!/browser,AVAILABLE}
11:38:35.766 [main] INFO  o.e.j.server.handler.ContextHandler - Started 
o.e.j.s.ServletContextHandler@2a5b87b8{/,null,AVAILABLE}
11:38:35.804 [main] INFO  o.e.jetty.server.ServerConnector - Started 
ServerConnector@6041e6ef{HTTP/1.1}{0.0.0.0:7474}
11:38:37.144 [main] INFO  o.e.jetty.server.ServerConnector - Started 
ServerConnector@7ea026e2{SSL-HTTP/1.1}{0.0.0.0:7473}
2014-02-24 16:38:37.146+0000 INFO  [API] Remote interface ready and 
available at [http://0.0.0.0:7474/]




>From the EC2 instance if I run curl I get the following
$ curl http://ec2-53-84-97-128.compute-1.amazonaws.com:7474/
{
  "management" : 
"http://ec2-53-84-97-128.compute-1.amazonaws.com:7474/db/manage/";,
  "data" : "http://ec2-53-84-97-128.compute-1.amazonaws.com:7474/db/data/";
}

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.  As such I am not sure whether this is purely an EC2 issue 
or a neo4j issue, and was hoping someone here might have some insight 
regarding the usage of both.


-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to