Thursday, June 26, 2014

Apache Karaf Cookbook now available for pre-order!

This past winter Johan, Heath, Achim, and I started our latest adventure writing Apache Karaf Cookbook for Packt Publishing. We're happy to announce that the book is finally available for pre-order via Packt's website.

We've taken care to cram as many hints, tips, and experiences into its pages as we could.

Taking a look at our table of contents you'll find recipes for:

  • Apache Karaf for system builders
  • Turning Karaf into a Smart Router with Apache Camel
  • Model Karaf into a Message Broker with Apache ActiveMQ
  • Transform Karaf into a JSP host with Pax-web
  • Distribute your Karaf applications across a clustered container with Apache Karaf Cellar
  • Transmute Karaf into a web service container with Apache CXF
  • Turbo-charge your Karaf applications’ persistence layer scalability with Apache Cassandra
  • Manage Big Data on Karaf with Apache Hadoop
  • Integration test with Pax Exam (bonus chapter!)

We hope the community benefits from our experiences, we've poured a lot of ourselves into this title. For more publications on Karaf please see our Instant OSGi Starter, and Learning Apache Karaf.

Sunday, June 1, 2014

Up coming Apache Karaf releases, OpenDaylight update, and my acceptance into the ASF.

We have two release candidates in progress: Apache Karaf 2.3.6 and 3.0.2.


Our first target is the Karaf 2.3.x line. 



Highlights in this RC include; Better management of RMI/JMX ports for pax-exam integration tests, more robust JDBC against broken data sources,  several improvements to JAAS, among many other refinements and bug fixes.

Wine pairing for this RC is Placido Chianti 2011

Our second release focus is the Karaf 3.0.x line.


Highlights in this RC include; RBAC recognize group configuration when use Publickey to loginmore robust JDBC against broken data sources, add support for role based JMX authorization, Mbean Server RBAC guard should support wildcard role, among many other refinements and bug fixes.

Wine pairing for this RC will be Gabbiano Chianti 2010.

We can't wait to get these release candidates out to the community for validation and voting. Please keep an eye on our dev list for when the votes go live.

Any updates on OpenDaylight on Apache Karaf?


Lots of initial features sets have been defined, and commands adapted to work in their new environment. It's still a work in progress, but coming along nicely :)

There will be an open demo on Monday June 2nd, 2014 on the OpenDaylight Technical Work Stream call: https://wiki.opendaylight.org/view/Tech_Work_Stream:Main

Topics on the call include:


  • Karaf in OpenDaylight & Hands-On demo on developing ODL components for Karaf Runtime - Mathieu Lemay (40 mins) 
  • Multi-Tenancy Discussion - David Lenrow (20 mins)

Membership with the Apache Software Foundation!


On a personal note, I've recently accepted an invitation to become a member of the Apache Software Foundation. I can not express how honoured I am to be given the opportunity to participate with the Apache Community on this level. I'm looking forward to years to come, helping to grow our communities, and contribute more to their success.

Wednesday, April 30, 2014

OpenDaylight on Apache Karaf!

I'm placing aside a bottle of
Colores Del Sol, Malbec, Mendoza, Argentina, 2010
for when the first OpenDaylight Apache Karaf
Release becomes available.
The OpenDaylight Apache Karaf distribution is coming soon!

What is OpenDaylight?


OpenDaylight is an open platform for network programmability to enable Software-Defined Networks and create a solid foundation for Network Functions Virtualization for networks at any size and scale.

What is the OpenDaylight Apache Karaf Distribution?


To put it succinctly, it's an OpenDaylight distribution in which key ODL components are deployed on top of Apache Karaf. The base Karaf container has been configured to support OpenDaylight's specific needs, including Equinox core, key component features available by default, custom commands, and branding!

Why Apache Karaf?


OpenDaylight has been an OSGi based project from the start, now it's ready to improve its base environment experience via Karaf. Specifically, some of the key reasons for the distribution are:
  • Ease of deployment.
  • Friendly console CLI.
  • Superior Pax Exam integration, and
  • Awesome, supportive community ;)

Stay tuned for updates as the OpenDaylight community moves towards the debuting of the new distribution.

Sunday, April 13, 2014

Apache Karaf 2.3.5 and 3.0.1 Released!

The Apache Karaf team are pleased to announce the availability of Apache Karaf 2.3.5 and 3.0.1!

These releases provide system update patches to the 2.3.x and 3.0.x lines. It is recommended that you review our release notes before updating your deployments.

This release process has been something more special, as we produced two release candidates for review at the same time - hence double decanter day.

The Karaf 3.0.1 RC process was enjoyed with Gabbiano Chianti 2011, while the Karaf 2.3.5 RC was enjoyed over a bottle of Fetzer Vally Oaks Zinfandel 2010.

Best release process ever.

Happy developing!

Thursday, April 10, 2014

Double Decanter Day!

Apache Karaf 2.3.5 and 3.0.1 Release Candidates are both up for vote!

I'll apologize that I had to switch over the Extravaganza Trapiche 2013 to a Gabbiano Chianti 2011 (Karaf 3.0.1). The former bottle accidentally made it into the general consumption collection.

The Karaf 2.3.5 RC is being enjoyed with a bottle of Fetzer Vally Oaks Zinfandel 2010.

Please take some time to down load the RC kits, or build from tags in git. The more testing the better for the community. In the mean while I'm going to setup two decanters and enjoy the breathing process twice over :)

Monday, March 24, 2014

Thursday, March 13, 2014

Apache Karaf 3.0.0 on Raspberry Pi!

The question we've all been asking finally answered - yes, Apache Karaf 3.0.0 can run on Raspberry Pi! 

If you're not familiar with Raspberry Pi it's a small, inexpensive computer which at its heart runs a 700 MHz Low Power ARM1176JZ-F Applications ProcessorCPU with 512MB ram.

My build utilizes a Debian based Linux distro, Raspbian, and an Arm compatible Oracle JDK build.

Out of the box I had to make some small modification to the Karaf shell script. The "server" flag was not recognized by the Java installation on my RPi. Editing this out of the script allowed Karaf to start up happily.

First Boot!
I have a feeling there are lots of performance gains to be made with some careful tweaking of JVM parameters.
Other than having reduced memory, IO, and CPU resources in comparison to the Servers and Workstations I'm used to working upon the RPi shown itself to be a very capable platform.

What about the Service Wrapper?

Almost there, however this is about as far as the service wrapper will go on RPi platform :(

Unfortunately that feature still does not operate out of the box on Raspberry Pi. A Jira ticket has been filed for this deficiency, hopefully an Apache License compatible solution will be found.