Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton


Hi David,

I'm happy to. Do we use skype?

Thanks,
A.



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 9:34 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Would you like to do a screen sharing session with me Friday PST? That way,
I could assess your problem better.

Thanks,
David

On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com wrote:



 What I meant the server stops responding to my application's request was
 my application received a NoHttpResponseException. This is the output in
 the Eclipse console:

  -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
 Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper start
 INFO: Starting the Apache HTTP client
 Root node of ontology Ontology1320789957941.owl:
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
 Find node:
 http://localhost:7474/db/data/index/node/my_index/name/super_node
 Processing triple -
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
 Find node:
 http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
 Nov 10, 2011 3:47:22 PM org.restlet.ext.httpclient.internal.HttpMethodCall
 sendRequest
 WARNING: An error occurred during the communication with the remote HTTP
 server.
 org.apache.http.NoHttpResponseException: The target server failed to
 respond
 at
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)


 If I upload only a few ontologies (no problems) and the log/neo4j.x.x.log
 showed the server processed the lowEnergy node :

 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
 org.mortbay.jetty.HttpConnection@237dc815
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter org.neo4j.server.statistic.StatisticFilter
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]

 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/data/node/1/relationships on
 org.mortbay.jetty.HttpConnection@237dc815
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter org.neo4j.server.statistic.StatisticFilter
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: RESPONSE /db/data/node/1/relationships  201

 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/manage/server/monitor/fetch/1320942809 on
 org.mortbay.jetty.HttpConnection@66e90097
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread David Montag
Yup, Skype is good. Does some time in the afternoon PST work for you?

David

On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 I'm happy to. Do we use skype?

 Thanks,
 A.


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 9:34 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Would you like to do a screen sharing session with me Friday PST? That way,
 I could assess your problem better.

 Thanks,
 David

 On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  What I meant the server stops responding to my application's request was
  my application received a NoHttpResponseException. This is the output in
  the Eclipse console:
 
   -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
  Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper start
  INFO: Starting the Apache HTTP client
  Root node of ontology Ontology1320789957941.owl:
 
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
  Find node:
  http://localhost:7474/db/data/index/node/my_index/name/super_node
  Processing triple -
 
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
  Find node:
  http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
  Nov 10, 2011 3:47:22 PM
 org.restlet.ext.httpclient.internal.HttpMethodCall
  sendRequest
  WARNING: An error occurred during the communication with the remote HTTP
  server.
  org.apache.http.NoHttpResponseException: The target server failed to
  respond
  at
 
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
 
 
  If I upload only a few ontologies (no problems) and the log/neo4j.x.x.log
  showed the server processed the lowEnergy node :
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
  org.mortbay.jetty.HttpConnection@237dc815
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call filter org.neo4j.server.statistic.StatisticFilter
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/data/node/1/relationships on
  org.mortbay.jetty.HttpConnection@237dc815
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call filter org.neo4j.server.statistic.StatisticFilter
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: RESPONSE /db/data/node/1/relationships  201
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/manage/server/monitor/fetch/1320942809 on
  org.mortbay.jetty.HttpConnection@66e90097
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1301864188
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton


Hi David,

Anytime in the afternoon is fine to me. How about 2:30pm? 

Andrew



From: David Montag david.mon...@neotechnology.com
To: UserList user@lists.neo4j.org
Sent: Friday, November 11, 2011 8:59 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Yup, Skype is good. Does some time in the afternoon PST work for you?

David

On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 I'm happy to. Do we use skype?

 Thanks,
 A.


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 9:34 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Would you like to do a screen sharing session with me Friday PST? That way,
 I could assess your problem better.

 Thanks,
 David

 On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  What I meant the server stops responding to my application's request was
  my application received a NoHttpResponseException. This is the output in
  the Eclipse console:
 
   -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
  Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper start
  INFO: Starting the Apache HTTP client
  Root node of ontology Ontology1320789957941.owl:
 
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
  Find node:
  http://localhost:7474/db/data/index/node/my_index/name/super_node
  Processing triple -
 
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
  Find node:
  http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
  Nov 10, 2011 3:47:22 PM
 org.restlet.ext.httpclient.internal.HttpMethodCall
  sendRequest
  WARNING: An error occurred during the communication with the remote HTTP
  server.
  org.apache.http.NoHttpResponseException: The target server failed to
  respond
  at
 
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
 
 
  If I upload only a few ontologies (no problems) and the log/neo4j.x.x.log
  showed the server processed the lowEnergy node :
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
  org.mortbay.jetty.HttpConnection@237dc815
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call filter org.neo4j.server.statistic.StatisticFilter
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/data/node/1/relationships on
  org.mortbay.jetty.HttpConnection@237dc815
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call filter org.neo4j.server.statistic.StatisticFilter
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: RESPONSE /db/data/node/1/relationships  201
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/manage/server/monitor/fetch/1320942809 on
  org.mortbay.jetty.HttpConnection@66e90097
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread David Montag
That works. See ya then. I'm ddmontag on Skype.

David

On Fri, Nov 11, 2011 at 9:55 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Anytime in the afternoon is fine to me. How about 2:30pm?

 Andrew


 
 From: David Montag david.mon...@neotechnology.com
 To: UserList user@lists.neo4j.org
 Sent: Friday, November 11, 2011 8:59 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Yup, Skype is good. Does some time in the afternoon PST work for you?

 David

 On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  I'm happy to. Do we use skype?
 
  Thanks,
  A.
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 9:34 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Would you like to do a screen sharing session with me Friday PST? That
 way,
  I could assess your problem better.
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   What I meant the server stops responding to my application's request
 was
   my application received a NoHttpResponseException. This is the output
 in
   the Eclipse console:
  
-Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
   Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper
 start
   INFO: Starting the Apache HTTP client
   Root node of ontology Ontology1320789957941.owl:
  
 
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
   Find node:
   http://localhost:7474/db/data/index/node/my_index/name/super_node
   Processing triple -
  
 
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
   Find node:
   http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
   Nov 10, 2011 3:47:22 PM
  org.restlet.ext.httpclient.internal.HttpMethodCall
   sendRequest
   WARNING: An error occurred during the communication with the remote
 HTTP
   server.
   org.apache.http.NoHttpResponseException: The target server failed to
   respond
   at
  
 
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
  
  
   If I upload only a few ontologies (no problems) and the
 log/neo4j.x.x.log
   showed the server processed the lowEnergy node :
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
   org.mortbay.jetty.HttpConnection@237dc815
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: session=null
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet
 holder=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call filter org.neo4j.server.statistic.StatisticFilter
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/data/node/1/relationships on
   org.mortbay.jetty.HttpConnection@237dc815
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: session=null
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet
 holder=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call filter org.neo4j.server.statistic.StatisticFilter
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: RESPONSE /db/data/node/1/relationships  201
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/manage/server/monitor/fetch/1320942809 on
   org.mortbay.jetty.HttpConnection@66e90097
   Nov 10, 2011 3:46:52 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton


