SAP Knowledge Base Article - Preview

3430127 - Incorrect XSLTResponseWriter configurations causes Solr Indexing Failure after upgrading to Solr 9.2

Symptom

Solr indexing failed after upgrading to Solr 9.2. One or some of the following error messages are found in logs which indicate the issue is related to the XSLTResponseWriter class.

[Exception 1]

org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at null: Error CREATEing SolrCore '<solrcore_name>': Unable to create core [solrcore_name] Caused by: solr.XSLTResponseWriter

......

Caused by: org.apache.solr.common.SolrException: Error loading class 'solr.XSLTResponseWriter'

[Exception 2]

ERROR [BackofficeLO-4] [BackofficeSolrFieldSearchFacadeStrategy] Facet search has failed
de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at <solr server>: SolrCore '<solrcore_name>' is not available due to init failure:  Error loading class 'solr.XSLTResponseWriter'

......

Caused by: org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at <solr server>: SolrCore '<solrcore_name>' is not available due to init failure: Error loading class 'solr.XSLTResponseWriter'

[Exception 3]

org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at null: Error CREATEing SolrCore '<solrcore_name>': Unable to create core <solrcore_name> Caused by: solr.scripting.xslt.XSLTResponseWriter

......

Caused by: org.apache.solr.common.SolrException:  Error loading class 'solr.scripting.xslt.XSLTResponseWriter'

[Exception 4]

ERROR [hybrisHTTP27] [BackofficeSolrFieldSearchFacadeStrategy] Facet search has failed
de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at <solr server>
: SolrCore '<solrcore_name>' is not available due to init failure:  Error loading class 'solr.scripting.xslt.XSLTResponseWriter'

......

Caused by: org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at <solr server>: SolrCore '<solrcore_name>' is not available due to init failure:  Error loading class 'solr.scripting.xslt.XSLTResponseWriter'


Read more...

Environment

  • SAP COMMERCE CLOUD in the Public Cloud
  • Solr 9.2

Product

SAP Commerce Cloud 2211

Keywords

solr, solrconfig, index failing, index, full index, XSLTResponseWriter, custom solr, Unable to create core , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.