Hi,
I'm trying to validate that JPOX runs inside Felix. JPOX has several Eclipse extension points. Since we need Eclipse bundles for using extension points. I'm trying to activate the Eclipse bundles but I get exceptions such as: Can someone give some light? START LEVEL 1 ID State Level Name [ 0] [Active ] [ 0] System Bundle (0.8.0.incubator) [ 1] [Active ] [ 1] Apache Felix Shell Service (0.8.0.incubator) [ 2] [Active ] [ 1] Apache Felix Shell TUI (0.8.0.incubator) [ 3] [Active ] [ 1] Apache Felix Bundle Repository (0.8.0.incubator) [ 5] [Installed ] [ 1] %pluginName (3.2.0.v20060601b) [ 6] [Installed ] [ 1] %pluginName (3.2.0.v20060601) [ 7] [Installed ] [ 1] %pluginName (3.2.0.v20060603) [ 9] [Installed ] [ 1] JPOX Core (1.2.0.b1) [ 10] [Installed ] [ 1] Model Plug-in (1.0.0) [ 11] [Installed ] [ 1] Jars Plug-in (1.0.0) [ 12] [Installed ] [ 1] Main Plug-in (1.0.0) -> start 5 org.osgi.framework.BundleException: Activator start error. at org.apache.felix.framework.Felix._startBundle(Felix.java:1305) at org.apache.felix.framework.Felix.startBundle(Felix.java:1201) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:345) at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl .java:82) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand (Activator.java:265) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j ava:167) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:275 0) at org.apache.felix.framework.Felix._startBundle(Felix.java:1255) ... 6 more java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus -> start 6 org.osgi.framework.BundleException: Unresolved package in bundle 6: org.eclipse. osgi.service.datalocation -> start 7 org.osgi.framework.BundleException: Unresolved package in bundle 7: org.eclipse. osgi.service.urlconversion -> install file:org.eclipse.osgi-3.2.0.jar Bundle ID: 13 -> start 13 org.osgi.framework.BundleException: Activator start error. at org.apache.felix.framework.Felix._startBundle(Felix.java:1305) at org.apache.felix.framework.Felix.startBundle(Felix.java:1201) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:345) at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl .java:82) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand (Activator.java:265) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j ava:167) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.eclipse.osgi.framework.internal.cor e.SystemBundleActivator at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:275 0) at org.apache.felix.framework.Felix._startBundle(Felix.java:1255) ... 6 more java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBun dleActivator -> help bundlelevel <level> <id> ... | <id> - set or get bundle start level. cd [<base-URL>] - change or display base URL. headers [<id> ...] - display bundle header properties. help - display impl commands. install <URL> [<URL> ...] - install bundle(s). obr help - OSGi bundle repository. packages [<id> ...] - list exported packages. ps [-l | -u] - list installed bundles. refresh - refresh packages. resolve [<id> ...] - attempt to resolve the specified bundles. services [-u] [-a] [<id> ...] - list registered or used services. shutdown - shutdown framework. start <id> [<id> <URL> ...] - start bundle(s). startlevel [<level>] - get or set framework start level. stop <id> [<id> ...] - stop bundle(s). uninstall <id> [<id> ...] - uninstall bundle(s). update <id> [<URL>] - update bundle. version - display version of framework. -> refresh -> ps START LEVEL 1 ID State Level Name [ 0] [Active ] [ 0] System Bundle (0.8.0.incubator) [ 1] [Active ] [ 1] Apache Felix Shell Service (0.8.0.incubator) [ 2] [Active ] [ 1] Apache Felix Shell TUI (0.8.0.incubator) [ 3] [Active ] [ 1] Apache Felix Bundle Repository (0.8.0.incubator) [ 5] [Resolved ] [ 1] %pluginName (3.2.0.v20060601b) [ 6] [Installed ] [ 1] %pluginName (3.2.0.v20060601) [ 7] [Installed ] [ 1] %pluginName (3.2.0.v20060603) [ 9] [Installed ] [ 1] JPOX Core (1.2.0.b1) [ 10] [Installed ] [ 1] Model Plug-in (1.0.0) [ 11] [Installed ] [ 1] Jars Plug-in (1.0.0) [ 12] [Installed ] [ 1] Main Plug-in (1.0.0) [ 13] [Resolved ] [ 1] %systemBundle (3.2.0.v20060601) -> start 5 org.osgi.framework.BundleException: Activator start error. at org.apache.felix.framework.Felix._startBundle(Felix.java:1305) at org.apache.felix.framework.Felix.startBundle(Felix.java:1201) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:345) at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl .java:82) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand (Activator.java:265) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j ava:167) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:275 0) at org.apache.felix.framework.Felix._startBundle(Felix.java:1255) ... 6 more java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus -> start 6 DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.datalocation -> 13.0 DEBUG: WIRE: 6.0 -> org.eclipse.osgi.storagemanager -> 13.0 DEBUG: WIRE: 6.0 -> org.xml.sax -> 0 DEBUG: WIRE: 6.0 -> org.osgi.framework -> 0 DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.resolver -> 13.0 DEBUG: WIRE: 6.0 -> org.eclipse.osgi.util -> 13.0 DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.debug -> 13.0 DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.environment -> 13.0 DEBUG: WIRE: 6.0 -> org.osgi.service.packageadmin -> 0 DEBUG: WIRE: 6.0 -> org.xml.sax.helpers -> 0 DEBUG: WIRE: 6.0 -> javax.xml.parsers -> 0 DEBUG: WIRE: 6.0 -> org.osgi.util.tracker -> 13.0 org.osgi.framework.BundleException: Activator start error. at org.apache.felix.framework.Felix._startBundle(Felix.java:1305) at org.apache.felix.framework.Felix.startBundle(Felix.java:1201) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:345) at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl .java:82) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand (Activator.java:265) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j ava:167) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.jav a:52) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct ion.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260) ... 6 more java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus -> start 7 DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.urlconversion -> 13.0 DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.datalocation -> 13.0 DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0 DEBUG: WIRE: 7.0 -> org.osgi.service.url -> 0 DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.localization -> 13.0 DEBUG: WIRE: 7.0 -> org.eclipse.osgi.framework.log -> 13.0 DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0 DEBUG: WIRE: 7.0 -> org.osgi.util.tracker -> 13.0 DEBUG: WIRE: 7.0 -> org.eclipse.osgi.util -> 13.0 DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.debug -> 13.0 org.osgi.framework.BundleException: Activator start error. at org.apache.felix.framework.Felix._startBundle(Felix.java:1305) at org.apache.felix.framework.Felix.startBundle(Felix.java:1201) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:345) at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl .java:82) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand (Activator.java:265) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j ava:167) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.LinkageError: Class org/osgi/framework/BundleContext violat es loader constraints at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass( ContentClassLoader.java:149) at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassF romModule(ContentClassLoader.java:51) at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(Co ntentLoaderImpl.java:121) at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassO rResource(R4SearchPolicyCore.java:358) at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass( R4SearchPolicyCore.java:136) at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4Se archPolicy.java:45) at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass( ContentClassLoader.java:70) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:162) at org.eclipse.core.internal.runtime.Activator.getDebugOptions(Activator .java:104) at org.eclipse.core.internal.boot.PlatformURLConnection.<clinit>(Platfor mURLConnection.java:70) at org.eclipse.core.internal.runtime.Activator.installPlatformURLSupport (Activator.java:330) at org.eclipse.core.internal.runtime.Activator.start(Activator.java:79) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct ion.java:509) at org.apache.felix.framework.Felix._startBundle(Felix.java:1260) ... 6 more java.lang.LinkageError: Class org/osgi/framework/BundleContext violates loader c onstraints -> start 8 Bundle ID 8 is invalid. -> start 9 DEBUG: WIRE: 9.0 -> javax.transaction.xa -> 0 DEBUG: WIRE: 9.0 -> javax.resource.cci -> 11.0 DEBUG: WIRE: 9.0 -> javax.resource.spi -> 11.0 DEBUG: WIRE: 9.0 -> javax.jdo.identity -> 11.0 DEBUG: WIRE: 9.0 -> javax.jdo.spi -> 11.0 DEBUG: WIRE: 9.0 -> javax.jdo -> 11.0 DEBUG: WIRE: 9.0 -> javax.resource.spi.security -> 11.0 DEBUG: WIRE: 9.0 -> javax.jdo.listener -> 11.0 DEBUG: WIRE: 9.0 -> javax.resource -> 11.0 DEBUG: WIRE: 9.0 -> javax.transaction -> 0 DEBUG: WIRE: 9.0 -> javax.jdo.datastore -> 11.0 -> start 10 DEBUG: WIRE: 10.0 -> javax.jdo.datastore -> 11.0 DEBUG: WIRE: 10.0 -> javax.jdo -> 11.0 DEBUG: WIRE: 10.0 -> javax.jdo.listener -> 11.0 DEBUG: WIRE: 10.0 -> javax.jdo.spi -> 11.0 DEBUG: WIRE: 10.0 -> javax.jdo.identity -> 11.0 -> start 11 -> start 12 DEBUG: WIRE: 12.0 -> javax.jdo.datastore -> 11.0 DEBUG: WIRE: 12.0 -> javax.jdo -> 11.0 DEBUG: WIRE: 12.0 -> javax.jdo.listener -> 11.0 DEBUG: WIRE: 12.0 -> javax.jdo.spi -> 11.0 DEBUG: WIRE: 12.0 -> javax.jdo.identity -> 11.0 -> start 13 org.osgi.framework.BundleException: Activator start error. at org.apache.felix.framework.Felix._startBundle(Felix.java:1305) at org.apache.felix.framework.Felix.startBundle(Felix.java:1201) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:345) at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl .java:82) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand (Activator.java:265) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.j ava:167) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.eclipse.osgi.framework.internal.cor e.SystemBundleActivator at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:275 0) at org.apache.felix.framework.Felix._startBundle(Felix.java:1255) ... 6 more java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBun dleActivator -> start 14 Bundle ID 14 is invalid. -> ps START LEVEL 1 ID State Level Name [ 0] [Active ] [ 0] System Bundle (0.8.0.incubator) [ 1] [Active ] [ 1] Apache Felix Shell Service (0.8.0.incubator) [ 2] [Active ] [ 1] Apache Felix Shell TUI (0.8.0.incubator) [ 3] [Active ] [ 1] Apache Felix Bundle Repository (0.8.0.incubator) [ 5] [Resolved ] [ 1] %pluginName (3.2.0.v20060601b) [ 6] [Resolved ] [ 1] %pluginName (3.2.0.v20060601) [ 7] [Resolved ] [ 1] %pluginName (3.2.0.v20060603) [ 9] [Active ] [ 1] JPOX Core (1.2.0.b1) [ 10] [Active ] [ 1] Model Plug-in (1.0.0) [ 11] [Active ] [ 1] Jars Plug-in (1.0.0) [ 12] [Active ] [ 1] Main Plug-in (1.0.0) [ 13] [Resolved ] [ 1] %systemBundle (3.2.0.v20060601) ->