Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12135

"Your current operating system is not supported" is displayed while starting Bitbucket Server when running with Azul Zulu OpenJDK

    XMLWordPrintable

Details

    Description

      Issue Summary

      Running Bitbucket Server 6.9+ on the Azul Zulu OpenJDK results in the following warning being logged:

      2020-01-14 23:13:44,921 WARN  [spring-startup] c.a.s.i.w.c.NioUnsupportedCondition NIO process execution failed
      java.lang.UnsatisfiedLinkError: Error looking up function 'Java_java_lang_ProcessImpl_forkAndExec': /tmp/zulu8.42.0.23-ca-jdk8.0.232/linux_x64/jre/lib/amd64/libjava.so:
      undefined symbol: Java_java_lang_ProcessImpl_forkAndExec
      at com.sun.jna.Function.<init>(Function.java:251)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:594)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:570)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:556)
      at com.sun.jna.Native.register(Native.java:1846)
      at com.sun.jna.Native.register(Native.java:1447)
      at com.zaxxer.nuprocess.internal.LibJava10.<clinit>(LibJava10.java:37)
      at com.zaxxer.nuprocess.linux.LinuxProcess.prepareProcess(LinuxProcess.java:153)
      at com.zaxxer.nuprocess.linux.LinuxProcess.run(LinuxProcess.java:102)
      at com.zaxxer.nuprocess.linux.LinProcessFactory.runProcess(LinProcessFactory.java:50)
      

      This has been reproduced on RHEL 7.6 and Ubuntu 18.10.

      When starting Bitbucket Server, the following message is displayed:

      Your current operating system is not supportedAs of Bitbucket 7.0, it will no longer be possible to start the application with an unsupported operating system.
      

      In Bitbucket Server 6.9 and 6.10 this does not interfere with the functionality of the system and can be ignored.

      Steps to Reproduce

      1. Download and configure Bitbucket to use the Azul Zulu 8 JDK https://www.azul.com/products/zulu-community/
      2. Start Bitbucket

      Expected Results

      No warning

      Actual Results

      See above warning

      Workaround

      Use AdoptOpenJDK or Oracle JRE, as these are the two that are tested and recommended.
      However the warning does not impact functionality in Bitbucket Server 6.9 and 6.10 in any way, so can be ignored.

      Attachments

        Issue Links

          Activity

            People

              bturner Bryan Turner (Inactive)
              behumphreys Ben Humphreys
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: