You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Da...@empolis.com on 2008/08/18 11:41:42 UTC

AW: OSGi usage. was: Re: AW: Tuscany users, we want your feedback on the Tuscany distribution

Hi Raymond,

sorry for the late reply, I was on vacation.
Please check the answers inline.

Bye,
Daniel


> Hi, Daniel.
> 
> Thank you so much for sharing your experience. I'm particularly
> interested
> in the OSGi enablement for Tuscany modules. I have started to work in
> this
> area recently and would like to bring our OSGi enablement to the
> "mainstream". Any help is welcome.
> 
> I have a few comments and further questions for you:
> 
> 1)  > Embedded in Equinox OSGi runtime.
> 
> Do you start the Equinox alone outside Eclipse or do you use Tuscany
> bundles
> for your Eclipse plugins inside Eclipse? For example, copy the tuscany
> bundles into eclipse/plugins folder and reference them in your own
> plugins?

The goal is to have a self-contained server application, so we start
Equinox runtime outside of eclipse.

 
> 2) > + OSGi bundling
> >    * Lots of problems integrating the Tuscany OSGi dependency
bundles
> > with our own dependency bundles, especially related to XML
processing
> > bundles (JAXP, JAXB).
> 
> Can you provide us a few examples on the issues you run into?

In general there were classloading problems like xerces/xalan
META-INF/services descriptions were not found or the classes therein
were not found). Here are 2 links with discussions, they should contain
some more details about various issues.
- http://www.mail-archive.com/tuscany-user@ws.apache.org/msg02594.html
- http://www.mail-archive.com/tuscany-user@ws.apache.org/msg03165.html
All those problems forced us to postpone Tuscany integration in SMILA
(formerly EILF). I will give it another try soon and will provide
detailed information about such problems as they occur.



> >    * "Dynamic Imports" in bundles should be avoided. We had lots of
> > classloading problems
> 
> +1. Which bundle do you see the "DynamicImport-Package" directive?


I guess in former versions "dynamic imports" were used more frequently.
I did a search on the latest version and found only one Manifest.mf in
sca\itest\osgi-tuscany\osgi-tuscany-test\src\test\resources\META-INF
that use it.