felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@gmail.com>
Subject Using Web Console (was: [VOTE] Release Web Console 1.0.0)
Date Thu, 22 May 2008 12:38:35 GMT
Hi Stojan,

Am Donnerstag, den 22.05.2008, 13:05 +0200 schrieb Stojan Peshov:
> Hi all,
> 
> I'm new to this list, as to this osgi, felix concepts.
> I've tried spring-dm, pax-web, dysoweb so far, and last week I
> discovered web console.
> The question is how can I try it?
> 
> I started my own web project which embeds felix, installed web console
> bundle and started it,
> but it seems that no servlet is registered within the web console.
> bindHttpService was not called at all.
> 
> What am I missing?

Probably an HttpService. If you embed the OSGi framework - presumably
Felix ;-) - inside a web application, you can install an HttpService
bridge such as the Equinox bridge at [1]. Just make sure the HttpService
bridge is linked to the servlet container. There should be documentation
on this on the Equinox site. Another example of this is the Sling Web
App launcher.

Hope this helps.

> Is web console only working with felix with embedded tomcat?

By no means. This would really bad on our part ;-) The console depends
on an HttpService being present. This may be an implementation embedding
a servlet container such as Felix' http.jetty, which in fact embeds
Jetty not tomcat. Another possibility is an HttpService bridge as
explained above.

Regards
Felix

[1] http://www.eclipse.org/equinox/server/http_in_container.php (though
this describes embedding Equinox in a web app, the mechanics may just as
well be applied to Apache Felix. For an example see the Apache Sling web
app launcher)

> Regards,
> Stojan
> 
> 
> On Wed, May 21, 2008 at 11:25 PM, Felix Meschberger <fmeschbe@gmail.com> wrote:
> > Am Mittwoch, den 21.05.2008, 23:07 +0200 schrieb Niklas Gustavsson:
> >> A minor annoyance. commons-fileupload, json and
> >> org.apache.felix.bundlerepository are inlined into the distribution
> >> JAR, however in the POM these dependencies are not marked as
> >> <optional>true</optional> meaning they will be included in the
> >> transitive dependencies which is not necessary.
> >
> > Thanks for pointing this out. I will fix this in trunk.
> >
> >> Still, +1. It works like a charm in my app.
> >
> > Good to hear ;-)
> >
> > Regards
> > Felix
> >>
> >>
> >>
> >> /niklas
> >>
> >> On Tue, May 20, 2008 at 8:44 PM, Felix Meschberger <fmeschbe@apache.org>
wrote:
> >> > Hi all,
> >> >
> >> > After moving the OSGi Console to the Felix project, I now compiled a
> >> > first release candidate and put it up here:
> >> >
> >> >
> >> > http://people.apache.org/~fmeschbe/org.apache.felix.webconsole-1.0.0/
> >> >
> >> > The KEYS feil for verifying the signature is also in this directory, the
> >> > MD5 and SHA1 files are maven generated.
> >> >
> >> > So please check the release and cast your votes - the vote will be open
> >> > for 72 hours:
> >> >
> >> >  [ ] +1 release org.apache.felix.webconsole 1.0.0
> >> >  [ ] 0 don't care
> >> >  [ ] -1 do NOT release, because ....
> >> >
> >> > Thanks and Regards
> >> > Felix
> >> >
> >> > PS: You may find the scripts in
> >> > http://people.apache.org/~fmeschbe/release_helpers/ interesting for
> >> > batch retrieving the release and checking the signatures (the KEYS file
> >> > is ignored instead your local GPG2 keystore is used, you might want to
> >> > add my public key to your keystore) and checksums:
> >> >    $ getrelease
> >> > http://people.apache.org/~fmeschbe/org.apache.felix.webconsole-1.0.0/
> >> >    $ ckrelease *.gz  *.zip *.jar *.pom
> >> >
> >> > --
> >> > fmeschbe@apache.org
> >> > GPG 369A F551 BA81 A412 C3D4  1367 5E27 F86E F79B 7715
> >> >
> >> >
> >
> >


Mime
View raw message