- 发布日期2022-10-21
- 感知时间2022-10-21
- 漏洞类型普通更新
- 风险等级未知
- 更新版本未知
- 情报贡献TSRC
21 October 2022, Java 17 bug affecting Solr
<br/> <br/> Several users running Solr in production on OpenJDK 17 have experienced JVM crashes due to a known bug in the JDK. Read more about the bug in SOLR-16463.<br/>Known mitigations are to either downgrade to JDK 11 or to start Solr with a Java startup flag that avoids the failure condition. Here is how to manually apply the flag:<br/>Edit your solr.in.sh or solr.in.cmd file to set the SOLR_OPTS environment variable as follows:<br/>Linux: <br/>SOLR_OPTS=-XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put<br/><br/><br/>Windows:<br/>SET SOLR_OPTS=-XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put<br/><br/><br/>Alternatively, you can inject the same flag with the -a argument, e.g:<br/>bin/solr -a "-XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put"<br/><br/><br/>If you run Solr 9 with the official Docker image, we have already pushed an updated Docker image to Docker Hub that will inject the flag for you.<br/>Just pull the image again to get it.<br/>The Docker image uses the -a option to set this java flag when running Solr, so if you are using the <br/>-a option you will need to provide the JVM flag mentioned above in addition to the other flags you are setting.<br/>
Apache Solr 是一个开源的搜索服务器。Solr 使用 Java 语言开发,主要基于 HTTP 和 Apache Lucene 实现。Apache Solr 中存储的资源是以 Document 为对象进行存储的。每个文档由一系列的 Field 构成,每个 Field 表示资源的一个属性。
暂无
暂无
暂无
https://lucene.apache.org/solr/news.html