Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 876 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 876 Bytes

Hawtio simple WAR plugin example

This sample application demonstrates how to write a plugin for Hawtio v3+ as a WAR file; WAR plugins are useful when deploying Hawtio and plugins to an application server such as Jetty, WildFly, and Tomcat.

This example also uses Hawtio minimal console instead of the default war for demonstrating purposes.

How to run

Build the project:

mvn install

Then run it with Jetty locally:

mvn jetty:run

Hawtio is available at http://localhost:8080/hawtio. Check that Sample Plugin is loaded at the navigation sidebar.

Sample Plugin

Deploying to a server

Copy the war file target/war-plugin.war to the standalone/deployments/ directory for WildFly or the deploy/ directory for Apache Tomcat / Jetty.