Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOUD-3452] Move GC logs to PREPEND_JAVA_OPTS to bypass the specific EAP checks #162

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

yersan
Copy link
Contributor

@yersan yersan commented Dec 5, 2019

The solution is a bit hacky, but I haven't found a better approach, so maybe this one is acceptable.

EAP in standalone.sh will avoid adding any GC log file configuration if there is any JAVA_OPTS setting related to GC logs. This check clashes with the jvm_specific_diagnostics for JDK 11, where the -Xlog:gc::utctime decorator is enabled.

To prevent EAP skips the GC log file configuration due to the jvm_specific_diagnostics settings, we could remove the settings from the JAVA_OPTS and add them to PREPEND_JAVA_OPTS. That change will bypass the EAP specific checks.

jira issue: https://issues.redhat.com/browse/CLOUD-3452

@yersan yersan changed the title [CLOUD-3188] Move GC logs to PREPEND_JAVA_OPTS to bypass the specific EAP checks [CLOUD-3452] Move GC logs to PREPEND_JAVA_OPTS to bypass the specific EAP checks Dec 5, 2019
@luck3y luck3y merged commit 7c5242d into jboss-container-images:7.2.x-openjdk11 Dec 10, 2019
@yersan yersan deleted the CLOUD-3452 branch January 28, 2020 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants