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.
'app.install.service$Boolean=true'
'app.jiraHome=/var/atlassian/application-data/jira'
# 'existingInstallationDir=/usr/local/JIRA Core'
'launch.application$Boolean=true'
'portChoice=default'
'sys.adminRights$Boolean=true'
'sys.confirmedUpdateInstallationString=false'
'sys.installationDir=/opt/atlassian/atlassian-jira-core-8.5.1'
'sys.languageId=en'
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.