Hi,
I would like to install Confluence in unattended mode.
Using the response.varfile which have been created during an normal installation shows an error during launching confluence:
Launching Confluence ...
In action "Check if app is running. [Run script]" (screen "Display progress"), property "Script":
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
at I4jScript_Internal_122.eval(I4jScript_Internal_122.java:20)
at I4jScript_Internal_122.evaluate(I4jScript_Internal_122.java:32)
at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)
at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(Unknown Source)
at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)
at com.install4j.runtime.installer.Installer.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Dec 06, 2017 12:06:32 PM com.atlassian.modzdetector.HashRegistry store
INFO: wrote 933 hashes to /opt/atlassian/confluence/install.reg
Finishing installation ...
The response.varfile is
#install4j response file for Confluence 6.2.2
launch.application=true
rmiPort=8000
app.install.service=true
existingInstallationDir=/opt/Confluence
sys.confirmedUpdateInstallationString=false
sys.languageId=en
sys.installationDir=/opt/atlassian/confluence
app.confHome=/var/atlassian/application-data/confluence
executeLauncherAction=true
httpPort=8090
portChoice=default
I start the unattenden installion with this command:
cd /root
./atlassian-confluence-6
.2.2-x64.bin -q -varfile
response
.varfile
Does anyone know a solution for this?
Regards,
Tim
ensure that the port variables are suffixed with $Long
rmiPort$Long=8000
httpPort$Long=8090
I've got the same problem when do this with Jira
( https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.8.0-x64.bin )
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.