How to debug solr exceptions/warnings for Alfresco (Part 1)

There are two kinds of solr error / warnings that I’ve seen a few times but never really investigated further. Now when in the process of migrating a big Alfresco installation from Lucene to Solr we had alot of errors and warnings that needed to be investigated and fixed.

Error/warning 1:

2015-04-28 16:11:35,532 WARN  [org.alfresco.solr.tracker.CoreTracker] Node index failed and skipped for 4777625 in Tx 9223372036854775807 Read timed out
       at Method)
        at org.apache.commons.httpclient.HttpParser.readRawLine(
        at org.apache.commons.httpclient.HttpParser.readLine(
        at org.apache.commons.httpclient.HttpConnection.readLine(
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(
        at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(
        at org.apache.commons.httpclient.HttpMethodBase.readResponse(
        at org.apache.commons.httpclient.HttpMethodBase.execute(
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
        at org.apache.commons.httpclient.HttpClient.executeMethod(
        at org.apache.commons.httpclient.HttpClient.executeMethod(
        at org.alfresco.httpclient.AbstractHttpClient.executeMethod(
        at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(
        at org.alfresco.httpclient.HttpClientFactory$DefaultHttpClient.sendRequest(
        at org.alfresco.solr.client.SOLRAPIClient.getTextContent(
        at org.alfresco.solr.tracker.CoreTracker.addContentPropertyToDoc(
        at org.alfresco.solr.tracker.CoreTracker.indexNode(
        at org.alfresco.solr.tracker.CoreTracker.reindexNodes(
        at org.alfresco.solr.tracker.CoreTracker.updateIndex(
        at org.alfresco.solr.tracker.CoreTrackerJob.execute(
        at org.quartz.simpl.SimpleThreadPool$

Error/warning 2:

2015-04-28 15:02:50,413 WARN  [org.alfresco.solr.tracker.CoreTracker] Node index failed and skipped for 6899573 in Tx 9223372036854775807
org.json.JSONException: Unterminated string at character 1866
        at org.json.JSONTokener.syntaxError(
        at org.json.JSONTokener.nextString(
        at org.json.JSONTokener.nextValue(
        at org.json.JSONObject.(
        at org.json.JSONTokener.nextValue(
        at org.json.JSONArray.(
        at org.json.JSONTokener.nextValue(
        at org.json.JSONObject.(
        at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(
        at org.alfresco.solr.tracker.CoreTracker.indexNode(
        at org.alfresco.solr.tracker.CoreTracker.reindexNodes(
        at org.alfresco.solr.tracker.CoreTracker.updateIndex(
        at org.alfresco.solr.tracker.CoreTrackerJob.execute(
        at org.quartz.simpl.SimpleThreadPool$

This first part of the guide will cover the first error/warning.

This particular error comes from a timeout when Alfresco is trying to extract text content from the document. Possible causes could be a slow transformation or high load on the system. So the place to start would be to just increase the timeout in solr so that it waits around a bit longer for a response. This is done by modifying the SOLR_HOME/workspace-SpacesStore/conf/ and SOLR_HOME/archive-SpacesStore/conf/

The setting to look for is: alfresco.socketTimeout. Default value is 60 seconds (60000). Increase it to a level suitable for your installation such as alfresco.socketTimeout=240000 for 4 minutes timeout.

Some times increasing the timeout does not help and you see that Alfresco is working hard to serve the request. Then you might have to do with a corrupt document or a document which is too large to effectively export text content from.

Part 2 of this guide will contain information about the other error/warning. In it you will also get some tips on how to get more information about a failed index request.

How to debug solr exceptions/warnings for Alfresco (Part 2)
How to debug solr exceptions/warnings for Alfresco (Part 3)

This entry was posted in Alfresco, Solr. Bookmark the permalink.

93 Responses to How to debug solr exceptions/warnings for Alfresco (Part 1)

  1. Lepsofts says:

    Fantastic website content. Just what I ended up being looking for!
    All the best,
    Check out your fresh SE position at type in google lepsoft RankChecker

  2. thanks for sharing bro

  3. Thomas says:

    Great post! Have nice day ! :) u1uix

  4. Ivan says:

    Hi Marcus,

    Amaze! I have been looking bing for hours because of this and I also in the end think it is in this article! Maybe I recommend you something helps me all the time?

    For the last several years, micro services has been an important trend in IT architecture. Technology consulting firm Thought works has declared that “a micro services architecture as programming model” is one of the four rising trends of 2017, whereas others in the press are expressing their endorsement of micro services making architects and IT executives feel a fear of missing out on the next exciting trend.
    I am so grateful for your blog. Really looking forward to read more.

    Thank you,

  5. kiranmaibabu says:


    Thanks for the information. The information you provided is very helpful.concept providers very well.


  6. sao says:

    많은 정보 감사히 받겠습니다.

  7. youjizz says:

    In, set the property ‘solr.secureComms’ to ‘none’ and ensure that the property ‘solr.port’ is set to the correct non-SSL port of the application server in which Solr is running. Similarly, in each file, set the property ‘alfresco.secureComms’ to ‘none’ and ensure that the property ‘alfresco.port’ is set to the correct non-SSL port of the application server in which your repository is running.

  8. Name says:

    comment text

  9. And then came Givenchy, with his quietly glam, simple dress — and Hepburn, of course, who was on her way to becoming a fashion and film icon. The duo ushered the LBD into its modern-day interpretation: a piece of clothing that evokes a wondrous lifestyle but does that in the simplest way, no frills required.

  10. dok222 says:

    Titus Kaphar’s “Enough About You” greets your first glance. Kaphar’s much-lauded work is based on an 18th-century painting, but in his version, the focus is placed on a young black boy, whose portrait is placed in an ornate gold frame. Meanwhile, the rest of the composition — featuring white men in powder wigs, including Elihu Yale

  11. best373 says:

    is crumpled up and trails off across the wall. Kaphar’s work speculates on the life, desires and hopes of the lone black figure, who, in the original work, remains small in the background, serving Yale and colleagues while wearing a steel collar. The work is ambitious, demanding and a reckoning on black possibilities. And it encapsulates the ethos of Lewis’ dynamic art collection.

  12. dok222 says:

    Lewis, who recently became the creative director of UTA Fine Arts and UTA Artist Space, is a fixture of the Los Angeles art community. But before Los Angeles, and before 13 years of building his bold collection, his earliest engagements with art happened in his hometown of New Orleans.

  13. ccclub700 says:

    Lewis credits the city’s black cultural productions, museums and vibrancy as an aesthetic and ethical foundation for what would become the tenets of his collection: brilliantly executed craftsmanship, narrative-driven practices and the work of black practitioners.

  14. hgame79 says:

    from Mardi Gras celebrations and artisans to the sculptures and festivities of Louis Armstrong Park. “Being able to grow up in that land of music, food and art, and then being in this beautiful community of artists that were just part of our everyday scene, was an extraordinary thing,” Lewis said.

  15. Cristiano says:

    This is only one of the bestforumin therm of communication between people. I had a very meaningful dialogue with a member which frequently Go to This Site about custom merchandise Custom popcorn boxes wholesale and her told me about

  16. Thunderball results history shows all the previous thunderball results, with complete prize breakdown. If you have missed the latest thunderball result, we are here to help you with free thunderball past results with complete prize and information for free.

  17. You can play lunchtime results offline and online both. The UK49s is one of the biggest national lotteries which have been played with a gap.

  18. 49s says:

    49s legally established as 6 balls and 1 is bonus ball. However, depending on your betting and cash spend on stakes you can choose randomly one ball. Then play with only one ball for which you are betting out.

  19. Nothing is more admirable than the fortitude with which millionaires tolerate the disadvantages of their wealth.

  20. Nice guidelines, many because of the writer. It is comprehensible in my opinion now, the usefulness and importance is overwhelming. Many thanks yet again and best of luck!

  21. Just file making clear content. I beg your pardon? exactly I needed! I have been previously browsing search engines like google the complete sunlight hours for some correct item such as this

  22. require instant cash winstar casino concerts however, given that a property loan can be a long-term

  23. to read more says:

    problems? A number of my blog visitors have complained about my website not working correctly in Explorer but looks great in Opera.

  24. Thank you, I ave recently been looking for info about this subject for ages and yours is the best I have discovered so far. But, what about the conclusion? Are you sure about the source?

  25. Thanks for the article post. Keep writing.

  26. Tattoo Shops says:

    Thanks a lot for the blog article. Fantastic.

  27. C_TS4C_2020 says:

    Im no professional, but I think you just made the best point. You obviously comprehend what youre talking about, and I can definitely get behind that. Thanks for staying so upfront and so truthful.

  28. Thanks a lot for the blog post.Much thanks again. Keep writing.

  29. Really appreciate you sharing this blog article. Will read on

  30. Right away I am ready to do my breakfast, later than having my breakfast coming again to read more news.

  31. Looking forward to reading more. Great article post.Really thank you! Keep writing.

  32. Viagra says:

    There as noticeably a bundle to find out about this. I assume you made certain nice factors in features also.

  33. This Site says:

    Very good article! We are linking to this particularly great post on our site. Keep up the great writing.

  34. Rolet online says:

    Optimization? I am trying to get my blog to rank for some targeted keywords but I am not seeing very good gains.

  35. Muchos Gracias for your blog post. Awesome.

  36. Secondary moment My partner and i acquired and then both of those events happy with %anchor% When important I most certainly will arrangement as a result supplier once again..Fantastic occupation.

  37. Thank you for your post.Thanks Again. Really Great.

  38. Thank you so much and I am looking ahead to touch you.

  39. laptop akku says:

    Took me time to understand all of the comments, but I seriously enjoyed the write-up. It proved being really helpful to me and Im positive to all of the commenters right here! Its constantly nice when you can not only be informed, but also entertained! I am certain you had enjoyable writing this write-up.

  40. I was reading some of your blog posts on this site and I conceive this internet site is real informative! Keep posting.

  41. This article has truly peaked my interest. I am going to bookmark

  42. Wow, marvelous blog layout! How long have you been

  43. sante de et le territoire et sa batarde sera je

  44. windows says:

    There as certainly a great deal to know about this subject. I like all the points you ave made.

  45. Some actually good content on this web web site, appreciate it for share. A conservative can be a man who sits and thinks, mostly is located. by Woodrow Wilson.

  46. erotik says:

    transfers a slice of the risk he takes on your behalf, back to you.

  47. romance understanding. With online video clip clip

  48. Tattoo Shops says:

    This very blog is without a doubt entertaining and amusing. I have chosen many useful things out of this amazing blog. I ad love to go back again soon. Thanks!

  49. It as not that I want to duplicate your web-site, but I really like the design and style. Could you tell me which design are you using? Or was it tailor made?

  50. What are the laptops with best battery life?
    It’s all a numbers game, so deciding which are the laptops with best battery life is objective. Right now, the laptop with best battery life you can buy is the Dell Latitude 9410 2-in-1, which comes in at a ridiculous 16 hours and 54 minutes. This is one of the best business laptops that you can buy. Along with its epic endurance, this ultraportable enterprise machine has a slim yet durable chassis, a solid 1080p display and plenty of security features, including a fingerprint sensor and IR camera.

    Long The battery life Dell Latitude E4200 Battery

  51. wonderful points altogether, you simply gained a brand new reader. What would you suggest in regards to your post that you made some days ago? Any positive?

  52. bwi says:

    womens ray ban sunglasses ??????30????????????????5??????????????? | ????????

  53. Thank you for producing the powerful, dependable, educational and as well as easy tips about your topic.

  54. I really liked your post.Really thank you! Keep writing.

  55. wonderful points altogether, you simply gained a brand new reader. What would you suggest in regards to your post that you made some days ago? Any positive?
    I really liked your post. Really thank you! Keep writing.

  56. 에세머 says:

    Looking around I like to surf around the web, often I will just go to Digg and follow thru

  57. the book in it or something. I think that you

  58. 부커취 says:

    This awesome blog is really interesting and besides diverting. I have picked many useful advices out of this source. I ad love to come back over and over again. Thanks a lot!

  59. I truly appreciate this blog article.Really thank you! Want more.

  60. 관전클럽 says:

    share. I know this is off topic but I simply needed to

  61. venue finder says:

    I think this is a real great blog article.Thanks Again. Cool.

  62. Porn Videos says:

    Merely wanna input that you have a very decent internet site , I like the style it actually stands out.

  63. You made some decent points there. I did a search on the subject matter and found most guys will go along with with your site.

  64. pretty practical stuff, overall I feel this is really worth a bookmark, thanks

  65. That is a admirable blog, does one be engaged happening accomplish a interview around definitely how you will drafted the item? In that case mail me personally!

  66. Pinganillo says:

    Thanks so much for the article.Much thanks again. Will read on

  67. I think this is a real great blog article.Thanks Again. Will read on

  68. me profite et quoi tokyo pas va changer que avaient ete rabattus

  69. Business says:

    Very neat blog post.Really looking forward to read more.

  70. Thanks so much for the blog post.Really looking forward to read more. Really Great.

  71. Tattoo Shops says:

    I think this is a real great article post.Really thank you! Cool.

  72. Spot taking place with this write-up, I rightly ponder this website wants much further issue. I all in every probability be yet again to read a long way additional, merit for that info.

  73. There is obviously a bundle to realize about this. I think you made various nice points in features also.

  74. Really appreciate you sharing this blog.Much thanks again. Keep writing.

  75. kamagra says:

    Thanks for the article.Much thanks again. Cool.

  76. This really answered my drawback, thank you!

  77. kallos says:

    It as enormous that you are getting thoughts from this post

  78. Major thankies for the blog.Much thanks again. Cool.

  79. It as uncommon knowledgeable folks for this subject, but you sound like there as a lot more you are discussing! Thanks

  80. soon it wilpl be well-known, due to itss feature contents.

  81. There is evidently a bundle to identify about this. I suppose you made certain good points in features also.

  82. You can definitely see your expertise within the work you write.

  83. This website definitely has all of the information I needed about this subject and didn at know who to ask.

  84. This is one awesome post.Really looking forward to read more. Keep writing.

  85. I value the blog article.Really looking forward to read more. Much obliged.

  86. You, my friend, ROCK! I found just the info I already searched all over the place and just couldn at find it. What a great web-site.

  87. This is the Hold’em Money Award that explains how to use the Hold’em Tournament, game rules, and the game money award. With the 24/7 system, you can convert various game money into cash, and we will introduce hold’em tournament rules, terminology, game methods, and know-how. 홀덤토너먼트

  88. This blog was… how do you say it? Relevant!!
    Finally I have found something which helped me. Cheers! Please also visit my website 인터넷카지노

  89. can someone explain what is the meaning of all this? 인터넷바카라

  90. It抯 onerous to search out knowledgeable folks on this topic, however you sound like you already know what you抮e speaking about! Thanks

  91. Wow, great blog article.Really thank you! Cool.

  92. waldorf says:

    great blog article.Really thank you

Leave a Reply to rolex replica Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>