Over a million developers have joined DZone.

Hawtio v1 Still Going Strong: New Release With Log Plugin Working on Karaf 3.x/4.x Containers

DZone's Guide to

Hawtio v1 Still Going Strong: New Release With Log Plugin Working on Karaf 3.x/4.x Containers

Hawtio now has a log plugin that functions on Karaf containers! Despite being on v2, the first iteration is still raging on.

· Integration Zone ·
Free Resource

The Future of Enterprise Integration: Learn how organizations are re-architecting their integration strategy with data-driven app integration for true digital transformation.

The hawtio project will be 3 years old in next month, when the first commit was done by James on the end of November.

I blogged for first time about hawtio in april 2013, when the project had taken so much form that the Camel plugin was showing its promise, and we had the dashboard plugin that allowed a customized UI with widgets you wanted.

About a year ago we started version 2 of hawtio that took the project into a native web-based frontend project, as opposed to v1 which had ties to Java.

This blog is not about v2, but about v1 which is still going strong.

Today we released 1.4.56 (yes we love doing frequent releases), and in this release we managed to get the log plugin to work with Apache Karaf 3.x and 4.x containers (the Karaf team refactored a lot in 3.x that breaks stuff). To ensure this keeps working we ported over the log adapter from fabric8 v1 to hawtio v1 so we have the module natively in the hawtio project. This allows us to maintain the log adapter source code easier and ensure it continues to work with what changes the Karaf team may come up with.

In the screenshot below I installed hawtio in a vanilla Apache Karaf 4.0.2 release, and opened the web console on localhost:8181/hawtio/ and login with karaf/karaf, and then the log plugin shows the log from Karaf. You can filter by keywords which gets highlighted in the log as well.

hawtio log plugin works in Karaf 3.x and 4.x containers

Unfortunately, due the Karaf changes the log plugin does not work with Karaf 2.x containers.

This release also improves the Camel plugin which know shows endpoint/component documentation where we group the options in tabs. This helps with those endpoints that has a lot of options such as the file/JMS component.

hawtio now shows Camel endpoints properties grouped by tabs

You can find the latest release of hawtio at the website.

Make your mark on the industry’s leading annual report. Fill out the State of API Integration 2019 Survey and receive $25 to the Cloud Elements store.

integration ,enterprise integration ,ei ,karaf ,apache karaf ,hawtio

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}