Env:
RHEL 7.6 with latest updates
java version "1.8.0_202"
When I trying to run BitBucket Server installer as non-root user, I get the next error:
$ ./atlassian-bitbucket-6.1.2-x64.bin -c
Starting Installer ...
Exception in thread "main" java.lang.StackOverflowError
at java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:298)
at java.lang.ThreadLocal.get(ThreadLocal.java:163)
at java.lang.StringCoding.deref(StringCoding.java:63)
at java.lang.StringCoding.encode(StringCoding.java:330)
at java.lang.StringCoding.encode(StringCoding.java:387)
at java.lang.String.getBytes(String.java:958)
at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:166)
at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:162)
at java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:239)
at java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:221)
at java.util.Collections$UnmodifiableMap.get(Collections.java:1454)
at com.install4j.runtime.launcher.LauncherVariables$1.getReplacement(LauncherVariables.java:52)
at com.install4j.runtime.util.StringUtil.replaceVariable(StringUtil.java:66)
at com.install4j.runtime.util.StringUtil.replaceVariable(StringUtil.java:80)
.... (many the same strings)...
at com.install4j.runtime.util.StringUtil.replaceVariable(StringUtil.java:80)
I have the same error even if I trying to run installer as user with unlimited sudo privileges.
The issue ocuurs only in RHEL 7.5+, on Ubuntu 18.04 the same installer works perfectly.
Is there a way to run installer on RHEL as non-root user?
The root of the problem found: on my RHEL server I had custom LD_LIBRARY_PATH. After removing this custom variable everything works fine.
The question can be removed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.