Reputation: 2395
I want to add JAVA_OPTS setting to the standalone configuration for wildfly in openshift. What is the best way to do this?
Do i need to do this by an action hook? Is this action hook also invoked when the server is restarted using "ctl_app restart"?
Or is there another way the add JAVA_OPT settings?
Upvotes: 0
Views: 655
Reputation: 23
The file to add them to is: .openshift/action_hooks/pre_start_wildfly export JAVA_OPTS_EXT=VALUE
Upvotes: 0
Reputation:
You should be using the JAVA_OPTS_EXT environment variable to set any extra JAVA_OPTS that you would like your application to use.
Try using this command to set it:
rhc env-set JAVA_OPTS_EXT=VALUE
Upvotes: 1