Morten wrote:
> --- Den man 24/5/10 skrev Paul Sandoz <Paul.Sandoz_at_Sun.COM>:
>
>>> On May 22, 2010, at 11:39 AM, Jakub Podlesak wrote:
>>> this error occurs, when you start jersey-server bundle before the >>jersey-core bundle.
>>> I need to fix that, but in the meantime, could you please try to make >>sure the jersey-core bundle
>>> gets started first? Does it work for you?
>>>
>
> In OSGI, it is a NO NO to require bundles to start in a specific order. It might be better just to combine these bundles to avoid the whole problem ? (i.e. not create more bundles then you in fact can deal with).
>
The aim is to provide the same jars to work in and outside OSGi. The way
how modularization is done is an orthogonal problem.
If somebody just needs to build a client application, jsr311-api.jar,
jersey-core.jar and jersey-client.jar is everything needed
regardless it is run within OSGi or not.
As i wrote, i need to fix the start order issue, but combining the
single modules is not the way i want to go.
> Alternatively, I guess you would need some servicetrackers to keep track of what comes and goes because if you do make multiple bundles then I guess it must be because they should be updated independently ?
>
>
>>> Regarding the ability to run Jersey on Felix, we have two samples >>showcasing that, which are continuously being tested
>>> on Felix without issues (see [1] and [2]).
>>>
>
> Have you considered using Pax runner instead (http://paxrunner.ops4j.org/space/Pax+Runner) which will allow you to just as easily test on ALL osgi frameworks ?
>
In fact, we are actually using pax exam plugin.
>
>> Can we add a chapter to the user guide explaining what is current >supported and linking to the samples?
>> Paul.
>>
>
> Do notice, that the OSGI samples are/where missing from the big archive of samples that can be downloaded.
>
Good catch, thanks!
~Jakub
> /Morten
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>