AnsweredAssumed Answered

Solr Connection Reset while tracking

Question asked by babarlefou on Feb 6, 2013
Latest reply on Feb 13, 2013 by andy
Hi,

I have a problem for a few days when Solr try to track the repository. Here is the error in the log (at the end) :

Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker updateIndex
INFO: … updating alfresco
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker updateIndex
INFO: … updating archive
Feb 6, 2013 5:00:00 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Feb 6, 2013 5:00:00 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model dl:datalistmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model bpm:businessprocessmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model wf:workflowmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model pub:publishingmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model wcmwf:workflowmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model dl:datalistmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model bpm:businessprocessmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model wf:workflowmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model act:actionmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker loadModel
INFO: Loading model pub:publishingmodel
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3468, commitTimeMs=1360040425452, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3468, commitTimeMs=1360040425452, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3468, commitTimeMs=1360040425452, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3468, commitTimeMs=1360040425452, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3469, commitTimeMs=1360126825020, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3469, commitTimeMs=1360126825020, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3469, commitTimeMs=1360126825020, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3469, commitTimeMs=1360126825020, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3469, commitTimeMs=1360126825020, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3484, commitTimeMs=1360126954333, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3469, commitTimeMs=1360126825020, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3484, commitTimeMs=1360126954333, aclCount=4]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3485, commitTimeMs=1360141277195, aclCount=1]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3485, commitTimeMs=1360141277195, aclCount=1]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from AclChangeSet [id=3485, commitTimeMs=1360141277195, aclCount=1]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to AclChangeSet [id=3485, commitTimeMs=1360141277195, aclCount=1]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. non found after lastTxCommitTime 1360141277195
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning Acl change sets …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. non found after lastTxCommitTime 1360141277195
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=128660, commitTimeMs=1360145698163, updates=0, deletes=0]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=128841, commitTimeMs=1360149257203, updates=0, deletes=0]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=129303, commitTimeMs=1360161850203, updates=0, deletes=0]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=129561, commitTimeMs=1360165411487, updates=0, deletes=0]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=129561, commitTimeMs=1360165411487, updates=0, deletes=0]
Feb 6, 2013 5:00:00 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=129603, commitTimeMs=1360166335055, updates=1, deletes=0]
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. non found after lastTxCommitTime 1360166335055
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:01 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:02 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:02 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:05 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:05 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:15 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:15 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:15 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:15 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=128841, commitTimeMs=1360149257203, updates=0, deletes=0]
Feb 6, 2013 5:00:15 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=129026, commitTimeMs=1360152829168, updates=0, deletes=0]
Feb 6, 2013 5:00:15 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:17 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:17 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:17 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=129026, commitTimeMs=1360152829168, updates=0, deletes=0]
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=129118, commitTimeMs=1360156369846, updates=0, deletes=0]
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:20 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=129118, commitTimeMs=1360156369846, updates=0, deletes=0]
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=129203, commitTimeMs=1360159909954, updates=0, deletes=0]
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:00:21 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:49 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: Scanning transactions …
Feb 6, 2013 5:00:49 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. from Transaction [id=129203, commitTimeMs=1360159909954, updates=0, deletes=0]
Feb 6, 2013 5:00:49 PM org.alfresco.solr.tracker.CoreTracker trackRepository
INFO: …. to Transaction [id=129477, commitTimeMs=1360163488075, updates=0, deletes=0]
Feb 6, 2013 5:00:49 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:49 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:49 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:00:50 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:01:16 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:01:43 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:09 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:09 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:09 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:09 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:10 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:11 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:11 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:11 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:34 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:34 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:34 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:34 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:34 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:35 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:35 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:35 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:35 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:35 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:35 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:02:58 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:02:58 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. updating
Feb 6, 2013 5:03:18 PM org.alfresco.solr.tracker.CoreTracker indexNode
INFO: .. checking for path change
Feb 6, 2013 5:08:20 PM org.alfresco.solr.tracker.CoreTracker trackRepository
SEVERE: Tracking failed
java.net.SocketException: Connection reset
   at java.net.SocketInputStream.read(SocketInputStream.java:168)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
   at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
   at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
   at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
   at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
   at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
   at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
   at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
   at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
   at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
   at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
   at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
   at org.alfresco.httpclient.AbstractHttpClient.executeMethod(AbstractHttpClient.java:110)
   at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:86)
   at org.alfresco.httpclient.HttpClientFactory$DefaultHttpClient.sendRequest(HttpClientFactory.java:329)
   at org.alfresco.solr.client.SOLRAPIClient.getTextContent(SOLRAPIClient.java:943)
   at org.alfresco.solr.tracker.CoreTracker.addContentPropertyToDoc(CoreTracker.java:2201)
   at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:1986)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1410)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)


Do you have an idea about this problem ?
The problem became from the getTextContent function, so how can I know the node which make the error ?

I'm working on Alfresco 4.0d.

Thank you.

Outcomes