You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
So, I'm running an automated installation with the following entries in the response.varfile;
The installation is completing, and the server is active, but I am unable to stop it and start it again, as it can no longer find the java directory. Likewise, the memory configuration is not set during the installation, so the server starts with less than I want.
# 'existingInstallationDir=/usr/local/JIRA Core'
I am looking for a way to set the Java home, and preferably the memory configuration for the Jira installation, lets say 8 max, 4 min. I expect there is a way to configure this in the response.varfile, and if so what are the lines necessary?
Knowing this provides me the flexibility of altering it if necessary in the future. I am not in the habit of delivering servers I don't know how to alter.
There is an official documentation that Atlassian released for response.varfile but it is limited what you can do is to have a post-installation setup where you add the JVM values in setenv.sh.
Most likely you don't need to set the JAVA home because the installation by default will use the bundled JAVA unless it is a tar.gzip install file.
To override the bundled java you can install a new version in the OS and edit the environmental variable, this is tricky to do, you are better off letting the installer do the JAVA stuff.