Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-27627

ElasticSearch crashes if searchServer is defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0
    • Component/s: Search
    • Labels:
      None
    • Previous Issue Keys:
      SRCH-113

      Description

      With the legacy search implementation, some institutions have defined only one server as the searchServer in sakai.properties:

      searchServer@org.sakaiproject.search.api.SearchService=true

      While this setting may no longer be relevant with elasticSearch (SRCH-111), it does generate the following error that prevents Sakai from starting:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.search.api.SearchService' defined in file [/usr/local/apache-tomcat-7.0.22-trunk/components/elasticsearch-component/WEB-INF/components.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'searchServer' of bean class [org.sakaiproject.search.elasticsearch.ElasticSearchService]: Bean property 'searchServer' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jbush John Bush
                  Reporter:
                  bkirschn Beth Kirschner
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration