Hi Daniel, I recently got an IncompatibleClassChangeError during activation and for me it was resolved by rebuilding extensibility, extensibility-osgi and osgi-runtime. Maybe this will work for you?
Regards, Graham. 2008/9/4 <[EMAIL PROTECTED]>: > Hi all, > > I'm still (or again) trying to integrate Tuscany in SMILA. After svn > update I built all osgi-bundles successfully. > > I do not use all Tuscany bundles in my project but only selected ones > (the ones I require for the functionality I need and of course the ones > required by those). As far as I can tell all dependencies are fulfilled > as all bundles start successfully except the one below. I use eclipse > 3.3 with equinox. > > If I start bundle org.apache.tuscany.sca.osgi.runtime_1.4.0 I get the > following error: > > org.osgi.framework.BundleException: Exception in > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.start() of > bundle org.apache.tuscany.sca.osgi.runtime. > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato > r(BundleContextImpl.java:1018) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC > ontextImpl.java:974) > at > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo > st.java:346) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu > ndle.java:260) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu > ndle.java:252) > at > org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start > (FrameworkCommandProvider.java:260) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.exe > cute(FrameworkCommandInterpreter.java:145) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(Fram > eworkConsole.java:291) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Framew > orkConsole.java:276) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkC > onsole.java:218) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.lang.IncompatibleClassChangeError > at > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.initializeTuscan > yClassLoaders(OSGiBundleActivator.java:82) > at > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.start(OSGiBundle > Activator.java:55) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleC > ontextImpl.java:999) > at java.security.AccessController.doPrivileged(Native Method) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato > r(BundleContextImpl.java:993) > ... 14 more > Nested Exception: > java.lang.IncompatibleClassChangeError > at > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.initializeTuscan > yClassLoaders(OSGiBundleActivator.java:82) > at > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.start(OSGiBundle > Activator.java:55) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleC > ontextImpl.java:999) > at java.security.AccessController.doPrivileged(Native Method) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato > r(BundleContextImpl.java:993) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC > ontextImpl.java:974) > at > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo > st.java:346) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu > ndle.java:260) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu > ndle.java:252) > at > org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start > (FrameworkCommandProvider.java:260) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.exe > cute(FrameworkCommandInterpreter.java:145) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(Fram > eworkConsole.java:291) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Framew > orkConsole.java:276) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkC > onsole.java:218) > at java.lang.Thread.run(Thread.java:595) > Nested Exception: > java.lang.IncompatibleClassChangeError > at > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.initializeTuscan > yClassLoaders(OSGiBundleActivator.java:82) > at > org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator.start(OSGiBundle > Activator.java:55) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleC > ontextImpl.java:999) > at java.security.AccessController.doPrivileged(Native Method) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato > r(BundleContextImpl.java:993) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC > ontextImpl.java:974) > at > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo > st.java:346) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu > ndle.java:260) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBu > ndle.java:252) > at > org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start > (FrameworkCommandProvider.java:260) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.exe > cute(FrameworkCommandInterpreter.java:145) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(Fram > eworkConsole.java:291) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(Framew > orkConsole.java:276) > at > org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkC > onsole.java:218) > at java.lang.Thread.run(Thread.java:595) > > > I also noticed that in the manifest of this bundle package > "org.apache.tuscany.sca.osgi.runtime" is exported as well as imported. > The latter seems to be unnecessary. > > Bye, > Daniel >
