Startup parameters

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:

  1. Type "variable" in the windows search and click on "Edit user variables".
  2. In the dialog "System Properties", click on "Environment Variables..." on the bottom right of the dialog.
  3. 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.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.