Hi Felix,
  Thanks for explanation.  As you suggested, I think (1) makes sense for the
short term.

Although the 1.2.2 release is not available through
http://felix.apache.org/obr/releases.xml yet, I was able to add it to my
internal OBR setup and install it without issues.

Allen

On Sat, Jan 17, 2009 at 6:03 AM, Felix Meschberger <[email protected]>wrote:

> Hi,
>
> The problem is a bit tricky to answer, unfortunately.
>
> One part of the problem is, that the management console registration
> declares, that a HttpService is required (not the API but an actual
> instance).
>
> But the Pax Web - Service, though actually registering a HttpService
> instance, is not seen by the OBR implementation as providing the service.
>
> I see two options: (1) we remove the HttpService requirement in the Web
> Console entry of the repository and (2) we enhance the OBR implmentation
> (Apache Felix Bundle Repository) such, that the LocalRepository
> representing the installed bundles, automatically generates capabilities
> for registered services.
>
> IMHO, (1) is easier to do but probably sub-optimal while (2) takes a bit
> longer (code change) but is probably the better solution. I would go for
> (1) in the short-term while implementing (2) to have the correct fix in
> the medium and long run (release cycle).
>
> WDYT ?
>
> Regards
> Felix
>
>
> Allen Lau schrieb:
> > I'm trying to install the Felix Web Management Console in Felix 1.4.1
> using
> > the obr client and this is popping up.
> >
> > -> obr deploy "Apache Felix Web Management Console"
> > Unsatisfied requirement(s):
> > ---------------------------
> >    (service=org.osgi.service.http.HttpService)
> >       Apache Felix Web Management Console
> > -> ps
> > START LEVEL 1
> >    ID   State         Level  Name
> > [   0] [Active     ] [    0] System Bundle (1.4.1)
> > [   1] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
> > [   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
> > [   3] [Active     ] [    1] Apache Felix Bundle Repository (1.2.1)
> > [   4] [Resolved   ] [    1] OPS4J Pax Logging - API (1.3.0)
> > [   5] [Resolved   ] [    1] OSGi R4 Compendium Bundle (4)
> > [   6] [Active     ] [    1] OPS4J Pax Web - Service (0.5.1)
> >
> >
> > I already have the Pax Web Service installed, but I guess the
> > "service=org.osgi.service.http.HttpService" is referring to something
> else
> > or is the obr client not equipped to handle the service capability yet?
> >
> > Thanks,
> > Allen
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to