Log file and startup parameters

This section describes where to find KaDecks log file on various operating systems and how to specify custom startup parameters. Startup parameters for KaDeck's java backend can be useful if you want to increase the JVM memory or define the path to a Kerberos configuration file. 

Error logs

KaDeck writes a log file .kadeck_log to the user's home directory. 








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.


Temporary (for the current session):

export KA_DECK_OPTS= "-Djava.security.krb5.conf=/etc/krb5.conf"

Persistent configuration:

echo "KA_DECK_OPTS=-Djava.security.krb5.conf=/etc/krb5.conf" >> ~/.bash_profile
echo "export KA_DECK_OPTS;" >> ~/.bash_profile
source .bash_profile 


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?
1 out of 1 found this helpful



Please sign in to leave a comment.