Knopflerfish 2.2 released

Knopflerfish 2.2. is now released and is available for download at:


This is a maintenance release of Knopflerfish.

The main new feature in this release is the new Graph View in the
desktop. Another desktop change is that it is now completely
self-contained, just install and use it on any R4 framework.

We've made a few screen videos of the new graph view:

Starting the framework:

Starting/stopping/uninstalling bundles:

A short highlight of other features and fixes are:
  • Framework 4.0.11
    • The OS name alias handling is now up to date
    • An issue with paths in the BundleClassPath manifest header has been fixed
    • Fragment handling during uninstall
    • A possible deadlock between registerService and refreshPackages have been removed
  • Event admin 2.0.3
    • Improved error handling and logging
  • Http Service 2.1.1
    • The actual port of a HttpService instance (specified with port 0) is now presented as a service property
  • Framework commands 2.0.5
    • Support for specifying an arbitrary filer expression added to several of the commands
    • The call command no longer requires the service implementation class to be public
  • Comm-win32 2.0.1
    • Added Windows Vista as supported osname
The release notes have the complete list of features and fixes:


/Gunnar, Christer, Erik


Unexpected blog post

Some of you might have noticed a seemingly non-OSGi, non-KF related, Swedish-language entry on this blog, mostly containing band photos.

It was totally unrelated to OSGi. I mistakenly posted my latest entry intended for my photo blog Obsessive Username Disorder on the KF blog.

The entry is now removed, but feel free to read the OUD blog too :)



New graph view in the KF desktop

Available as of revision 2598. It's actually pretty useful, not only cool. Try it out by downloading the latest night build from


...and select "Graph" from the view menu. Nodes are bundles. The left side shows packages imports and exports, the right side shows services. Exports are drawn upwards in the graph, imports downward.

  • Double-click on nodes moves to another bundle (using animation)
  • Right-click shows a popup menu with some common operations
  • The faded icons on the bottom are the bundle history.
Also, we've made the desktop bundle completely standalone, so you can now easyly install it in any OSGi framework. (try it on Eclipse Ganymede with approximate 240 bundles!)



Knopflerfish OSGi on the iPod Touch/iPhone 2.1

Well, I don't have any iPhone, but I do have an iPod touch. I'm happy to report that Knopflerfish OSGi runs well on the newly released 2.1 firmware and JamVM 1.5.1.

Quite fun, for being a Sunday. The somewhat hard part was to jailbreak my ipod touch. Then you just install JamVM, copy the usual Knopflerfish directory and do a "java -jar framework.jar"

The snapshots below show the KF http and tty consoles.



Desktop Preferences editor

As of revision 2498, there's a new display in the Swing Desktop: a Preferences editor. It displays and edits both Java java.util.prefs and OSGi org.osgi.service.prefs.

Grab if from the latest trunk release!


P.S. To actually implement the prefs editor, we sneaked in a part of the R4.1 spec, namely the Bundle.getBundleContext() method. For the curious, this was because no admin service was defined to the OSGi prefs API, thus making it necessary to grab other bundle's context (yeah, with the appropriate permisson). Still, the prefs editor will work on older/other frameworks (including the big four) thanks to some reflection hacks :)


Knopflerfish OSGi on the iPhone

We have reports of KF running on the iPhone (firmware 2.0.2 + JamVM 1.5)! The photo shows the KF HTTP admin UI up and running.


Update 2008-08-31: We just got two more screenshots of KF on the iPhone (thanks Yuuki!):

the TTY console and the HTTP console, click for larger views


Desktop event displayer

We're working on making the Knopflerfish graphical desktop better! The first step, available as of build 2482, is support for framework events. Now any event topic can be displayed in a manner similar to the log view.

Yes, multiple event views may be open at the same time, listening to different topics and filters. Also, events can be manually entered and posted (even using an existing event as a template):

It's available in the desktop bundle version 2.1.0, which should run on your OSGi framework of choice.

Do try it out.

/Erik W

P.S. Yeah, you can use the trunk's bundle repository for even easier install.


Welcome to the Knopflerfish blog

...because it feels much easier to blog :)

and, yes, there's a new KF 2.10 release as well as new logo!