Open Liberty Docs (2024)

After you log in to Admin Center, the browser displays the Toolbox, which contains tools such as the Server Config and Explore tools and a bookmark to the Open Liberty website.

The following screen capture shows the Admin Center Toolbox.

Open Liberty Docs (1)

The Server Config and Explore tools are available by default. The Java Batch and OpenID Connect tools are available only if you enable and configure the respective Open Liberty features for those functions. You can add or remove tools from the Toolbox by selecting the Edit icon. To use a tool, select its Toolbox icon.

The following tools are available from the Admin Center.

  • Server Config

  • Explore

  • Java Batch

  • OpenID Connect tools

Manage and test your server configuration with the Server Config tool

You can use the Server Config tool to view and edit Open Liberty server configuration files and to test server connections to different resources. To edit configuration files or test connections, you must be in the administrator-role management role.

Before you can edit configuration files, the tool prompts you to add a remoteFileAccess element to your server.xml file. You can copy the example element from the browser window or configure it manually. If you do not add this element, the configuration files are shown in read-only mode.

To enable write access to configuration files, add the following code to your server.xml file.

<remoteFileAccess> <writeDir>${server.config.dir}</writeDir></remoteFileAccess>

The Server Config tool displays configuration files, such as a server.xml file, in two modes: Design and Source. Each of these modes can be accessed from a browser tab within the tool. You can customize these modes by clicking the Settings icon. For example, you can add or remove parameter descriptions in Design mode or add or remove line numbers in Source mode.

The Design mode displays the content of configuration files by using graphical controls with inline documentation. In this mode, select elements in the configuration to see enabled features and parameter settings.

The Source mode enables direct access to edit the file text and provides tooltip descriptions for file elements. Hover over elements and parameters to view their documentation. You can press Ctrl+Space to use content assist, which helps you add new elements, parameters, and values. However, the Source mode editor does not validate the configuration values that you specify. Changes that you make in Source mode are applied to your running server. Specifying invalid configuration values might produce errors or cause your server to fail.

The following screen capture shows the Design tab of the Server Config tool.

Open Liberty Docs (2)

Test server connections to resources with the Server Config tool

You can test the connection to Java Database Connectivity (JDBC), Java EE Connector Architecture (JCA), Java Message Service (JMS), and Cloudant resources by using the Server Config tool.

  1. To test connections with the Server Config tool, you must enable the Admin REST Connector and MicroProfile OpenAPI features in your server.xml file, in addition to the Admin Center feature. You must also enable any features to support the server resource that your are checking the connection to. The following example also enables the JDBC feature to support a database connection.

    <featureManager> <feature>adminCenter-1.0</feature> <feature>restConnector-2.0</feature> <feature>mpOpenApi-3.0</feature> <feature>jdbc-4.3</feature> ...</featureManager>
  2. In the Server Config tool, select the resource for which you want to test the connection from the Server menu in the Design tab.

  3. In the display window for your chosen resource, click the Test button.

    The following screen capture shows the Design tab and the display window for the chosen resource in the Server Config tool.

    Open Liberty Docs (3)

  4. Choose the authentication method that you want to employ for the connection test. The three authentication methods are: Container authentication, Application authentication, or No resource reference.

    The following screen capture shows the Connection Test page and the authentication methods.

    Open Liberty Docs (4)

  5. In the selected authentication method, specify the required fields and click the Connection Test button. The result of the test is displayed.

The Admin Center uses REST APIs to validate the connections. For more information, see Validating server connections.

Monitor and manage resources with the Explore tool

You can use the Explore tool to monitor and manage Open Liberty resources. This tool offers options to view information about the server and its applications. You can also use it to stop, start, or restart resources.

For more timely updates to server and application status in the Explore tool, add the Web Socket feature to your server configuration. This feature provides a live view of the topology, regardless of size. Without the Web Socket feature, Admin Center periodically and frequently polls for changes.

You can select the Applications view from the navigation bar to monitor, stop, start, or restart applications that are running on your server.

The Monitor view on the navigation bar shows server and system metrics graphically in charts. You can use the Monitor view to track heap memory, loaded classes, active Java virtual machine (JVM) threads, and central processing unit (CPU) usage.

The following screen capture shows the Monitor view of the Explore tool.

Open Liberty Docs (5)

You can add more resource metrics to the Monitor view by selecting the Edit icon and choosing an option from the menu. When the Performance Monitoring feature is enabled, more resource metrics are available from this menu. Depending on what resources are configured for the server, the following resource metrics might be available:

  • Active Sessions

  • Active Liberty Threads

  • Average Response Time

  • Average Wait Time

  • Request Count

  • Used Connections

