I completed the Windows quest with a victory and as per the instructions I am now trumpeting my success here in the Community 😊
However my victory was not complete (or perfect): My Bamboo Plan Summary Chart gadget doesn't work on JIRA as I always get "An internal server occurred(...)" error. I tried troubleshooting but could only find solutions that applied to Linux environments and even though I tried to adapt them to mine, I failed.
So I can understand if I don't get a full t-shirt 🙂
That't it...
Regards,
Bruno
Hi @Bruno Costa ,
can you confirm that you you have the same Java exe in your PATH and JAVA_HOME?
I found that as a root cause described in https://community.atlassian.com/t5/Jira-Software-questions/Jira-Software-service-won-t-start/qaq-p/848336
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bruno Costa ,
can you install AdoptOpenJDK in a directory without whitespaces?
Do you have the same issue when using OracleJDK, or you didn't try that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Today I setup Jira with Adopt OpenJDK 8.0.222 and jira won't start with a similar error.
java.lang.UnsatisfiedLinkError: C:\Program Fieles\AdoptOpenJDK\<version>\jre\bin\awt.dll Can't find dependent libraries...
After a bit of investigation I fixed it by downgrading the Adopt OpenJDK to 8.0.202. The hint comes from a Confluence related KB article: https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-can-t-find-dependent-libraries-error-972347588.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the tip @Jakub Sławiński .
I have the same JDK, although the EVs are not exactly the same as the JAVA_HOME points to the install directory, in my case is now "C:\Applications\AdoptOpenJDK" and in the PATH the value is set to the "bin" subdir, in my case "C:\Applications\AdoptOpenJDK\bin".
I would like to fix this setup, and have JIRA, Confluence, Bitbucket and Bamboo all working fine in my Windows test machine but I don't think I can spend much more time on it now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the suggestion. I uninstalled AdoptOpenJDK and installed it again specifying a new path without spaces (C:\Applications\AdoptOpenJDK).
I checked that JAVA_HOME EV was updated correctly (had selected that option during JDK installation) but then Bamboo service started failing with the error:
The Atlassian Bamboo Bamboo service terminated with service-specific error Incorrect function
I found a couple of Community questions with same error, tried other fixes found online but to no avail.
I didn't try OracleJDK due to their new licensing and not wanting create account using my company's mail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I reproduced the problem (adding the gadget again) to get a specific time-frame for the error. With that I found this in the atlassian-bamboo.log:
2019-05-14 14:28:27,496 ERROR [http-nio-8085-exec-2] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class org.jfree.chart.axis.NumberAxis java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.axis.NumberAxis at org.jfree.chart.ChartFactory.createXYBarChart(ChartFactory.java:1493)
(...)
I could not find other errors in JIRA or catalina logs at around the same time. I admit that I didn't search on all log files for messages at around this time.
That error lead me to solved BUG BAM-3573 that mentions setting the LD_LIBRARY_PATH EV but by the looks of the value this seems to affect Linux platform so didn’t push further on this. I tried however this other solution found via Google even though this again applied to Linux (catalina.sh file). I tried adding the option -Djava.awt.headless=true into catalina.bat in the <bamboo>\bin dir and restart Bamboo but still got error even though a different one (so the change in catalina.bat made some impact):
2019-05-14 16:19:07,055 ERROR [http-nio-8085-exec-7] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: C:\Program Files\AdoptOpenJDK\jdk-8.0.212.03-hotspot\jre\bin\awt.dll: Can't find dependent libraries java.lang.UnsatisfiedLinkError: C:\Program Files\AdoptOpenJDK\jdk-8.0.212.03-hotspot\jre\bin\awt.dll: Can't find dependent libraries
I wonder if the error is due to having used AdoptOpenJDK 1.8 and not the OracleJDK 1.8 as mentioned in the pre-requisites of the Dragon Slayer. However I installed the AdopOpenJDK due to change in licensing from Oracle and AdoptOpen is the one bundled with Atlassian products...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.