[ 
https://issues.apache.org/jira/browse/TUSCANY-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602242#action_12602242
 ] 

Rajini Sivaram commented on TUSCANY-2343:
-----------------------------------------

Daniel,

I had installed and started tsucany-sca-installer.jar first, so I had all 
Tuscany bundles and 3rd party jars installed before starting your bundles. I 
was expecting that your launch configuration using the installer would also 
result in the same bundles in Equinox. But yes, I am not using Eclipse, so it 
could be an Eclipse issue. Could you list the bundles in Equinox when using the 
installer, and check that all the 3rd party bundles are being installed? Also 
are all the Tuscany module bundles installed, and in RESOLVED state? The 
WorkScheduler is in the core module, so do you have a bundle with symbolic name 
"org.apache.tuscany.sca.core" installed and resolved? Obviously host-embedded 
was installed and resolved since the classes from this module are on your stack 
trace. If all the other bundles are present and resolved, but ServiceDiscovery 
is not finding the classes, there may some additional logic required in the 
Tuscany activator when running the bundles under Eclipse. 

-Rajini

> 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.

Reply via email to