Great, see you.

Andrew



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, November 11, 2011 10:00 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

That works. See ya then. I'm ddmontag on Skype.

David

On Fri, Nov 11, 2011 at 9:55 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Anytime in the afternoon is fine to me. How about 2:30pm?

 Andrew


 
 From: David Montag david.mon...@neotechnology.com
 To: UserList user@lists.neo4j.org
 Sent: Friday, November 11, 2011 8:59 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Yup, Skype is good. Does some time in the afternoon PST work for you?

 David

 On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  I'm happy to. Do we use skype?
 
  Thanks,
  A.
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 9:34 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Would you like to do a screen sharing session with me Friday PST? That
 way,
  I could assess your problem better.
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   What I meant the server stops responding to my application's request
 was
   my application received a NoHttpResponseException. This is the output
 in
   the Eclipse console:
  
    -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
   Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper
 start
   INFO: Starting the Apache HTTP client
   Root node of ontology Ontology1320789957941.owl:
  
 
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
   Find node:
   http://localhost:7474/db/data/index/node/my_index/name/super_node
   Processing triple -
  
 
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
   Find node:
   http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
   Nov 10, 2011 3:47:22 PM
  org.restlet.ext.httpclient.internal.HttpMethodCall
   sendRequest
   WARNING: An error occurred during the communication with the remote
 HTTP
   server.
   org.apache.http.NoHttpResponseException: The target server failed to
   respond
   at
  
 
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
  
  
   If I upload only a few ontologies (no problems) and the
 log/neo4j.x.x.log
   showed the server processed the lowEnergy node :
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
   org.mortbay.jetty.HttpConnection@237dc815
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: session=null
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet
 holder=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call filter org.neo4j.server.statistic.StatisticFilter
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/data/node/1/relationships on
   org.mortbay.jetty.HttpConnection@237dc815
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: session=null
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet
 holder=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call filter org.neo4j.server.statistic.StatisticFilter
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

Thank you for getting back to me!  
Finally I can make it work by changing the log level from INFO (by default) to 
FINEST in the logging.property.

I have a question for you though. Currently my project have a problem with 
uploading data to the store. I created only 1 index for the whole application 
and the node name as the key. Several nodes in different ontologies have the 
same names.  So when an ontology is uploaded to the store and has a node that 
its name has been already in the index (by previous ontologies) this node is 
not created in the graph of this ontology. My app can upload a number of 
ontologies and graphs are created successfully for each ontology in the store. 
However when the process uploads the 9th ontology the store does not respond 
and it seems busy with some internal process like looking up the node in the 
index or something else. I'm stuck and don't know the cause of the problem. Do 
you have any clue or suggestions?

Appreciate your help!

Regards,



From: David Montag david.mon...@neotechnology.com
To: Peter Neubauer peter.neuba...@neotechnology.com
Cc: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 10:07 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
you have Skype?

Thanks,
David

