Problem Note 60649: The Solr service will not start with SAS® Enterprise Case Management or SAS® Anti-Money Laundering
If you are using Solr with SAS Enterprise Case Management or SAS Anti-Money Laundering, you might see the error below when you start the Solr service and your Solr service will not start:
org.apache.solr.core.CoreContainer; Unable to create core: SearchMetadata
org.apache.solr.common.SolrException: Unable to initialize scripts: No ScriptEngine found by file extension: excludeScenarios.js -- supported extensions
The problem occurs when you are using a version of the Java Runtime Environment (JRE) that does not support JavaScript.
If you are using SAS Enterprise Case Management and not using SAS Anti-Money Laundering, you can work around the problem by commenting out the processor chain for excludeScenarios in your solrconfig.xml file.
To comment out the processor chain, locate the solrconfig.xml file in your Solr installation folder and comment out the block of code below:
<!-- Comment out excludeScenarious.js
<updateRequestProcessorChain name="excludeScenarios">
<processor class="solr.StatelessScriptUpdateProcessorFactory">
<str name="script">excludeScenarios.js</str>
</processor>
<processor class="solr.LogUpdateProcessorFactory" />
<processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>
-->
If you are using SAS Enterprise Case Management or SAS Anti-Money Laundering, then you can work around the problem by using a version of the JRE that supports JavaScript.
Operating System and Release Information
| SAS System | SAS Enterprise Case Management | Linux for x64 | 6.3_M1 | | 9.4 TS1M3 | |
| 64-bit Enabled Solaris | 6.3_M1 | | 9.4 TS1M3 | |
| 64-bit Enabled AIX | 6.3_M1 | | 9.4 TS1M3 | |
| Microsoft® Windows® for x64 | 6.3_M1 | | 9.4 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Starting a Solr service to be used with SAS Enterprise Case Management or SAS Anti-Money Laundering might result in errors like "Unable to create core:" and "Unable to initialize scripts:". This occurs when your JRE (Java Runtime Environment) does not support Javascript.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2018-11-26 14:21:49 |
| Date Created: | 2017-06-15 17:09:51 |