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:
On the other hand, the Runtime tab can be used to manage deployments, as we have learnt in before tutorials.
In the next section we will show how easy can be configuring server profiles using the Web admin console:
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:
Leave an Inquiry to Learn JBoss Online Training in Hyderabad
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).
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).
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:
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.
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
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:
Explore Jboss Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!
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:
Name | Dates | |
---|---|---|
JBoss Training | Nov 19 to Dec 04 | View Details |
JBoss Training | Nov 23 to Dec 08 | View Details |
JBoss Training | Nov 26 to Dec 11 | View Details |
JBoss Training | Nov 30 to Dec 15 | View Details |
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.