Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6782

apache-karaf-4.3.0.RC1 hangs under JDK 13.0.1 on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.3.0
    • None
    • karaf
    • Windows 10, Java 13.0.1 openjdk

    Description

      Version 4.2.9 threw errors on start up with JDK 13.0.1, the release candidate hangs on windows on first start up. Just to point out how important this is, I am trying to Adopt Karaf at my company, and it does not help that it does not run out of the box.

      java -version
      version "13.0.1" 2019-10-15
      Runtime Environment (build 13.0.1+9)
      64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

      apache-karaf-4.3.0.RC1 hangs under the above JRE.

      Console for apache-karaf-4.3.0.RC1:

      C:\Programs\apache-karaf-4.3.0.RC1\bin>karaf
      karaf.bat: KARAF_LOG doesn't exist: "C:\Programs\apache-karaf-4.3.0.RC1\bin\..\data\log"
      karaf.bat: Creating "C:\Programs\apache-karaf-4.3.0.RC1\bin\..\data\log"
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.apache.felix.framework.URLHandlers (file:/C:/Programs/apache-karaf-4.3.0.RC1/system/org/apache/felix/org.apache.felix.framework/6.0.3/org.apache.felix.framework-6.0.3.jar) to constructor sun.net.www.protocol.file.Handler()
      WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.URLHandlers
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release

      Log for apache-karaf-4.3.0.RC1:

      Jul 09, 2020 4:48:08 PM org.apache.karaf.main.Main launch
      INFO: Installing and starting initial bundles
      Jul 09, 2020 4:48:08 PM org.apache.karaf.main.Main launch
      INFO: All initial bundles installed and set to start
      Jul 09, 2020 4:48:08 PM org.apache.karaf.main.lock.SimpleFileLock lock
      INFO: Trying to lock C:\Programs\apache-karaf-4.3.0.RC1\lock
      Jul 09, 2020 4:48:08 PM org.apache.karaf.main.lock.SimpleFileLock lock
      INFO: Lock acquired
      Jul 09, 2020 4:48:08 PM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
      INFO: Lock acquired. Setting startlevel to 100

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              PeteM Peter Miller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: