felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sten Roger Sandvik <ste...@gmail.com>
Subject Re: BndTools 3.0.0. + felix.http.jetty = Unable to resolve
Date Thu, 01 Oct 2015 15:55:04 GMT
The whiteboard implementation is actually in http.base but are included in
http.jetty. I think the http.whiteboard is old and should not be used for
the new R6 http service.

So, yes, no need for a seperate bundle for whiteboard implementation.

2015-10-01 17:49 GMT+02:00 Thomas Driessen <thomas.driessen@ds-lab.org>:

> @Carsten: thanks for your commitment. I think a short note about the
> current version, and which bundles are needed to run servlets and the like,
> would be sufficient for newbies like me ;) I assume that the whiteboard
> approach is now implemented in the http.jetty bundle and I don't need any
> other bundle for that?
>
> @Neil: thanks for the additional information.
> Thomas
>
> 2015-10-01 17:33 GMT+02:00 Neil Bartlett <njbartlett@gmail.com>:
>
> > BTW regarding that resolution error… the OSGi Compendium JAR does now
> have
> > “must.not.resolve” because it is not appropriate for runtime usage. But
> you
> > can use any of the APIs from the compendium by downloading the individual
> > spec bundle for that API. For example, the HttpService spec JAR is here:
> >
> >
> >
> >
> http://search.maven.org/#artifactdetails|org.osgi|org.osgi.service.http|1.2.1|jar
> >
> > Neil
> >
> >
> > On Thu, Oct 1, 2015 at 4:24 PM, Carsten Ziegeler <cziegeler@apache.org>
> > wrote:
> >
> > > Yes, you're right ,the docs are outdated :(
> > > (I'll try to update them)
> > >
> > > Carsten
> > >
> > > Am 01.10.15 um 16:54 schrieb Thomas Driessen:
> > > > That worked! Thanks a lot.
> > > >
> > > > Might it be, that the documentation for the felix.http project is a
> > > little
> > > > bit outdated? (
> > > >
> > >
> >
> http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html
> > > ).
> > > > Or am I just searching at the wrong place?
> > > >
> > > > Kind regards,
> > > > Thomas
> > > >
> > > > 2015-10-01 16:39 GMT+02:00 Carsten Ziegeler <cziegeler@apache.org>:
> > > >
> > > >> I think you're missing the org.apache.felix.http.api bundle, version
> > > 3.0.0
> > > >>
> > > >> Carsten
> > > >>
> > > >> Am 01.10.15 um 13:12 schrieb Thomas Driessen:
> > > >>> Hi,
> > > >>>
> > > >>> I just started with a fresh Installation of Eclipse and BndTools
> > > 3.0.0. I
> > > >>> tried to run a minimal setup with:
> > > >>>
> > > >>> -runrequires: \
> > > >>>
> osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.shell)',\
> > > >>>
> > osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)',\
> > > >>> osgi.identity;filter:='(osgi.identity=TexoTest)',\
> > > >>>
> > > >>
> > >
> >
> osgi.identity;filter:='(&(osgi.identity=org.apache.felix.http.jetty)(version>=3.1.0))'
> > > >>>
> > > >>> where "TexoTest" is my own bundle and ended up with the following
> > error
> > > >>> when resolving the bundles:
> > > >>>
> > > >>> org.osgi.service.resolver.ResolutionException: Unable to resolve
> > > >>> <<INITIAL>> version=null: missing requirement
> > > >> org.apache.felix.http.jetty;
> > > >>> version=3.1.0
> > > >>> ->  Unable to resolve org.apache.felix.http.jetty version=3.1.0:
> > > missing
> > > >>> requirement org.osgi.service.http.context; version=[1.0.0,1.1.0)
> > > >>> ->  Unable to resolve osgi.cmpn version=6.0.0.201505202027:
missing
> > > >>> requirement &(must.not.resolve=*)(must.not.resolve!=*)]]
> > > >>>
> > > >>> Is this an intended behaviour? As of v 6.0.0 the cpmn bundle has
> this
> > > >>> "must.not.resolve" thing. So do I get it right and I have to wait
> for
> > > >>> org.osgi.service.http.context to be updated so that the cpmn is
> not a
> > > >>> mandatory dependency for it anymore?
> > > >>>
> > > >>> Best regards,
> > > >>> Thomas
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Carsten Ziegeler
> > > >> Adobe Research Switzerland
> > > >> cziegeler@apache.org
> > > >>
> > > >>
> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> > > >> For additional commands, e-mail: users-help@felix.apache.org
> > > >>
> > > >>
> > > >
> > > >
> > >
> > >
> > > --
> > > Carsten Ziegeler
> > > Adobe Research Switzerland
> > > cziegeler@apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> > > For additional commands, e-mail: users-help@felix.apache.org
> > >
> > >
> >
>
>
>
> --
> M.Sc. Thomas Driessen
> Software Methodologies for Distributed Systems
> Institute of Computer Science
> University of Augsburg
> Universitätsstr. 6a
> 86135 Augsburg, Germany
>
> Tel:    +49 821 598-2486
> email: thomas.driessen@informatik.uni-augsburg.de
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message