-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Data Center
-
None
-
1
-
3
Problem
As a customer, I would like to be able to use Apple OpenJDK with JIRA
Suggested Solution
Propose to test JIRA against AppleOpenJDK and resolve any compatibility issues in order to add it as a supported platform for JIRA
Why This Is Important
Currently, a small subset of users are testing Apple OpenJDK with Jira and running into start up issues. In future, users would like to be able to use Jira with Apple OpenJDK
Caused by: io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.ClassCastException: class org.apache.naming.ResourceRef cannot be cast to class javax.transaction.UserTransaction (org.apache.naming.ResourceRef and javax.transaction.UserTransaction are in unnamed module of loader java.net.URLClassLoader @1e7c7811) at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156) at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116) at io.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:95) at com.atlassian.jira.cluster.DefaultClusterNodes.current(DefaultClusterNodes.java:60) at com.atlassian.jira.cluster.OfBizMessageHandlerService.getCurrentNode(OfBizMessageHandlerService.java:117) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
Workaround
There are multiple other options like Oracle JRE / JDK, OpenJDK and AdoptOpenJDK