Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[concierge-dev] StartLevel compat service + resource ContentLength

Hi all,

I often use the Apache Felix Webconsole to monitor my OSGi runtime when deployed on an external device without CLI access. This was not working on Concierge so I looked into the problems to fix it.

In order to get things working I had to fix 2 things:
- Apparently the webconsole bundle used the deprecated StartLevel service, so I added a compat bundle for it. - Apache's jetty only works when the getContentLength of the resource url handler returns the right length (in our case it just returned -1). I added some code to be able to lookup the right content length of resources.

Cheers,

Tim

--
Tim Verbelen
Department of Information Technology
Broadband Communication Networks (IBCN)
Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14940 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
E: tim.verbelen@xxxxxxxxxxxxxx
W : www.ibcn.intec.UGent.be



Back to the top