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

client doesn't load using IBM JDK

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 3.0.2, 4.0.0.M2, 4.0.0.M3
    • Component/s: None
    • Labels:
      None
    • Environment:

      2.4-SNAPSHOT

      Description

      Getting the following stack using IBM JDK:

      bash-4.2# ./client
      MAXDATA=0xB0000000@DSA
      IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc64-64 Compressed References 20140106_181350 (JIT enabled, AOT enabled)
      Exception in thread "main" java.lang.NoClassDefFoundError: org.osgi.framework.BundleContext
      at org.apache.felix.utils.properties.InterpolationHelper.performSubstitution(InterpolationHelper.java:58)
      at org.apache.felix.utils.properties.Properties.loadLayout(Properties.java:355)
      at org.apache.felix.utils.properties.Properties.load(Properties.java:128)
      at org.apache.felix.utils.properties.Properties.load(Properties.java:124)
      at org.apache.felix.utils.properties.Properties.load(Properties.java:108)
      at org.apache.felix.utils.properties.Properties.<init>(Properties.java:102)
      at org.apache.felix.utils.properties.Properties.<init>(Properties.java:95)
      at org.apache.karaf.client.Main.main(Main.java:57)
      Caused by: java.lang.ClassNotFoundException: org.osgi.framework.BundleContext
      at java.net.URLClassLoader.findClass(URLClassLoader.java:599)
      at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:760)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:728)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:707)
      ... 8 more
      

      This works fine using an Oracle JDK. Also, it looks to be only a problem for 2.4-SNAPSHOT (no releases affected).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                janstey Jonathan Anstey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: