Skip to content

Commit 7f21126

Browse files
committed
Add doc note for -server flag on Windows service
The -server flag was previously filtered by the Windows service installation routine. Since the default jvm.options file no longer includes this flag, this filtering was removed from the Windows service. As this flag is not compatible with the Windows service, this means that if a user has an existing jvm.options file that includes this flag they will run into problems when they try to start the Elasticsearch service on Windows. This commit adds a note to the migration docs regarding this change.
1 parent 550abc2 commit 7f21126

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/reference/migration/migrate_6_0/packaging.asciidoc

+11
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ We previously attempted to ensure that Elasticsearch could be started on 32-bit
6161
JVM (although a bootstrap check prevented using a 32-bit JVM in production). We
6262
are no longer maintaining this attempt.
6363

64+
==== `-server` flag no longer filtered in the Windows service
65+
66+
Related to the previous change that 32-bit is no longer supported, the default
67+
`jvm.options` file that ships with Elasticsearch no longer includes the
68+
`-server` flag. Previously, the installation of the Windows service would filter
69+
the `-server` flag because it is not compatible with the service. Since the
70+
default `jvm.options` file no longer includes `-server`, the filtering of this
71+
flag was removed from the installation of the Windows service. This means that
72+
if you have a `jvm.options` file that includes this flag you will need to remove
73+
it.
74+
6475
==== `ES_JVM_OPTIONS` is no longer supported
6576

6677
The environment variable `ES_JVM_OPTIONS` that enabled a custom location for the

0 commit comments

Comments
 (0)