[
https://issues.apache.org/jira/browse/KARAF-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-3163.
-----------------------------------------
Resolution: Duplicate
Assignee: Jean-Baptiste Onofré
> Client doesn't load using IBM JDK (Karaf 3.0.1)
> -----------------------------------------------
>
> Key: KARAF-3163
> URL: https://issues.apache.org/jira/browse/KARAF-3163
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 3.0.1
> Environment: AIX with IBM JDK
> Reporter: Justin Cozzens
> Assignee: Jean-Baptiste Onofré
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)