Skip to content

Fix JAVA_OPTS typo - #86

Open
jwkaltz wants to merge 1 commit into
GeoNode:masterfrom
jwkaltz:fix_java_opts_typo
Open

Fix JAVA_OPTS typo#86
jwkaltz wants to merge 1 commit into
GeoNode:masterfrom
jwkaltz:fix_java_opts_typo

Conversation

@jwkaltz

@jwkaltz jwkaltz commented Aug 11, 2026

Copy link
Copy Markdown

The ParallelGCThreads flag in the default JAVA_OPTS was missing its leading dash ("XX:ParallelGCThreads=4"). The JVM treats a token without a leading dash as the main class, so it aborts at startup with:

Error: Could not find or load main class XX:ParallelGCThreads=4

This makes the default geoserver image fail to start. Deployments that override JAVA_OPTS via GEOSERVER_JAVA_OPTS mask the bug, which is presumably why it went unnoticed.

Regression introduced in #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant