Does anyone know how to get rid of the warning message: Warning: Nashorn engine is planned to be removed from a future JDK release
it accumulates quickly in my solr-8983-console.log file - I usually restart solr and remove that file once it reaches 2Gb in size. I tried adding -Dnashorn.args='--no-deprecation-warning' to SOLR_OPTS and I see it on the command line of the running process, but it doesn't stop the warning messages. My log level is set to WARN. /usr/local/openjdk11/bin/java -server -Xms16g -Xmx16g -XX:+UseG1GC -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=250 -XX:+UseLargePages -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent -Xlog:gc*:file=/var/log/solr/solr_gc.log:time,uptime:filecount=9,filesize=20M -Dsolr.jetty.inetaccess.includes= -Dsolr.jetty.inetaccess.excludes= -DzkClientTimeout=15000 -DzkHost=192.168.1.4:2181,192.168.1.9:2181,192.168.1.10:2181,192.168.1.11:2181 -Dsolr.log.level=WARN -Dsolr.log.dir=/var/log/solr -Djetty.port=8983 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Duser.timezone=UTC -XX:-OmitStackTraceInFastThrow -Djetty.home=/usr/local/solr/server -Dsolr.solr.home=/var/db/solr -Dsolr.data [1].home= -Dsolr.install.dir=/usr/local/solr -Dsolr.default.confdir=/usr/local/solr/server/solr/configsets/_default/conf -Djetty.host [2]=0.0.0.0 -Dlog4j2.formatMsgNoLookups=true -Dnashorn.args='--no-deprecation-warning' -Xss256k -Dsolr.jetty.https.port=8983 -Dsolr.log.muteconsole -XX:OnOutOfMemoryError=/usr/local/solr/bin/oom_solr.sh [3] 8983 /var/log/solr -jar start.jar --module=http Thanks! Links: ------ [1] http://Dsolr.data [2] http://Djetty.host [3] http://solr.sh -- <p>This is a private message</p>
