Hurry! 20% Off Ends SoonRegister Now

JBOSS Admin Console

It’s time to update your bookmarks. JBoss AS 7, by default, does not use any more port 8080 to serve the admin console. You can access it at the https://localhost:9990/console as configured in your standalone.xml/domain.xml.
port=”9990″/>

Once logged in with your account you will land on the main application window which, in the standalone mode contains two main tabs: The first one, Profile, can be used to model the application server configuration as illustrated by the following screenshot:

JBoss AS 7

On the other hand, the Runtime tab can be used to manage deployments, as we have learnt in before tutorials.

Inclined to build a profession as JBOSS Developer? Then here is the blog post on JBOSS TRAINING ONLINE.

In the next section we will show how easy can be configuring server profiles using the Web admin console:

JBoss AS 7- deployments

Configuring server profiles

The server profile configuration is located in the left area of the Web application. When running in standalone mode, it can be located under the “Profile” label. When running domain mode, you will need to navigate through the “Profiles” tab and choose one through the “Profile” combo box.

Expanding the Profile label, you can see a set of subsystems that can be configured through the Web interface.

In before tutorials, Configuring the Application Server, and Chapter 3, Configuring the Enterprise Server, of this book, we showed how to configure these resources using the main configuration file. If you are the kind of system administrator who prefers windows, icons, menus, and pointers (WIMP) interfaces, then the next sections are for you. The configuration of resources, when using the Web console, is pretty intuitive, so we will just cover the following handy topics:

  • Configuring data sources
  • Configuring JMS resources
  • Configuring Socket Binding groups

MindMajix Youtube Channel

Leave an Inquiry to Learn JBoss Online Training in Hyderabad

Configuring data sources

Clicking on the Datasources link, you will switch the main panel to the Datasource Configurations panel. This panel contains two upper tabs for configuring Data sources and XADatasources. Let’s see what the first tab contains:

In the middle of the panel, you can find out the list of configured data sources. The actions that can be started, are located in the upper right area of the screen, where you can create a new one by clicking on the Add button. In the same part of the screen, you can delete a Datasource definition. On the other hand, in the lower part of the GUI you
can choose to Edit / Disable / Test a Datasource).

Data sources Configuration

Editing or deleting an existing data source is a straightforward task, which can be executed with as little as a button click. The same can be said about enabling and disabling the selected data source. Here, we will rather show how to add a new data source to your Profile configuration, which requires a few simple steps to be completed.

Frequently asked Jboss Interview Questions

Once you have clicked on the New Datasource button, a three-steps wizard will guide you through the creation of the data source. Let’s configure a sample MySQL datasource for this purpose. The first information required will be the data source name and its JNDI binding. Leaving the Enabled check-box on will make the data source enabled (default).

Datasource creation

The next step will be selecting the proper JDBC driver for your data source. Provided that you have successfully installed a JDBC driver on your AS, you will have it listed as an available driver:

Datasource Creation 2

Choose the MySQL JDBC driver and in the next (last) step you will be required to enter the JDBC URL of the data source along with the Username and Password credentials.

Datasource Creation 3

Clicking Done completes the wizard and you will be redirected to the main panel, where the new data source is now enlisted and enabled for use by your applications

Registered Datasource

Creating a new XA data source

As we have shown in the Command Line Interface section, an XA Datasource requires your JDBC URL to be entered as XA property, in just the same way. Thus, the data source JNDI naming and driver selection stay the same as for non-XA data sources. In the next screenshot, we illustrate the last two steps needed to complete the XA data source creation:

Creating a datasource

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

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
JBoss TrainingDec 21 to Jan 05View Details
JBoss TrainingDec 24 to Jan 08View Details
JBoss TrainingDec 28 to Jan 12View Details
JBoss TrainingDec 31 to Jan 15View Details
Last updated: 28 Sep 2024
About Author

Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

read less