On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Andrew,
 this sounds like the RRD database in the server got broken. Could you
 delete data/rrd and start up again? Also, David is in your timezone
 and maybe can connect with you directly to look into this?

 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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com wrote:
 
 
  Hi Peter,
 
  I don't understand much your question. However, in my Restlet
 application I have a logging service using Java log to record all processes
 in my app. My problem is that I upload 20 ontologies and after serveral
 ontologies the Neo4J stops responding my REST request. It seems busy with
 some index lookup process. Consequently my app throws
 a NoHttpResponseException: The target server failed to respond.
  I'd like to see what causes the problem inside Neo4J. Unfortunately both
 messages.log and neo4j.x.x.log do not show run time processes.
  BTW, when I start up the server the neo4j.x.x.log shows
 
  INFO: Server started on [http://localhost:7474/]
  Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
  WARNING:
  java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
 update time was 1320862942, at least one second step is required
  at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
  at org.rrd4j.core.Sample.update(Sample.java:197)
  at
 org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
  at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
  at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
  at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
  at java.util.TimerThread.mainLoop(Timer.java:512)
  at java.util.TimerThread.run(Timer.java:462)
 
  
 
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
    org.neo4j.server.webadmin.rest
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
    class org.neo4j.server.webadmin.rest.MonitorService
    class org.neo4j.server.webadmin.rest.RootService
    class org.neo4j.server.webadmin.rest.JmxService
    class org.neo4j.server.webadmin.rest.ConsoleService
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 init
  INFO: No provider classes found.
  Nov 9, 2011 12:43:44 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
  INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011
 11:17 AM'
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
    org.neo4j.server.rest.web
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
    class org.neo4j.server.rest.web.ResourcesService
    class org.neo4j.server.rest.web.BatchOperationService
    class org.neo4j.server.rest.web.RestfulGraphDatabase
    class org.neo4j.server.rest.web.DatabaseMetadataService
    class org.neo4j.server.rest.web.ExtensionService
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Provider

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread David Montag
Hi Andrew,

Good to hear that you got the logging sorted out.

Regarding the actual issues, it sounds like you're describing two different
things. One is that you index ontology nodes in one global index and
therefore run into conflicts. The other is that the upload appears to stall
for some reason.

Regarding the global index, did you intend to design the system that way,
or do you really want a separate index for each ontology? It sounds like
that would be reasonable.

As for the stalled upload, a thread dump during the slow processing would
be most helpful. On a Linux system, you can capture that by doing kill -3
pid on the Java process. It should then go to console.log.

Thanks,
David

On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Thank you for getting back to me!
 Finally I can make it work by changing the log level from INFO (by
 default) to FINEST in the logging.property.

 I have a question for you though. Currently my project have a problem with
 uploading data to the store. I created only 1 index for the whole
 application and the node name as the key. Several nodes in different
 ontologies have the same names.  So when an ontology is uploaded to the
 store and has a node that its name has been already in the index (by
 previous ontologies) this node is not created in the graph of this
 ontology. My app can upload a number of ontologies and graphs are created
 successfully for each ontology in the store. However when the process
 uploads the 9th ontology the store does not respond and it seems busy with
 some internal process like looking up the node in the index or something
 else. I'm stuck and don't know the cause of the problem. Do you have any
 clue or suggestions?

 Appreciate your help!

 Regards,


 
 From: David Montag david.mon...@neotechnology.com
 To: Peter Neubauer peter.neuba...@neotechnology.com
 Cc: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:07 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
 you have Skype?

 Thanks,
 David

 On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Andrew,
  this sounds like the RRD database in the server got broken. Could you
  delete data/rrd and start up again? Also, David is in your timezone
  and maybe can connect with you directly to look into this?
 
  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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
 wrote:
  
  
   Hi Peter,
  
   I don't understand much your question. However, in my Restlet
  application I have a logging service using Java log to record all
 processes
  in my app. My problem is that I upload 20 ontologies and after serveral
  ontologies the Neo4J stops responding my REST request. It seems busy with
  some index lookup process. Consequently my app throws
  a NoHttpResponseException: The target server failed to respond.
   I'd like to see what causes the problem inside Neo4J. Unfortunately
 both
  messages.log and neo4j.x.x.log do not show run time processes.
   BTW, when I start up the server the neo4j.x.x.log shows
  
   INFO: Server started on [http://localhost:7474/]
   Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
   WARNING:
   java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
  update time was 1320862942, at least one second step is required
   at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
   at org.rrd4j.core.Sample.update(Sample.java:197)
   at
  org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
   at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
   at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
   at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)
  
   
  
   Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig
  init
   INFO: Scanning for root resource and provider classes in the packages:
 org.neo4j.server.webadmin.rest
   Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
  logClasses
   INFO: Root resource classes found:
 class org.neo4j.server.webadmin.rest.MonitorService
 class org.neo4j.server.webadmin.rest.RootService
 class org.neo4j.server.webadmin.rest.JmxService
 class org.neo4j.server.webadmin.rest.ConsoleService
   Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
  init
   INFO: No provider classes found.
   Nov

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

Please read my answers inline below.



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 11:39 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Good to hear that you got the logging sorted out.

Regarding the actual issues, it sounds like you're describing two different
things. One is that you index ontology nodes in one global index and
therefore run into conflicts. The other is that the upload appears to stall
for some reason.

Regarding the global index, did you intend to design the system that way,
or do you really want a separate index for each ontology? It sounds like
that would be reasonable.
Since the application requirements have changed I think it is better to create 
an index for
each ontology. 

As for the stalled upload, a thread dump during the slow processing would
be most helpful. On a Linux system, you can capture that by doing kill -3
pid on the Java process. It should then go to console.log.
I'll try it. Thanks!

Thanks,
David

On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Thank you for getting back to me!
 Finally I can make it work by changing the log level from INFO (by
 default) to FINEST in the logging.property.

 I have a question for you though. Currently my project have a problem with
 uploading data to the store. I created only 1 index for the whole
 application and the node name as the key. Several nodes in different
 ontologies have the same names.  So when an ontology is uploaded to the
 store and has a node that its name has been already in the index (by
 previous ontologies) this node is not created in the graph of this
 ontology. My app can upload a number of ontologies and graphs are created
 successfully for each ontology in the store. However when the process
 uploads the 9th ontology the store does not respond and it seems busy with
 some internal process like looking up the node in the index or something
 else. I'm stuck and don't know the cause of the problem. Do you have any
 clue or suggestions?

 Appreciate your help!

 Regards,


 
 From: David Montag david.mon...@neotechnology.com
 To: Peter Neubauer peter.neuba...@neotechnology.com
 Cc: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:07 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
 you have Skype?

 Thanks,
 David

 On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Andrew,
  this sounds like the RRD database in the server got broken. Could you
  delete data/rrd and start up again? Also, David is in your timezone
  and maybe can connect with you directly to look into this?
 
  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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
 wrote:
  
  
   Hi Peter,
  
   I don't understand much your question. However, in my Restlet
  application I have a logging service using Java log to record all
 processes
  in my app. My problem is that I upload 20 ontologies and after serveral
  ontologies the Neo4J stops responding my REST request. It seems busy with
  some index lookup process. Consequently my app throws
  a NoHttpResponseException: The target server failed to respond.
   I'd like to see what causes the problem inside Neo4J. Unfortunately
 both
  messages.log and neo4j.x.x.log do not show run time processes.
   BTW, when I start up the server the neo4j.x.x.log shows
  
   INFO: Server started on [http://localhost:7474/]
   Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
   WARNING:
   java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
  update time was 1320862942, at least one second step is required
   at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
   at org.rrd4j.core.Sample.update(Sample.java:197)
   at
  org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
   at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
   at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
   at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)
  
   
  
   Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig
  init
   INFO: Scanning for root resource and provider classes in the packages:
     org.neo4j.server.webadmin.rest
   Nov 9, 2011 12:43:44 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

I increased the memory settings in neo4j-wrapper.conf as below
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=30

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024

However the same problem is still happening. I attach the thread dump to this 
mail. I appreciate it if you tell me what's wrong based on the thread dump.

Thank you!



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 11:39 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Good to hear that you got the logging sorted out.

Regarding the actual issues, it sounds like you're describing two different
things. One is that you index ontology nodes in one global index and
therefore run into conflicts. The other is that the upload appears to stall
for some reason.

Regarding the global index, did you intend to design the system that way,
or do you really want a separate index for each ontology? It sounds like
that would be reasonable.

As for the stalled upload, a thread dump during the slow processing would
be most helpful. On a Linux system, you can capture that by doing kill -3
pid on the Java process. It should then go to console.log.

Thanks,
David

On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Thank you for getting back to me!
 Finally I can make it work by changing the log level from INFO (by
 default) to FINEST in the logging.property.

 I have a question for you though. Currently my project have a problem with
 uploading data to the store. I created only 1 index for the whole
 application and the node name as the key. Several nodes in different
 ontologies have the same names.  So when an ontology is uploaded to the
 store and has a node that its name has been already in the index (by
 previous ontologies) this node is not created in the graph of this
 ontology. My app can upload a number of ontologies and graphs are created
 successfully for each ontology in the store. However when the process
 uploads the 9th ontology the store does not respond and it seems busy with
 some internal process like looking up the node in the index or something
 else. I'm stuck and don't know the cause of the problem. Do you have any
 clue or suggestions?

 Appreciate your help!

 Regards,


 
 From: David Montag david.mon...@neotechnology.com
 To: Peter Neubauer peter.neuba...@neotechnology.com
 Cc: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:07 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
 you have Skype?

 Thanks,
 David

 On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Andrew,
  this sounds like the RRD database in the server got broken. Could you
  delete data/rrd and start up again? Also, David is in your timezone
  and maybe can connect with you directly to look into this?
 
  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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
 wrote:
  
  
   Hi Peter,
  
   I don't understand much your question. However, in my Restlet
  application I have a logging service using Java log to record all
 processes
  in my app. My problem is that I upload 20 ontologies and after serveral
  ontologies the Neo4J stops responding my REST request. It seems busy with
  some index lookup process. Consequently my app throws
  a NoHttpResponseException: The target server failed to respond.
   I'd like to see what causes the problem inside Neo4J. Unfortunately
 both
  messages.log and neo4j.x.x.log do not show run time processes.
   BTW, when I start up the server the neo4j.x.x.log shows
  
   INFO: Server started on [http://localhost:7474/]
   Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
   WARNING:
   java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
  update time was 1320862942, at least one second step is required
   at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
   at org.rrd4j.core.Sample.update(Sample.java:197)
   at
  org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
   at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
   at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
   at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)
  
   
  
   Nov 9, 2011 12:43:44 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread David Montag
Hi Andrew,

I don't see anything running in that thread dump. No threads are processing
requests. Are you sure it's taking a long time, or is it maybe finished?
Try capturing the thread dump exactly when you experience slowness. I'd
also suggest bumping the initial heap to at least 512MB or something like
that. How much RAM do you have? How much data are you inserting?

Thanks,
David

On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 I increased the memory settings in neo4j-wrapper.conf as below
 # Initial Java Heap Size (in MB)
 wrapper.java.initmemory=30

 # Maximum Java Heap Size (in MB)
 wrapper.java.maxmemory=1024

 However the same problem is still happening. I attach the thread dump to
 this mail. I appreciate it if you tell me what's wrong based on the thread
 dump.

 Thank you!


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 11:39 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Good to hear that you got the logging sorted out.

 Regarding the actual issues, it sounds like you're describing two different
 things. One is that you index ontology nodes in one global index and
 therefore run into conflicts. The other is that the upload appears to stall
 for some reason.

 Regarding the global index, did you intend to design the system that way,
 or do you really want a separate index for each ontology? It sounds like
 that would be reasonable.

 As for the stalled upload, a thread dump during the slow processing would
 be most helpful. On a Linux system, you can capture that by doing kill -3
 pid on the Java process. It should then go to console.log.

 Thanks,
 David

 On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  Thank you for getting back to me!
  Finally I can make it work by changing the log level from INFO (by
  default) to FINEST in the logging.property.
 
  I have a question for you though. Currently my project have a problem
 with
  uploading data to the store. I created only 1 index for the whole
  application and the node name as the key. Several nodes in different
  ontologies have the same names.  So when an ontology is uploaded to the
  store and has a node that its name has been already in the index (by
  previous ontologies) this node is not created in the graph of this
  ontology. My app can upload a number of ontologies and graphs are created
  successfully for each ontology in the store. However when the process
  uploads the 9th ontology the store does not respond and it seems busy
 with
  some internal process like looking up the node in the index or something
  else. I'm stuck and don't know the cause of the problem. Do you have any
  clue or suggestions?
 
  Appreciate your help!
 
  Regards,
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Peter Neubauer peter.neuba...@neotechnology.com
  Cc: Neo4j user discussions user@lists.neo4j.org
  Sent: Wednesday, November 9, 2011 10:07 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Let's connect during the day tomorrow for a higher-bandwidth discussion.
 Do
  you have Skype?
 
  Thanks,
  David
 
  On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
   Andrew,
   this sounds like the RRD database in the server got broken. Could you
   delete data/rrd and start up again? Also, David is in your timezone
   and maybe can connect with you directly to look into this?
  
   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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
  wrote:
   
   
Hi Peter,
   
I don't understand much your question. However, in my Restlet
   application I have a logging service using Java log to record all
  processes
   in my app. My problem is that I upload 20 ontologies and after serveral
   ontologies the Neo4J stops responding my REST request. It seems busy
 with
   some index lookup process. Consequently my app throws
   a NoHttpResponseException: The target server failed to respond.
I'd like to see what causes the problem inside Neo4J. Unfortunately
  both
   messages.log and neo4j.x.x.log do not show run time processes.
BTW, when I start up the server the neo4j.x.x.log shows
   
INFO: Server started on [http://localhost:7474/]
Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
WARNING:
java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
   update time was 1320862942, at least one

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

The total size of files stored into the db when the problem happened was only 
800KB. My RAM is 4G. 
I ran the kill command when the problem happened because it just stopped and I 
did not notice slowness.

I will increase the heap to 512MB and test again.

Thanks,
Andrew



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 3:00 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

I don't see anything running in that thread dump. No threads are processing
requests. Are you sure it's taking a long time, or is it maybe finished?
Try capturing the thread dump exactly when you experience slowness. I'd
also suggest bumping the initial heap to at least 512MB or something like
that. How much RAM do you have? How much data are you inserting?

Thanks,
David

On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 I increased the memory settings in neo4j-wrapper.conf as below
 # Initial Java Heap Size (in MB)
 wrapper.java.initmemory=30

 # Maximum Java Heap Size (in MB)
 wrapper.java.maxmemory=1024

 However the same problem is still happening. I attach the thread dump to
 this mail. I appreciate it if you tell me what's wrong based on the thread
 dump.

 Thank you!


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 11:39 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Good to hear that you got the logging sorted out.

 Regarding the actual issues, it sounds like you're describing two different
 things. One is that you index ontology nodes in one global index and
 therefore run into conflicts. The other is that the upload appears to stall
 for some reason.

 Regarding the global index, did you intend to design the system that way,
 or do you really want a separate index for each ontology? It sounds like
 that would be reasonable.

 As for the stalled upload, a thread dump during the slow processing would
 be most helpful. On a Linux system, you can capture that by doing kill -3
 pid on the Java process. It should then go to console.log.

 Thanks,
 David

 On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  Thank you for getting back to me!
  Finally I can make it work by changing the log level from INFO (by
  default) to FINEST in the logging.property.
 
  I have a question for you though. Currently my project have a problem
 with
  uploading data to the store. I created only 1 index for the whole
  application and the node name as the key. Several nodes in different
  ontologies have the same names.  So when an ontology is uploaded to the
  store and has a node that its name has been already in the index (by
  previous ontologies) this node is not created in the graph of this
  ontology. My app can upload a number of ontologies and graphs are created
  successfully for each ontology in the store. However when the process
  uploads the 9th ontology the store does not respond and it seems busy
 with
  some internal process like looking up the node in the index or something
  else. I'm stuck and don't know the cause of the problem. Do you have any
  clue or suggestions?
 
  Appreciate your help!
 
  Regards,
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Peter Neubauer peter.neuba...@neotechnology.com
  Cc: Neo4j user discussions user@lists.neo4j.org
  Sent: Wednesday, November 9, 2011 10:07 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Let's connect during the day tomorrow for a higher-bandwidth discussion.
 Do
  you have Skype?
 
  Thanks,
  David
 
  On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
   Andrew,
   this sounds like the RRD database in the server got broken. Could you
   delete data/rrd and start up again? Also, David is in your timezone
   and maybe can connect with you directly to look into this?
  
   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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
  wrote:
   
   
Hi Peter,
   
I don't understand much your question. However, in my Restlet
   application I have a logging service using Java log to record all
  processes
   in my app. My problem is that I upload 20 ontologies and after serveral
   ontologies the Neo4J stops responding my REST request. It seems busy
 with
   some index lookup process. Consequently my app throws

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread David Montag
Can you describe how you see that it stops? Because the thread dump isn't
showing anything of significance running.

David

On Thu, Nov 10, 2011 at 3:28 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 The total size of files stored into the db when the problem happened was
 only 800KB. My RAM is 4G.
 I ran the kill command when the problem happened because it just stopped
 and I did not notice slowness.

 I will increase the heap to 512MB and test again.

 Thanks,
 Andrew


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 3:00 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 I don't see anything running in that thread dump. No threads are processing
 requests. Are you sure it's taking a long time, or is it maybe finished?
 Try capturing the thread dump exactly when you experience slowness. I'd
 also suggest bumping the initial heap to at least 512MB or something like
 that. How much RAM do you have? How much data are you inserting?

 Thanks,
 David

 On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  I increased the memory settings in neo4j-wrapper.conf as below
  # Initial Java Heap Size (in MB)
  wrapper.java.initmemory=30
 
  # Maximum Java Heap Size (in MB)
  wrapper.java.maxmemory=1024
 
  However the same problem is still happening. I attach the thread dump to
  this mail. I appreciate it if you tell me what's wrong based on the
 thread
  dump.
 
  Thank you!
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 11:39 AM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Good to hear that you got the logging sorted out.
 
  Regarding the actual issues, it sounds like you're describing two
 different
  things. One is that you index ontology nodes in one global index and
  therefore run into conflicts. The other is that the upload appears to
 stall
  for some reason.
 
  Regarding the global index, did you intend to design the system that way,
  or do you really want a separate index for each ontology? It sounds like
  that would be reasonable.
 
  As for the stalled upload, a thread dump during the slow processing would
  be most helpful. On a Linux system, you can capture that by doing kill -3
  pid on the Java process. It should then go to console.log.
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   Hi David,
  
   Thank you for getting back to me!
   Finally I can make it work by changing the log level from INFO (by
   default) to FINEST in the logging.property.
  
   I have a question for you though. Currently my project have a problem
  with
   uploading data to the store. I created only 1 index for the whole
   application and the node name as the key. Several nodes in different
   ontologies have the same names.  So when an ontology is uploaded to the
   store and has a node that its name has been already in the index (by
   previous ontologies) this node is not created in the graph of this
   ontology. My app can upload a number of ontologies and graphs are
 created
   successfully for each ontology in the store. However when the process
   uploads the 9th ontology the store does not respond and it seems busy
  with
   some internal process like looking up the node in the index or
 something
   else. I'm stuck and don't know the cause of the problem. Do you have
 any
   clue or suggestions?
  
   Appreciate your help!
  
   Regards,
  
  
   
   From: David Montag david.mon...@neotechnology.com
   To: Peter Neubauer peter.neuba...@neotechnology.com
   Cc: Neo4j user discussions user@lists.neo4j.org
   Sent: Wednesday, November 9, 2011 10:07 PM
   Subject: Re: [Neo4j] Neo4j REST server's log files
  
   Hi Andrew,
  
   Let's connect during the day tomorrow for a higher-bandwidth
 discussion.
  Do
   you have Skype?
  
   Thanks,
   David
  
   On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
   peter.neuba...@neotechnology.com wrote:
  
Andrew,
this sounds like the RRD database in the server got broken. Could you
delete data/rrd and start up again? Also, David is in your timezone
and maybe can connect with you directly to look into this?
   
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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
   wrote:


 Hi Peter,

 I don't understand

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton
/fetch/1320942588 on 
org.mortbay.jetty.HttpConnection@66e90097
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: session=null
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: servlet=org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: 
chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: call filter org.neo4j.server.statistic.StatisticFilter
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: call servlet org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: RESPONSE /db/manage/server/monitor/fetch/1320942588  200

and the server displays a request for next node in my ontology.

But when I upload many ontology then when the problem happened the server keeps 
displaying blocks of  request for fetch like FINE: REQUEST 
/db/manage/server/monitor/fetch/ on 
org.mortbay.jetty.HttpConnection@66e90097

Sorry for this long mail. I have no clue what causes the problem.

Thank you very much,

Regards



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 3:31 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Can you describe how you see that it stops? Because the thread dump isn't
showing anything of significance running.

David

On Thu, Nov 10, 2011 at 3:28 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 The total size of files stored into the db when the problem happened was
 only 800KB. My RAM is 4G.
 I ran the kill command when the problem happened because it just stopped
 and I did not notice slowness.

 I will increase the heap to 512MB and test again.

 Thanks,
 Andrew


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 3:00 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 I don't see anything running in that thread dump. No threads are processing
 requests. Are you sure it's taking a long time, or is it maybe finished?
 Try capturing the thread dump exactly when you experience slowness. I'd
 also suggest bumping the initial heap to at least 512MB or something like
 that. How much RAM do you have? How much data are you inserting?

 Thanks,
 David

 On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  I increased the memory settings in neo4j-wrapper.conf as below
  # Initial Java Heap Size (in MB)
  wrapper.java.initmemory=30
 
  # Maximum Java Heap Size (in MB)
  wrapper.java.maxmemory=1024
 
  However the same problem is still happening. I attach the thread dump to
  this mail. I appreciate it if you tell me what's wrong based on the
 thread
  dump.
 
  Thank you!
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 11:39 AM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Good to hear that you got the logging sorted out.
 
  Regarding the actual issues, it sounds like you're describing two
 different
  things. One is that you index ontology nodes in one global index and
  therefore run into conflicts. The other is that the upload appears to
 stall
  for some reason.
 
  Regarding the global index, did you intend to design the system that way,
  or do you really want a separate index for each ontology? It sounds like
  that would be reasonable.
 
  As for the stalled upload, a thread dump during the slow processing would
  be most helpful. On a Linux system, you can capture that by doing kill -3
  pid on the Java process. It should then go to console.log.
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   Hi David,
  
   Thank you for getting back to me!
   Finally I can make it work by changing the log level from INFO (by
   default) to FINEST in the logging.property.
  
   I have a question for you though. Currently my project have a problem
  with
   uploading data to the store. I created only 1 index for the whole
   application and the node name as the key. Several nodes in different
   ontologies have the same names.  So when an ontology is uploaded to the
   store and has a node that its name has been already in the index (by
   previous ontologies) this node

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread David Montag
:46:52 PM DefaultMBeanServerInterceptor getAttribute
 FINER: Attribute= HeapMemoryUsage, obj= java.lang:type=Memory
 Nov 10, 2011 3:46:52 PM Repository retrieve
 FINER: name=java.lang:type=Memory
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/manage/server/monitor/fetch/1320942588 on
 org.mortbay.jetty.HttpConnection@66e90097
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter org.neo4j.server.statistic.StatisticFilter
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: call servlet org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
 FINE: RESPONSE /db/manage/server/monitor/fetch/1320942588  200

 and the server displays a request for next node in my ontology.

 But when I upload many ontology then when the problem happened the server
 keeps displaying blocks of  request for fetch like FINE: REQUEST
 /db/manage/server/monitor/fetch/ on
 org.mortbay.jetty.HttpConnection@66e90097

 Sorry for this long mail. I have no clue what causes the problem.

 Thank you very much,

 Regards


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 3:31 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Can you describe how you see that it stops? Because the thread dump isn't
 showing anything of significance running.

 David

 On Thu, Nov 10, 2011 at 3:28 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  The total size of files stored into the db when the problem happened was
  only 800KB. My RAM is 4G.
  I ran the kill command when the problem happened because it just stopped
  and I did not notice slowness.
 
  I will increase the heap to 512MB and test again.
 
  Thanks,
  Andrew
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 3:00 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  I don't see anything running in that thread dump. No threads are
 processing
  requests. Are you sure it's taking a long time, or is it maybe finished?
  Try capturing the thread dump exactly when you experience slowness. I'd
  also suggest bumping the initial heap to at least 512MB or something like
  that. How much RAM do you have? How much data are you inserting?
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   Hi David,
  
   I increased the memory settings in neo4j-wrapper.conf as below
   # Initial Java Heap Size (in MB)
   wrapper.java.initmemory=30
  
   # Maximum Java Heap Size (in MB)
   wrapper.java.maxmemory=1024
  
   However the same problem is still happening. I attach the thread dump
 to
   this mail. I appreciate it if you tell me what's wrong based on the
  thread
   dump.
  
   Thank you!
  
  
   
   From: David Montag david.mon...@neotechnology.com
   To: Neo4j user discussions user@lists.neo4j.org
   Sent: Thursday, November 10, 2011 11:39 AM
   Subject: Re: [Neo4j] Neo4j REST server's log files
  
   Hi Andrew,
  
   Good to hear that you got the logging sorted out.
  
   Regarding the actual issues, it sounds like you're describing two
  different
   things. One is that you index ontology nodes in one global index and
   therefore run into conflicts. The other is that the upload appears to
  stall
   for some reason.
  
   Regarding the global index, did you intend to design the system that
 way,
   or do you really want a separate index for each ontology? It sounds
 like
   that would be reasonable.
  
   As for the stalled upload, a thread dump during the slow processing
 would
   be most helpful. On a Linux system, you can capture that by doing kill
 -3
   pid on the Java process. It should then go to console.log.
  
   Thanks,
   David
  
   On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com
  wrote:
  
   
   
Hi David,
   
Thank you for getting back to me!
Finally I can make it work by changing the log level from INFO (by
default) to FINEST

Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread Peter Neubauer
Andrew,
The database logs are in data/graphdb / messages.log
On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi,

 What log files of the Neo4J REST server can I use to check what's going on
 in the server? The log/console.log and neo4j.x.x.log do not show
 transactions in the run time. I also looked into graph.db/tm_tx_log.x but I
 did not learn anything from there. Can somebody give me some pointers?

 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 REST server's log files

2011-11-09 Thread andrew ton
Thanks Peter!

BR,



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 8:46 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
The database logs are in data/graphdb / messages.log
On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi,

 What log files of the Neo4J REST server can I use to check what's going on
 in the server? The log/console.log and neo4j.x.x.log do not show
 transactions in the run time. I also looked into graph.db/tm_tx_log.x but I
 did not learn anything from there. Can somebody give me some pointers?

 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
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi Peter,

I tried the messages.log but it only showed processes up to the time when the 
server is up

2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
2011-11-09 08:59:19.733-0800: Extension org.neo4j.kernel.KernelExtension[kernel 
jmx] loaded ok
2011-11-09 08:59:19.857-0800: Extension org.neo4j.kernel.KernelExtension[shell] 
loaded ok
2011-11-09 08:59:19.858-0800: Extension org.neo4j.kernel.KernelExtension[kernel 
udc] loaded ok

The manual shows that the logging is configured in conf/logging.properties 
(java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm using the 
default settings but the log file was not updated in the run time. 
My purpose is that I want to see what is wrong when I failed to store an 
ontology into Neo4J.
Please help me out!

Thanks and regards,




From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 8:46 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
The database logs are in data/graphdb / messages.log
On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi,

 What log files of the Neo4J REST server can I use to check what's going on
 in the server? The log/console.log and neo4j.x.x.log do not show
 transactions in the run time. I also looked into graph.db/tm_tx_log.x but I
 did not learn anything from there. Can somebody give me some pointers?

 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
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread Peter Neubauer
Andrew,
Go you have the generating code somewhere you check and reproduce?
On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
 2011-11-09 08:59:19.857-0800: Extension
 org.neo4j.kernel.KernelExtension[shell] loaded ok
 2011-11-09 08:59:19.858-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel udc] loaded ok

 The manual shows that the logging is configured in conf/logging.properties
 (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm using
 the default settings but the log file was not updated in the run time.
 My purpose is that I want to see what is wrong when I failed to store an
 ontology into Neo4J.
 Please help me out!

 Thanks and regards,



 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 8:46 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 The database logs are in data/graphdb / messages.log
 On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi,
 
  What log files of the Neo4J REST server can I use to check what's going
 on
  in the server? The log/console.log and neo4j.x.x.log do not show
  transactions in the run time. I also looked into graph.db/tm_tx_log.x
 but I
  did not learn anything from there. Can somebody give me some pointers?
 
  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
 ___
 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 REST server's log files

2011-11-09 Thread Mattias Persson
You want to look at data/log/console.log and data/log/neo4j.0.log (I think
it's called).

Peter, messages.log isn't for users, it's mainly for forensics/debugging
where a neo4j dev can get info by looking at.

Neo4j is rather light on the logging in general.

Den onsdagen den 9:e november 2011 skrev Peter Neubauer
peter.neuba...@neotechnology.com:
 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
 2011-11-09 08:59:19.857-0800: Extension
 org.neo4j.kernel.KernelExtension[shell] loaded ok
 2011-11-09 08:59:19.858-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel udc] loaded ok

 The manual shows that the logging is configured in
conf/logging.properties
 (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm
using
 the default settings but the log file was not updated in the run time.
 My purpose is that I want to see what is wrong when I failed to store an
 ontology into Neo4J.
 Please help me out!

 Thanks and regards,



 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 8:46 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 The database logs are in data/graphdb / messages.log
 On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi,
 
  What log files of the Neo4J REST server can I use to check what's going
 on
  in the server? The log/console.log and neo4j.x.x.log do not show
  transactions in the run time. I also looked into graph.db/tm_tx_log.x
 but I
  did not learn anything from there. Can somebody give me some pointers?
 
  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
 ___
 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


-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi Peter,

I don't understand much your question. However, in my Restlet application I 
have a logging service using Java log to record all processes in my app. My 
problem is that I upload 20 ontologies and after serveral ontologies the Neo4J 
stops responding my REST request. It seems busy with some index lookup process. 
Consequently my app throws a NoHttpResponseException: The target server failed 
to respond.
I'd like to see what causes the problem inside Neo4J. Unfortunately both 
messages.log and neo4j.x.x.log do not show run time processes.
BTW, when I start up the server the neo4j.x.x.log shows 

INFO: Server started on [http://localhost:7474/]
Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
WARNING: 
java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last update 
time was 1320862942, at least one second step is required
at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
at org.rrd4j.core.Sample.update(Sample.java:197)
at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)



Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.webadmin.rest
Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Root resource classes found:
  class org.neo4j.server.webadmin.rest.MonitorService
  class org.neo4j.server.webadmin.rest.RootService
  class org.neo4j.server.webadmin.rest.JmxService
  class org.neo4j.server.webadmin.rest.ConsoleService
Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Nov 9, 2011 12:43:44 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.rest.web
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Root resource classes found:
  class org.neo4j.server.rest.web.ResourcesService
  class org.neo4j.server.rest.web.BatchOperationService
  class org.neo4j.server.rest.web.RestfulGraphDatabase
  class org.neo4j.server.rest.web.DatabaseMetadataService
  class org.neo4j.server.rest.web.ExtensionService
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Provider classes found:
  class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
Nov 9, 2011 12:43:45 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.rest.discovery
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Root resource classes found:
  class org.neo4j.server.rest.discovery.DiscoveryService
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Nov 9, 2011 12:43:45 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'

Sorry for this long mail.

Thanks,



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 10:29 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
Go you have the generating code somewhere you check and reproduce?
On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
 2011-11-09 08:59:19.857-0800: Extension
 org.neo4j.kernel.KernelExtension[shell] loaded ok
 2011-11-09 08:59:19.858-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel udc] loaded ok

 The manual shows that the logging is configured in conf/logging.properties
 (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm using
 the default settings but the log file was not updated in the run time.
 My purpose is that I want to see what is wrong when I failed to store an
 ontology into Neo4J.
 Please help me out!

 Thanks and regards,



 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j

Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread Peter Neubauer
Andrew,
What neo4j version are you using?
On Nov 9, 2011 10:07 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I don't understand much your question. However, in my Restlet application
 I have a logging service using Java log to record all processes in my app.
 My problem is that I upload 20 ontologies and after serveral ontologies the
 Neo4J stops responding my REST request. It seems busy with some index
 lookup process. Consequently my app throws a NoHttpResponseException: The
 target server failed to respond.
 I'd like to see what causes the problem inside Neo4J. Unfortunately both
 messages.log and neo4j.x.x.log do not show run time processes.
 BTW, when I start up the server the neo4j.x.x.log shows

 INFO: Server started on [http://localhost:7474/]
 Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
 WARNING:
 java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
 update time was 1320862942, at least one second step is required
 at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
 at org.rrd4j.core.Sample.update(Sample.java:197)
 at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
 at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
 at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
 at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)

 

 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.webadmin.rest
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.webadmin.rest.MonitorService
   class org.neo4j.server.webadmin.rest.RootService
   class org.neo4j.server.webadmin.rest.JmxService
   class org.neo4j.server.webadmin.rest.ConsoleService
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:44 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.web
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.web.ResourcesService
   class org.neo4j.server.rest.web.BatchOperationService
   class org.neo4j.server.rest.web.RestfulGraphDatabase
   class org.neo4j.server.rest.web.DatabaseMetadataService
   class org.neo4j.server.rest.web.ExtensionService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Provider classes found:
   class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
 Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.discovery
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.discovery.DiscoveryService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'

 Sorry for this long mail.

 Thanks,


 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:29 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi Peter,
 
  I tried the messages.log but it only showed processes up to the time when
  the server is up
 
  2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
  2011-11-09 08:59:19.733-0800: Extension
  org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
  2011-11-09 08:59:19.857-0800: Extension
  org.neo4j.kernel.KernelExtension[shell] loaded ok
  2011-11-09 08:59:19.858-0800: Extension
  org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
 
  The manual shows that the logging is configured in
 conf/logging.properties
  (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm
 using
  the default settings but the log file was not updated in the run time.
  My purpose is that I want to see what is wrong

Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi,

I also looked into console.log and what I saw was

11/9/11 12:43:43 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: 
Starting Neo Server on port [7474] with [80] threads available
11/9/11 12:43:43 PM org.neo4j.server.database.Database INFO: Using database at 
/Programming/Projects/Resources/Semantic/NoSQL 
DataBases/Neo4J/package/neo4j-community-1.5-SNAPSHOT/data/graph.db
11/9/11 12:43:44 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted 
discovery module at [/]
11/9/11 12:43:44 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server 
plugin CypherPlugin
11/9/11 12:43:44 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server 
plugin GremlinPlugin
11/9/11 12:43:44 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST 
API at [/db/data/]
11/9/11 12:43:44 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted 
management API at [/db/manage/]
11/9/11 12:43:44 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted 
webadmin at [/webadmin]
11/9/11 12:43:44 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting static 
content at [/webadmin] from [webadmin-html]
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /webadmin
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /db/manage
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /db/data
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /
11/9/11 12:43:45 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: 
Server started on [http://localhost:7474/]


This log did not show updates in the run time either.

Thanks,




From: Mattias Persson matt...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 12:38 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

You want to look at data/log/console.log and data/log/neo4j.0.log (I think
it's called).

Peter, messages.log isn't for users, it's mainly for forensics/debugging
where a neo4j dev can get info by looking at.

Neo4j is rather light on the logging in general.

Den onsdagen den 9:e november 2011 skrev Peter Neubauer
peter.neuba...@neotechnology.com:
 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
 2011-11-09 08:59:19.857-0800: Extension
 org.neo4j.kernel.KernelExtension[shell] loaded ok
 2011-11-09 08:59:19.858-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel udc] loaded ok

 The manual shows that the logging is configured in
conf/logging.properties
 (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm
using
 the default settings but the log file was not updated in the run time.
 My purpose is that I want to see what is wrong when I failed to store an
 ontology into Neo4J.
 Please help me out!

 Thanks and regards,



 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 8:46 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 The database logs are in data/graphdb / messages.log
 On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi,
 
  What log files of the Neo4J REST server can I use to check what's going
 on
  in the server? The log/console.log and neo4j.x.x.log do not show
  transactions in the run time. I also looked into graph.db/tm_tx_log.x
 but I
  did not learn anything from there. Can somebody give me some pointers?
 
  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
 ___
 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


-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.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] Neo4j REST server's log files

2011-11-09 Thread andrew ton


I'm using 1.5-SNAPSHOT

Andrew



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 1:11 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
What neo4j version are you using?
On Nov 9, 2011 10:07 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I don't understand much your question. However, in my Restlet application
 I have a logging service using Java log to record all processes in my app.
 My problem is that I upload 20 ontologies and after serveral ontologies the
 Neo4J stops responding my REST request. It seems busy with some index
 lookup process. Consequently my app throws a NoHttpResponseException: The
 target server failed to respond.
 I'd like to see what causes the problem inside Neo4J. Unfortunately both
 messages.log and neo4j.x.x.log do not show run time processes.
 BTW, when I start up the server the neo4j.x.x.log shows

 INFO: Server started on [http://localhost:7474/]
 Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
 WARNING:
 java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
 update time was 1320862942, at least one second step is required
 at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
 at org.rrd4j.core.Sample.update(Sample.java:197)
 at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
 at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
 at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
 at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)

 

 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.webadmin.rest
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.webadmin.rest.MonitorService
   class org.neo4j.server.webadmin.rest.RootService
   class org.neo4j.server.webadmin.rest.JmxService
   class org.neo4j.server.webadmin.rest.ConsoleService
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:44 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.web
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.web.ResourcesService
   class org.neo4j.server.rest.web.BatchOperationService
   class org.neo4j.server.rest.web.RestfulGraphDatabase
   class org.neo4j.server.rest.web.DatabaseMetadataService
   class org.neo4j.server.rest.web.ExtensionService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Provider classes found:
   class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
 Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.discovery
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.discovery.DiscoveryService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'

 Sorry for this long mail.

 Thanks,


 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:29 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi Peter,
 
  I tried the messages.log but it only showed processes up to the time when
  the server is up
 
  2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
  2011-11-09 08:59:19.733-0800: Extension
  org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
  2011-11-09 08:59:19.857-0800: Extension
  org.neo4j.kernel.KernelExtension[shell] loaded ok
  2011-11-09 08:59:19.858-0800: Extension
  org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
 
  The manual shows

Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread Peter Neubauer
Andrew,
this sounds like the RRD database in the server got broken. Could you
delete data/rrd and start up again? Also, David is in your timezone
and maybe can connect with you directly to look into this?

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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com wrote:


 Hi Peter,

 I don't understand much your question. However, in my Restlet application I 
 have a logging service using Java log to record all processes in my app. My 
 problem is that I upload 20 ontologies and after serveral ontologies the 
 Neo4J stops responding my REST request. It seems busy with some index lookup 
 process. Consequently my app throws a NoHttpResponseException: The target 
 server failed to respond.
 I'd like to see what causes the problem inside Neo4J. Unfortunately both 
 messages.log and neo4j.x.x.log do not show run time processes.
 BTW, when I start up the server the neo4j.x.x.log shows

 INFO: Server started on [http://localhost:7474/]
 Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
 WARNING:
 java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last update 
 time was 1320862942, at least one second step is required
 at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
 at org.rrd4j.core.Sample.update(Sample.java:197)
 at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
 at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
 at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
 at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)

 

 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.webadmin.rest
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig 
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.webadmin.rest.MonitorService
   class org.neo4j.server.webadmin.rest.RootService
   class org.neo4j.server.webadmin.rest.JmxService
   class org.neo4j.server.webadmin.rest.ConsoleService
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:44 PM 
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.web
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.web.ResourcesService
   class org.neo4j.server.rest.web.BatchOperationService
   class org.neo4j.server.rest.web.RestfulGraphDatabase
   class org.neo4j.server.rest.web.DatabaseMetadataService
   class org.neo4j.server.rest.web.ExtensionService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
 logClasses
 INFO: Provider classes found:
   class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
 Nov 9, 2011 12:43:45 PM 
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.discovery
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.discovery.DiscoveryService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:45 PM 
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'

 Sorry for this long mail.

 Thanks,


 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:29 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension

Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread David Montag
Hi Andrew,

Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
you have Skype?

Thanks,
David

On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Andrew,
 this sounds like the RRD database in the server got broken. Could you
 delete data/rrd and start up again? Also, David is in your timezone
 and maybe can connect with you directly to look into this?

 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 Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com wrote:
 
 
  Hi Peter,
 
  I don't understand much your question. However, in my Restlet
 application I have a logging service using Java log to record all processes
 in my app. My problem is that I upload 20 ontologies and after serveral
 ontologies the Neo4J stops responding my REST request. It seems busy with
 some index lookup process. Consequently my app throws
 a NoHttpResponseException: The target server failed to respond.
  I'd like to see what causes the problem inside Neo4J. Unfortunately both
 messages.log and neo4j.x.x.log do not show run time processes.
  BTW, when I start up the server the neo4j.x.x.log shows
 
  INFO: Server started on [http://localhost:7474/]
  Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
  WARNING:
  java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
 update time was 1320862942, at least one second step is required
  at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
  at org.rrd4j.core.Sample.update(Sample.java:197)
  at
 org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
  at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
  at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
  at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
  at java.util.TimerThread.mainLoop(Timer.java:512)
  at java.util.TimerThread.run(Timer.java:462)
 
  
 
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.webadmin.rest
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
class org.neo4j.server.webadmin.rest.MonitorService
class org.neo4j.server.webadmin.rest.RootService
class org.neo4j.server.webadmin.rest.JmxService
class org.neo4j.server.webadmin.rest.ConsoleService
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 init
  INFO: No provider classes found.
  Nov 9, 2011 12:43:44 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
  INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011
 11:17 AM'
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.rest.web
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
class org.neo4j.server.rest.web.ResourcesService
class org.neo4j.server.rest.web.BatchOperationService
class org.neo4j.server.rest.web.RestfulGraphDatabase
class org.neo4j.server.rest.web.DatabaseMetadataService
class org.neo4j.server.rest.web.ExtensionService
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Provider classes found:
class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
  Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
  INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011
 11:17 AM'
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.rest.discovery
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
class org.neo4j.server.rest.discovery.DiscoveryService
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 init
  INFO: No provider classes found.
  Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
  INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011
 11:17 AM'
 
  Sorry for this long mail.
 
  Thanks,
 
 
  
  From: Peter Neubauer peter.neuba...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Wednesday, November 9, 2011 10:29 AM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Andrew,
  Go you have the generating code somewhere you check and reproduce