Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.0.1
-
None
-
None
-
None
-
AIX with IBM JDK
Description
Appears to be the same issue as KARAF-3054, which was fixed by removing the dependency on org.apache.felix.utils.properties.Properties. In this case the dependency is in org.apache.karaf.client.ClientConfig.
$ bin/client
MAXDATA=0xB0000000@DSA
IBM J9 VM (build 2.7, JRE 1.7.0 AIX ppc64-64 Compressed References 20140410_1958 93 (JIT enabled, AOT enabled)
Exception in thread "main" java.lang.NoClassDefFoundError: org.osgi.framework.Bu ndleContext
at org.apache.felix.utils.properties.InterpolationHelper.performSubstitu tion(InterpolationHelper.java:58)
at org.apache.felix.utils.properties.Properties.substitute(Properties.ja va:382)
at org.apache.felix.utils.properties.Properties.substitute(Properties.ja va:372)
at org.apache.felix.utils.properties.Properties.loadLayout(Properties.ja va:366)
at org.apache.felix.utils.properties.Properties.load(Properties.java:142 )
at org.apache.felix.utils.properties.Properties.load(Properties.java:138 )
at org.apache.felix.utils.properties.Properties.load(Properties.java:122 )
at org.apache.felix.utils.properties.Properties.<init>(Properties.java:1 07)
at org.apache.felix.utils.properties.Properties.<init>(Properties.java:9 6)
at org.apache.karaf.client.ClientConfig.<init>(ClientConfig.java:42)
at org.apache.karaf.client.Main.main(Main.java:50)
Caused by: java.lang.ClassNotFoundException: org.osgi.framework.BundleContext
at java.net.URLClassLoader.findClass(URLClassLoader.java:665)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:942)
at java.lang.ClassLoader.loadClass(ClassLoader.java:851)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:827)
... 11 more
Attachments
Issue Links
- duplicates
-
KARAF-3054 client doesn't load using IBM JDK
- Resolved