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 extended Http Service in Apache Karaf

Usually, just using the basic Http Service is not enough anymore these days, especially when it comes to serving JSP or complete web applications. So, a better usable container is needed.

How to do it…

  1. To install the HTTP Whiteboard feature, start your Apache Karaf server and install the HTTP Whiteboard feature via the console using the following command:
    karaf@root()> feature:install http-whiteboard
    
  2. Transform your Apache Karaf server into a full-featured web container using the following command:
    karaf@root()> feature:install war
    

How it works…

The Whiteboard feature installs another two Pax Web bundles. These bundles give you JSP and Whiteboard support. These two bundles are shown in the following ...

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