Hi Elizaveta,

I have also encountered a VerifyError on OpenJ9, on an unrelated thing. It 
seems that OpenJ9 is not a good choice for stability.
Prefer using Hotspot either way.


From: Elizaveta Golova<mailto:egol...@uk.ibm.com>
Sent: 15 March 2021 09:02 PM
To: solr-u...@lucene.apache.org<mailto:solr-u...@lucene.apache.org>
Subject: Unrecognized command line option when starting Solr 8.7 with Java 11 
Open J9

Hello,


We're currently migrating from Java 8 to Java 11.


On Windows, when starting Solr 8.7.0 with OpenJ9 java, we encounter the 
following message:
JVMJ9VM007W Command-line option unrecognised: 
-Xlog:gc*:file="C:\solr\server\logs\solr_gc.log":time,uptime:filecount=9,filesize=20M
JVMJ9GC063E Unable to open file '"C' for writing


The console is then filled with garbage collection output, but, appears to 
start and run ok.
When changing to Java 11 Hotspot of the same release, we do not see any warning 
or other issues.


This has also been run on a Java 11 Open J9 on Ubuntu. A "Command-line option 
unrecognised" message appears in the Solr logs but not on the console. The 
solr_gc log is created ok and appears to be populated.


This was seen using the OpenJDK 11.0.10+9 release.


Here is an example of our startup command:
C:/solr/bin/solr.cmd start -c -p 8983 -s 
C:/data/solr/8/clusters/is_cluster/nodes/node1 -a 
"-Dcom.ibm.crypto.provider.DoRSATypeChecking=false 
-Djetty.server=com.i2group.disco.search.solr.jetty.wrapper.XmlConfigurationWrapper
 -Dpkiauth.ttl=60000 -Dsolr-node-id=node1 
-DzkCredentialsProvider=com.i2group.disco.search.solr.common.zookeeper.auth.internal.EncodedZkCredentialsProvider
 -Djdk.nativeCrypto=false" -m 2g -z "localhost:9983/is_cluster"


Thanks!


Lisa



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Reply via email to