So the best option is to remove DIH from classpath if you're not using it, then 
the warnings should go away?

Jan

> 9. feb. 2022 kl. 14:44 skrev Bernd Fehling <[email protected]>:
> 
> I had used it in DIH for processing during import/loading several years ago
> but now using SolrJ, which is much faster.
> 
> So, never seen this message years ago, but confirms that my change to SolrJ
> was a good decision.
> 
> Regards Bernd
> 
> Am 09.02.22 um 14:08 schrieb Jan Høydahl:
>> Are you using scripting, either as UpdateRequestProcessor or in DIH?
>> Jan
>>> 9. feb. 2022 kl. 12:34 skrev Scott Q. <[email protected]>:
>>> 
>>> Thanks, but that didn't solve the issue.
>>> 
>>> 
>>> 2022-02-09 11:33:27.109 INFO  (main) [   ]
>>> o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time:
>>> 2022-02-09T11:33:27.109858Z
>>> Warning: Nashorn engine is planned to be removed from a future JDK
>>> release
>>> Warning: Nashorn engine is planned to be removed from a future JDK
>>> release
>>> Warning: Nashorn engine is planned to be removed from a future JDK
>>> release
>>> Warning: Nashorn engine is planned to be removed from a future JDK
>>> release
>>> Warning: Nashorn engine is planned to be removed from a future JDK
>>> release
>>> 
>>> 
>>> /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 -Dhost=192.168.1.11
>>> -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]=192.168.1.11 -Djetty.host [2]=0.0.0.0
>>> -Dlog4j2.formatMsgNoLookups=true
>>> -Dnashorn.args='--no-deprecation-warning=true' -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!
>>> On Wednesday, 09-02-2022 at 05:16 Bernd Fehling wrote:
>>> 
>>> 
>>> 
>>> The commandline tool "jjs --help" reports:
>>> "--no-deprecation-warning (Do not show nashorn deprecation warning.)
>>>          param: [true|false]   default: false"
>>> 
>>> So I guess that there should be something like :
>>> "--no-deprecation-warning=true"
>>> 
>>> Or in your case:
>>> -Dnashorn.args='--no-deprecation-warning=true'
>>> 
>>> But just a guess.
>>> 
>>> Regards Bernd
>>> 
>>> 
>>> Am 09.02.22 um 10:34 schrieb Scott Q.:
>>>> 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] [1].home=
>>>> -Dsolr.install.dir=/usr/local/solr
>>>> 
>>> -Dsolr.default.confdir=/usr/local/solr/server/solr/configsets/_default/conf
>>>> -Djetty.host [2] [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] [3] 8983
>>>> /var/log/solr -jar start.jar --module=http
>>>> 
>>>> Thanks!
>>>> 
>>>> Links:
>>>> ------
>>>> [1] http://Dsolr.data <http://dsolr.data/>
>>>> [2] http://Djetty.host <http://djetty.host/>
>>>> [3] http://solr.sh <http://solr.sh/>
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> Links:
>>> ------
>>> [1] http://Dsolr.data <http://dsolr.data/>
>>> [2] http://Djetty.host <http://djetty.host/>
>>> [3] http://solr.sh <http://solr.sh/>
>>> 
>>> 
>>> This is a private message

Reply via email to