There are many exceptions thrown in solr.log during shutdown the tomcat

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
bensonfungjava
Member II

There are many exceptions thrown in solr.log during shutdown the tomcat

Hi,

I am new to Alfresco 5.  The alfresco 5 has been installed into our server for a while and it works fine.  However, recently, I found that when I shutdown the tomcat from the alfresco provided console, it will show 'UNABLE TO STOP TOMCAT', but the tomcat sometimes still can stop but sometimes cannot.  And behind the scenes, there is a lot of exception thrown in solr.log as below.  Do anyone know why there are such exceptions thrown during tomcat shutdown.

23:37:45,042 ERROR [org.alfresco.solr.tracker.CoreTracker] Tracking failed
java.net.SocketException: Socket Closed
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(Unknown Source)
   at java.net.SocketInputStream.read(Unknown Source)
   at sun.security.ssl.InputRecord.readFully(Unknown Source)
   at sun.security.ssl.InputRecord.read(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
   at sun.security.ssl.AppInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.fill(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   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:135)
   at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:111)
   at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(HttpClientFactory.java:385)
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1088)
   at org.alfresco.solr.tracker.CoreTracker.trackModelsImpl(CoreTracker.java:1365)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:2042)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:897)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:378)
   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)
2015-09-30 23:37:45,073 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 08300000 api/solr/aclchangesets return status:503
   at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:159)
   at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:347)
   at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
   at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2015-09-30 23:37:45,104 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 08300001 GetTransactions return status is 503
   at org.alfresco.solr.client.SOLRAPIClient.getTransactions(SOLRAPIClient.java:415)
   at org.alfresco.solr.tracker.MetadataTracker.checkRepoAndIndexConsistency(MetadataTracker.java:156)
   at org.alfresco.solr.tracker.MetadataTracker.trackRepository(MetadataTracker.java:122)
   at org.alfresco.solr.tracker.MetadataTracker.doTrack(MetadataTracker.java:97)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2015-09-30 23:37:45,167 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 08300002 GetTransactions return status is 503
   at org.alfresco.solr.client.SOLRAPIClient.getTransactions(SOLRAPIClient.java:415)
   at org.alfresco.solr.tracker.MetadataTracker.checkRepoAndIndexConsistency(MetadataTracker.java:156)
   at org.alfresco.solr.tracker.MetadataTracker.trackRepository(MetadataTracker.java:122)
   at org.alfresco.solr.tracker.MetadataTracker.doTrack(MetadataTracker.java:97)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2015-09-30 23:43:45,224 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
java.lang.IllegalStateException: Connection factory has been shutdown.
   at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:463)
   at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
   at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
   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:135)
   at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:111)
   at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(HttpClientFactory.java:385)
   at org.alfresco.solr.client.SOLRAPIClient.getTransactions(SOLRAPIClient.java:412)
   at org.alfresco.solr.tracker.MetadataTracker.checkRepoAndIndexConsistency(MetadataTracker.java:156)
   at org.alfresco.solr.tracker.MetadataTracker.trackRepository(MetadataTracker.java:122)
   at org.alfresco.solr.tracker.MetadataTracker.doTrack(MetadataTracker.java:97)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2015-09-30 23:43:45,224 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
java.lang.IllegalStateException: Connection factory has been shutdown.
   at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:463)
   at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
   at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
   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:135)
   at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:111)
   at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(HttpClientFactory.java:385)
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1088)
   at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:249)
   at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:221)
   at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:167)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
23:46:23,892 WARN  [org.apache.solr.handler.component.SpellCheckComponent] No queryConverter defined, using default converter
23:46:24,610 WARN  [org.apache.solr.handler.component.SpellCheckComponent] No queryConverter defined, using default converter
2015-09-30 23:46:30,977 INFO  [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2015-09-30 23:46:31,078 INFO  [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2015-09-30 23:46:31,141 INFO  [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loading suggester index for: shingleBasedSuggestions
2015-09-30 23:46:31,869 INFO  [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loaded suggester shingleBasedSuggestions, took 727 ms
1 Reply
jefflee
Member II

Re: There are many exceptions thrown in solr.log during shutdown the tomcat

I got the same problem. Anyone has solution?