LibraryToggle FramesPrintFeedback

Using the Embedded Console

Revision History

Overview

For a standalone broker the default configuration is for the Web console to be loaded along with the broker. The default address for the standalone broker's console is localhost:8181/activemqweb.

[Warning]Warning

Because the default configuration profile of a broker deployed into a Fabric container does not include the Web console, you must use Fuse Management Console to monitor fabric-deployed brokers, unless you install the a-mq profile in the Fabric container when you create the fabric. To do so, use the command fabric:create -p a-mq.

The default port and security configuration can easily be modified.

Accessing the console

The Fuse MQ Enterprise Web console's address is http://hostName:portNum/activemqweb .

For example, to access the default broker administration console on your local machine, you would point your Web browser at http://localhost:8181/activemqweb .

Changing the port

The port number at which the Web console is accessed is controlled by the broker's Pax Web server. To change the port, you need to edit the org.osgi.service.http.port property in the org.ops4j.pax.web OSGi Admin PID.

Example 9 shows the console commands used to change the port number of a standalone broker's Web console to 8536.

Example 9. Changing the Web Console's Port

FuseMQ:karaf@root> config:edit org.ops4j.pax.web
FuseMQ:karaf@root> config:proplist
   service.pid = org.ops4j.pax.web
   javax.servlet.context.tempdir = /Applications/FuseMQEnterprise-7.0.0/fuse-mq-7.0.0.fuse-beta-042/data/pax-web-jsp
   org.osgi.service.http.port = 8181
   org.ops4j.pax.web.config.file = /Applications/FuseMQEnterprise-7.0.0/fuse-mq-7.0.0.fuse-beta-042/etc/jetty.xml
   org.apache.karaf.features.configKey = org.ops4j.pax.web
FuseMQ:karaf@root> config:propset org.osgi.service.http.port 8536
FuseMQ:karaf@root> config:update

Securing the console

The security for the Web console is provided by the Web container in which it is deployed. For the embedded instance of the Web console, you need to configure the embedded Jetty container's security by editing conf/jetty.xml.

See Securing the Web Console for details.

Comments powered by Disqus