The Apache library that we use to enable Elasticsearch to run as a Windows service can not handle the -server flag. In the past, we filtered this option out of the default jvm.options before installing the Windows service. Now, we no longer ship with this included in the default jvm.options. If you are using a jvm.options from the past that included this option, since the filter is no longer in place it will be included in the options used to start the Windows service. Removing this from the jvm.options file is not enough because that file is not read after the service is installed. Instead you have to either remove the service and reinstall it (after you've removed -server from the jvm.options file), or use elasticsearch-service manager to manually remove the option from the service (look at the tab that includes the JVM flags).
Thanks! The order was the issue. I had no idea the jvm.options file was loaded only at service install time. I must've been putting the new jvm.options file in place after re-installing the service (my luck huh).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.