Hello community
We are currently using JVM options and it is kind of a hassle; creating hickups for us in our automated Ansible installation scripts.
Therefore, we are very keen on adopting the microprofile config approach as sysadmins.
However, reading the documentation it is not clear how to adopt it through a guide and examples. The many different microprofile attributes are however very well documented, thank you for this.
Can anybody guide us through how to use a microprofile-config.properties file? i.e. where to put the file and how to register the file in Payara?
We asked the chat and it told us to create the file and put it anywhere on your machine and then point Payara to it using the command:
asadmin create-jvm-options "-Dmicroprofile.config.locations=/path/to/microprofile-config.properties"
Is the chat gaslighting us or is this simply the approach?
Secondly, will the microprofile config take precedence over any JVM options, meaning we don't have to delete any of the same JVM options for our microprofile settings to work?
Regards
Asbjørn