O'Reilly logo

Apache Karaf Cookbook by Heath Kesler, Johan Edstrom, Jamie Goodyear, Achim Nierbeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Pax modules in Apache Karaf

To start with Http Service, you will need to install one of the features mentioned earlier. This recipe will guide you through the installation of the different extensions of Pax Web and how it works.

How to do it…

To install the basic Http Service, start your Apache Karaf server and install the Http Service feature via the console using the following command:

karaf@root()> feature:install http

How it works…

After installing this feature, list the bundles with an la command. This will show you the following additional bundles to your Karaf instance:

78 | Active   |  30 | 2.2.0           | Apache ServiceMix :: Specs :: Activation API 1.4
79 | Active   |  30 | 1.0            | Servlet 3.0
80 | Active | 30 | 1.4.4 | JavaMail API (compat) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required