Details

    • Epic Name:
      Run IGB in Java 21
    • Story Points:
      5
    • Sprint:
      Summer 4 2022 July 4, Spring 2 2023 Jan 16, Spring 3 2023 Feb 1

      Description

      IGB uses Java 1.8, a very old version of Java that is not well supported anymore.

      For this task, determine if we can build and run IGB using a more up-to-date JVM.

      Javafx: https://search.maven.org/artifact/org.openjfx/javafx/18.0.1/pom

      For notes on how we did different parts, see: IGBF-3513

        Attachments

          Activity

          Hide
          nfreese Nowlan Freese added a comment -

          osgi project that appears to be using newer osgi annotations: https://github.com/mliradelc/opencast

          Show
          nfreese Nowlan Freese added a comment - osgi project that appears to be using newer osgi annotations: https://github.com/mliradelc/opencast
          Hide
          nfreese Nowlan Freese added a comment -

          I removed the bndlib artifact as the above project and various blogs refer to bnd as being deprecated. Using osgi.cmpn and org.osgi.core in place of bnd (version 6.0.0). Able to build IGB, but still running into the same error when attempting to run IGB through the jar. Since I have been seeing this same error for a while now, my feeling is that there is something with the OSGI wiring that is incorrect currently.

          09:44:48.140 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve annotation-tab [2](R 2.0): missing requirement [annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0))) [caused by: Unable to resolve genometry [30](R 30.0): missing requirement [genometry [30](R 30.0)] osgi.wiring.package; (osgi.wiring.package=com.apple.laf)] Unresolved requirements: [[annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0)))]
          org.osgi.framework.BundleException: Unable to resolve annotation-tab [2](R 2.0): missing requirement [annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0))) [caused by: Unable to resolve genometry [30](R 30.0): missing requirement [genometry [30](R 30.0)] osgi.wiring.package; (osgi.wiring.package=com.apple.laf)] Unresolved requirements: [[annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0)))]
          	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
          	at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
          	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
          	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992)
          	at com.affymetrix.main.OSGiHandler.loadBundles(OSGiHandler.java:83)
          	at com.affymetrix.main.OSGiHandler.startOSGi(OSGiHandler.java:63)
          	at com.affymetrix.main.Main.main(Main.java:30)
          
          Show
          nfreese Nowlan Freese added a comment - I removed the bndlib artifact as the above project and various blogs refer to bnd as being deprecated. Using osgi.cmpn and org.osgi.core in place of bnd (version 6.0.0). Able to build IGB, but still running into the same error when attempting to run IGB through the jar. Since I have been seeing this same error for a while now, my feeling is that there is something with the OSGI wiring that is incorrect currently. 09:44:48.140 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve annotation-tab [2](R 2.0): missing requirement [annotation-tab [2](R 2.0)] osgi.wiring. package ; (&(osgi.wiring. package =com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0))) [caused by: Unable to resolve genometry [30](R 30.0): missing requirement [genometry [30](R 30.0)] osgi.wiring. package ; (osgi.wiring. package =com.apple.laf)] Unresolved requirements: [[annotation-tab [2](R 2.0)] osgi.wiring. package ; (&(osgi.wiring. package =com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0)))] org.osgi.framework.BundleException: Unable to resolve annotation-tab [2](R 2.0): missing requirement [annotation-tab [2](R 2.0)] osgi.wiring. package ; (&(osgi.wiring. package =com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0))) [caused by: Unable to resolve genometry [30](R 30.0): missing requirement [genometry [30](R 30.0)] osgi.wiring. package ; (osgi.wiring. package =com.apple.laf)] Unresolved requirements: [[annotation-tab [2](R 2.0)] osgi.wiring. package ; (&(osgi.wiring. package =com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992) at com.affymetrix.main.OSGiHandler.loadBundles(OSGiHandler.java:83) at com.affymetrix.main.OSGiHandler.startOSGi(OSGiHandler.java:63) at com.affymetrix.main.Main.main(Main.java:30)
          Show
          nfreese Nowlan Freese added a comment - Possible examples to look into: https://stackoverflow.com/questions/55829257/where-to-find-and-install-org-osgi-framework-package
          Hide
          nfreese Nowlan Freese added a comment -

          I have turned this ticket into an epic and have moved the related tickets to be within this epic.

          Show
          nfreese Nowlan Freese added a comment - I have turned this ticket into an epic and have moved the related tickets to be within this epic.
          Show
          nfreese Nowlan Freese added a comment - - edited Blog on Java 11 migration: https://nipafx.dev/java-11-migration-guide/ https://nipafx.dev/maven-on-java-9/ https://nipafx.dev/java-module-system-tutorial/

            People

            • Assignee:
              Unassigned
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: