Apache Karaf provides an optional WebConsole.
This WebConsole provides a graphical web GUI to see and manage your Apache Karaf container.
You can use the WebConsole to:
manage Apache Karaf features
manage OSGi bundles
manage the instances
manage the confgurations
manage the log service
The WebConsole is extensible via a plugins system. Some applications can add new pages to the WebConsole. For instance, Apache Karaf Cellar provides additional pages to administrate cluster groups, nodes, etc.
To enable the Apache Karaf WebConsole, you just have to install the
karaf@root()> feature:install http karaf@root()> feature:install webconsole
NB: you have to install a Http Service first as requirement, either
webconsole feature automatically installs the
http feature (see the [WebContainer section|webcontainer] for details).
The Apache Karaf WebConsole uses the WebContainer port number (see the [WebContainer section|webcontainer] for details)
By default, the Apache Karaf WebContainer port number is
It means that the Apache Karaf WebConsole is accessible on the following URL: http://localhost:8181/system/console
As the Apache Karaf WebConsole uses the security framework, an username and password will be prompted.
You have to enter an username/password from the
karaf realm. By default, you can use
See the Security section for details.
By default, only users with the
You can change the security configuration of the webconsole in the
etc/org.apache.karaf.webconsole.cfg configuration file:
# The JAAS realm name to use for authentication realm=karaf # The role required to access the WebConsole role=admin