On 8/20/2018 9:57 PM, Zheng Lin Edwin Yeo wrote:
This is the error that I get:
ERROR StatusLogger Unable to access file:/C:/Users/edwin/Desktop/edwin/solr-
7.4.0/server/scripts/cloud-scripts/file:C:/Users/edwin/Desktop/edwin/solr-7.
4.0/server/scripts/cloud-scripts/log4j2.xml
java.io.FileNotFoundException: C:\Users\edwin\Desktop\edwin\solr-7.4.0\serv
er\scripts\cloud-scripts\file:C:\Users\edwin\Desktop\edwin\solr-7.4.0\server
\scripts\cloud-scripts\log4j2.xml (The filename, directory name, or volume
label syntax is incorrect)
We have a bug for this already:
https://issues.apache.org/jira/browse/SOLR-12538
Should be fine when 7.5.0 is released.
Quick fix: In solr.cmd change all occurrences of "file:" to "file:///".
Something changed between log4j1 and log4j2 for file URI handling. The
problem only surfaces on Windows.
Thanks,
Shawn