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