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

ARTEMIS-4702 only run command needs custom JVM settings #4885

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbertram
Copy link
Contributor

No description provided.

@@ -36,7 +36,7 @@ ARTEMIS_INSTANCE_ETC_URI='${artemis.instance.etc.uri}'
HAWTIO_ROLE='${role}'

# Java Opts
if [ -z "$JAVA_ARGS" ]; then
if [ -z "$JAVA_ARGS" ] && [ "$1" = "run" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the export might need special memory to load large journals as well.

Also, if you don't pass an argument you may enter the shell where you can do export, data print, and also.. run from the shell. (not very common, but possible).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a related problem with the log4j2 config, see: https://issues.apache.org/jira/browse/ARTEMIS-4785

in that case, we need to keep the logging just for the broker run and not for any other command. the comment on that jira has lots of good info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants