Blog

Management interfaces - JBoss

  • (4.0)
  • | 841 Ratings |
  • Last Updated January 09, 2017

One of the innovating features of the application server is the powerful administration and management channels that include a CLI and a web-based administration console. The native CLI interface, by default, runs on port 9999, while the web console is bound on port 9990.

Management interfaces are discussed in detail in Chapter 7, Managing the Application Server, which provides a detailed coverage of the application server management tools.

Profiles

Letting the configuration file flow, you can find the definition of the server’s profiles, which is one of the core concepts introduced in AS. A profile can be seen as a collection of subsystems: each subsystem in turn contains a subset of functionalities used by the application server.

Enthusiastic about exploring the skill set of Jboss? Then, have a look at the JBOSS TRAINING together additional knowledge

For example, the web subsystem contains the definition of a set of connectors used by the container, the messaging subsystem defines the JMS configuration and modules used by the AS’s messaging provider, and so on.

Note

One important difference between a standalone and a domain configuration file is the number of profiles contained in it. When using a standalone configuration, there’s a single profile that contains the set of subsystem configurations. Domain configuration can, on the other hand, provide multiple profiles.

Interfaces

The interfaces section contains the network interfaces/IP addresses or host names where the application server can be bound.

By default, the standalone application server defines two available network interfaces: the management and the public interface.

The management network interface is referenced by the AS management interfaces, as shown in the management interfaces section.

Frequently asked Jboss Interview Questions

Both network interfaces resolve, by default, to the loop back address 127.0.0.1. This means that, by default, the application server public services and the management services are accessible only from the local machine. By changing the inet-address value, you can bind the network interface to another IP address, which is available on the machine:

Using command-line options to change network interface bindings

In earlier releases of the application server, you used to launch the startup script with the additional -b parameter, followed by a valid host/IP address. This would cause the server to bind on the host/IP address provided. This option was not available in the initial AS 7 release however it has been restored in the AS 7.1.0 release.

Socket binding groups

A socket binding makes up a named configuration of a socket. Within this section, you are able to configure the network ports, which will be open and listening for incoming connections. As we have just seen, every socket binding group references a network interface through the default-interface attribute:

In order to change the ports where services are bound, you can change the port attribute of its service. A definitely better approach is, however, to use management interfaces that provide an immediate outcome of the affected change. In the following example, we are changing the default port for the http connector using the CLI.

Deployments

The last section of the configuration file contains the deployed application, which has been registered on the application server. Each time a new application is deployed or un-deployed, this section is updated to reflect the new application stack.

Explore Jboss Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

 


Subscribe For Free Demo

Free Demo for Corporate & Online Trainings.

Free Demo Popup -->