Manage Java batch jobs with the Java Batch tool

If you configure the Batch Management feature, you can access the Java Batch tool. With this tool, you can view the progress and status of your Java batch jobs, manage their instances, and view their log files.

The following screen capture shows the Java Batch tool.

Open Liberty Docs (6)

Each batch job has an Actions icon, which you can select to stop, restart, or purge the job, and a View Logs icon, which you can select to view the job logs. To view details and metrics for a batch job, hover over the Batch Job Name and select an option from the tooltip menu.

If batch jobs or job logs are on remote servers, configure cross origin region sharing (CORS) on each remote server. CORS enables Admin Center to request job information from remote servers.

The Batch Management feature requires custom authorization to view and manage batch jobs. To use the Java Batch tool, you must configure a com.ibm.ws.batch custom authorization role, in addition to the reader or administrator management role that is required to access the Admin Center. The following server.xml file example shows configuration for a wanda user who is granted the administrator management role and the batchAdmin custom authorization role.

 <administrator-role> <user>wanda</user> </administrator-role> <authorization-roles id="com.ibm.ws.batch"> <security-role name="batchAdmin"> <user name="wanda"/> </security-role> </authorization-roles>

With this configuration, the user has authorization to view and manage any configured Java batch jobs.

A com.ibm.ws.batch custom authorization role can also be combined with the reader management role. This combination still allows full access to the Java Batch tool but provides read-only access to other Admin Center resources.

However, if no custom batch authorization role is configured, even a user in the administrator management role cannot view or manage Java batch jobs.

Administer OpenID Connect Provider tasks with the OpenID Connect (OIDC) tools

If you enable the OpenID Connect Provider feature and configure OpenID Connect, you can access the following OpenID Connect tools from the Admin Center:

OpenID Connect Client Management

You can use this tool to allow an administrator to manage clients on an OIDC provider.

OpenID Connect Personal Token Management

You can use this tool to allow a user to manage application passwords and application tokens on an OIDC provider.

OpenID Connect Users Token Management

You can use this tool to allow an administrator to revoke application passwords and application tokens of other users on an OIDC provider.

For more information, see Admin Center OpenID Connect tools.

Open Liberty Docs (2024)
Top Articles
The Getty Family Homes: Inside the American Dynasty’s Real Estate Portfolio
Having a debit card linked to your Cash App may let you convert pending Standard transfers to Instant transfers.
Katie Nickolaou Leaving
Joe Taylor, K1JT – “WSJT-X FT8 and Beyond”
Cappacuolo Pronunciation
Rubratings Tampa
Thor Majestic 23A Floor Plan
Cash4Life Maryland Winning Numbers
Free Atm For Emerald Card Near Me
Coffman Memorial Union | U of M Bookstores
Celsius Energy Drink Wo Kaufen
Globe Position Fault Litter Robot
How Quickly Do I Lose My Bike Fitness?
Aces Fmc Charting
Gmail Psu
Google Feud Unblocked 6969
Pekin Soccer Tournament
R Personalfinance
PowerXL Smokeless Grill- Elektrische Grill - Rookloos & geurloos grillplezier - met... | bol
Tu Pulga Online Utah
Rochester Ny Missed Connections
The Many Faces of the Craigslist Killer
Ecampus Scps Login
Regina Perrow
EVO Entertainment | Cinema. Bowling. Games.
Angel Haynes Dropbox
Mjc Financial Aid Phone Number
Bridgestone Tire Dealer Near Me
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
Publix Daily Soup Menu
Acuity Eye Group - La Quinta Photos
140000 Kilometers To Miles
Babbychula
Kvoa Tv Schedule
42 Manufacturing jobs in Grayling
Orion Nebula: Facts about Earth’s nearest stellar nursery
PruittHealth hiring Certified Nursing Assistant - Third Shift in Augusta, GA | LinkedIn
Vocabulary Workshop Level B Unit 13 Choosing The Right Word
Bartow Qpublic
Henry Ford’s Greatest Achievements and Inventions - World History Edu
Bob And Jeff's Monticello Fl
Trivago Sf
Emily Browning Fansite
Collision Masters Fairbanks
10 Types of Funeral Services, Ceremonies, and Events » US Urns Online
Kenwood M-918DAB-H Heim-Audio-Mikrosystem DAB, DAB+, FM 10 W Bluetooth von expert Technomarkt
Sam's Club Gas Price Sioux City
Advance Auto.parts Near Me
antelope valley for sale "lancaster ca" - craigslist
18 Seriously Good Camping Meals (healthy, easy, minimal prep! )
View From My Seat Madison Square Garden
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 6379

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.