You can pass in parameters to KaDeck's Java backend by specifying the KA_DECK_OPTS environment variable. You need to restart KaDeck for changes to take effect. This example illustrates how to specify a krb5.conf file.
Example: increasing Java heap space
However, you can use other parameters as well. To increase the maximum heap space, simply replace the "-Djava.security ..." string with "-Xmx6G" to increase the maximum java heap memory to 6 Gb.
Linux/Mac
Temporary (for the current session):
export KA_DECK_OPTS= "-Djava.security.krb5.conf=/etc/krb5.conf"
Persistent configuration:
echo "export KA_DECK_OPTS=\"-Djava.security.krb5.conf=/etc/krb5.conf\"" >> ~/.bash_profile
source .bash_profile
Windows
Via command line:
setx KA_DECK_OPTS "-Djava.security.krb5.conf=/etc/krb5.conf"
Or by using the environment variable dialog:
- Type "variable" in the windows search and click on "Edit user variables".
- In the dialog "System Properties", click on "Environment Variables..." on the bottom right of the dialog.
- In the list "User variables", add a new variable with the name KA_DECK_OPTS and set the value to the desired parameters, e.g.: -Djava.security.krb5.conf=/etc/krb5.conf.
Comments
Please sign in to leave a comment.