ACS-3348 Remove unrecognized VM options

This commit is contained in:
Damian.Ujma@hyland.com
2022-07-29 11:46:00 +02:00
parent 32d25c3af2
commit 919ca543e8
4 changed files with 6 additions and 2 deletions

View File

@@ -441,7 +441,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.8</version>
<configuration>
<excludes>
<exclude>**/AnnotationWriter.*</exclude>

View File

@@ -4,6 +4,7 @@ alfresco.search.logs=SOLR_LOGS_DIR=../../logs\
${line.separator}LOG4J_PROPS=$SOLR_LOGS_DIR/log4j.properties
alfresco.gc.logs=GC_LOG_OPTS=""
alfresco.gc.logs.win=REM set "GC_LOG_OPTS= "
alfresco.gc.tune=GC_TUNE="-XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 -XX:PretenureSizeThreshold=64m -XX:+ParallelRefProcEnabled -XX:-OmitStackTraceInFastThrow"
alfresco.search.logs.win=set SOLR_LOGS_DIR=..\\..\\logs\
${line.separator}set LOG4J_CONFIG=file:!SOLR_LOGS_DIR!\\log4j.properties
alfresco.search.config=# Alfresco configuration. This file is automatically included by solr. You can define your custom settings here\

View File

@@ -214,6 +214,9 @@
<replace token="GC logging" value="GC logging${line.separator}${alfresco.gc.logs.win}" dir="${solr.directory}">
<include name="**/bin/solr.in.cmd" />
</replace>
<replace token="#GC_TUNE=&quot;-XX:NewRatio=3 -XX:SurvivorRatio=4 etc." value="${alfresco.gc.tune}" dir="${solr.directory}">
<include name="**/bin/solr.in.sh" />
</replace>
<replace token="# Anything you add to the SOLR_OPTS" value="${alfresco.search.config}${line.separator}${line.separator}# Anything you add to the SOLR_OPTS" dir="${solr.directory}">
<include name="**/bin/solr.in.sh" />
</replace>

View File

@@ -1,6 +1,6 @@
# Alfresco Search Services ${project.version} Docker Image
FROM alfresco/alfresco-base-java:jre17-rockylinux8
FROM alfresco/alfresco-base-java:jre17-rockylinux8-202207110835
LABEL creator="Alfresco" maintainer="Alfresco"
ENV DIST_DIR /opt/alfresco-search-services