[ https://issues.apache.org/jira/browse/TUSCANY-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603525#action_12603525 ]
Daniel Stucky commented on TUSCANY-2343: ---------------------------------------- Hi Rajini, yes, you were right. There were some duplicate SDO bundles - the ones provided by Tuscany. I'm a little confused now as SDO bundles are included in the Tuscany 3rd party (the ones created by the installer) and SDO bundles in the Maven repository ( referenced in the installers classpath) Not noticing it, I had installed both versions in my OSGi runtime: MVN repository .m2\repository\org\apache\tuscany\sca\tuscany-databinding-sdo\2.0-incubating-SNAPSHOT\tuscany-databinding-sdo-2.0-incubating-SNAPSHOT.jar .m2\repository\org\apache\tuscany\sca\tuscany-databinding-sdo-axiom\2.0-incubating-SNAPSHOT\tuscany-databinding-sdo-axiom-2.0-incubating-SNAPSHOT.jar; .m2\repository\org\apache\tuscany\sdo\tuscany-sdo-api-r2.1\1.1-incubating\tuscany-sdo-api-r2.1-1.1-incubating.jar; .m2\repository\org\apache\tuscany\sdo\tuscany-sdo-impl\1.1-incubating\tuscany-sdo-impl-1.1-incubating.jar; .m2\repository\org\apache\tuscany\sdo\tuscany-sdo-lib\1.1-incubating\tuscany-sdo-lib-1.1-incubating.jar; .m2\repository\org\apache\tuscany\sdo\tuscany-sdo-tools\1.1-incubating\tuscany-sdo-tools-1.1-incubating.jar; 3rd party org.apache.tuscany.sca.tuscany-sdo-api-r2.1-1.1-incubating.jar org.apache.tuscany.sca.tuscany-sdo-impl-1.1-incubating.jar org.apache.tuscany.sca.tuscany-sdo-lib-1.1-incubating.jar org.apache.tuscany.sca.tuscany-sdo-tools-1.1-incubating.jar Which ones are the right ones to use ? For testing I just removed the 3rd party bundles (because it's a subset of the others) and now my SCA Domain starts successfully !!! Thanks for your help !!! Now I'll try to get our JUnit tests run to check execution of the components. Daniel > OSGi bundle design leads to class loading issues > ------------------------------------------------ > > Key: TUSCANY-2343 > URL: https://issues.apache.org/jira/browse/TUSCANY-2343 > Project: Tuscany > Issue Type: Bug > Reporter: Georg Schmidt > Attachments: Libary Versions.xls, test_bundles.zip > > > Currently the design of the OSGi bundles leads to class loading exceptions. > There seem to be several reasons for this behavior: > * reexporting of all libraries without version numbers > * imports without version numbers > Please use distinct bundles for 3rd party libraries. That would lead to > easier reusage of your bundles in a larger OSGi project. > The current status leads to undefined system behaviour due to the OSGi class > loading concept. > Please tell if you see a way, how we could support you by achieving this > goal. (If a solution is interesting for you) We are willing to contribute > because its a critical project issue for us. > The problems occur with the current snapshot release. Sorry, I do not know > which version to take. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.