Hi,
I configured alfresco, share and solr4 wars on tomcat and am able to run share without issues. However I see below solr4 exception. I am able to search existing documents from the search, however, new imported docs are not being picked up. If I delete the solr4 index, content, and model folders, the reindex is able to pickup my custom docs and they show up in the search. However, any new docs imported are not being picked up. I believe it is due to below issue.
2017-02-28 14:34:19,309 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2017-02-28 14:34:19,309 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2017-02-28 14:34:19,418 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loading suggester index for: shingleBasedSuggestions
2017-02-28 14:34:19,502 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loaded suggester shingleBasedSuggestions, took 84 ms
2017-02-28 14:35:30,166 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
java.lang.NullPointerException
at org.alfresco.solr.Cloud.getResponse(Cloud.java:159)
at org.alfresco.solr.Cloud.getSolrDocumentList(Cloud.java:143)
at org.alfresco.solr.SolrInformationServer.getDocsWithUncleanContent(SolrInformationServer.java:715)
at org.alfresco.solr.tracker.ContentTracker.doTrack(ContentTracker.java:74)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:185)
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)
2017-02-28 14:35:30,182 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
java.lang.NullPointerException
at org.alfresco.solr.Cloud.getResponse(Cloud.java:159)
at org.alfresco.solr.Cloud.getResultContext(Cloud.java:125)
at org.alfresco.solr.SolrInformationServer.getDocListSize(SolrInformationServer.java:1043)
at org.alfresco.solr.SolrInformationServer.getTxDocsSize(SolrInformationServer.java:1024)
at org.alfresco.solr.tracker.MetadataTracker.checkRepoAndIndexConsistency(MetadataTracker.java:206)
at org.alfresco.solr.tracker.MetadataTracker.trackRepository(MetadataTracker.java:132)
at org.alfresco.solr.tracker.MetadataTracker.doTrack(MetadataTracker.java:103)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:185)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
System configuration:
Windows 7 Enterprise
PostgreSQL version 9.4.5
Apache Tomcat Version 7.0.40 (No SSL)
JDK 1.8.0_74
Alfresco EA 5.1
See logs and configs in attachments.
Fixing this will greatly help us in evaluating Alfresco for our new initiative. Please help.
Thank you,
Janardhan Chinta
Solved! Go to Solution.
This issue is resolved. The in-house alfresco-5.1-solr4-config.zip build had some issue. I tried a different version, and solr4 works fine.
From the instructions on page, http://docs.alfresco.com/community/tasks/solr4-install-config.html, I have not executed steps 5-11, since I am not using https. I did not configure keystore as well.
I appreciate your input Jeff.
Thanks.
Is there a reason you disabled SSL for communications between Alfresco and Solr?
We have a restricted environment in-house, so https is not allowed. We do not have access to download and install software, so I cannot install Alfresco one Dev edition . However, we do have the tomcat, and enterprise 5.1 alfresco/share/solr4 wars available for use in-house. I have configured tomcat and alfresco webapps manually on my Windows 7 desktop. Only, solr4 configuration is failing. We need this working to evaluate the querying performance.
Thanks.
Have you worked through these instructions?
http://docs.alfresco.com/community/tasks/solr4-install-config.html
Jeff
This issue is resolved. The in-house alfresco-5.1-solr4-config.zip build had some issue. I tried a different version, and solr4 works fine.
From the instructions on page, http://docs.alfresco.com/community/tasks/solr4-install-config.html, I have not executed steps 5-11, since I am not using https. I did not configure keystore as well.
I appreciate your input Jeff.
Thanks.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.