Useful WebSphere Application Server Configuration Guide
Useful WebSphere Application Server Configuration Guide
Home → WebSphere
Advertiser disclosure
Chandan Kumar
Contributor
There are plenty of configuration options in IBM WAS through Admin Console but not all of
them you need to touch.
However, there are specific configurations you must be aware as a WebSphere administrator.
If you are a beginner, I strongly you recommend you go through my previous two articles.
https://geekflare.com/useful-websphere-configuration-guide/ 1/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
If you intend to use high availability manager service or just wish to know how to enable or
disable Core group services and startup.
Click on Core group services under Additional Properties, and here you can
enable/disable or modify the alive timer.
If you are working on a production where resources are limited, and you want to keep your
environment healthy and clean, you must be familiar with logs housekeeping.
To configure the maximum single log file size, you can enter the value in “Maximum Size.” In
this ex, I have given 100 MB (by default it’s configured with 1 MB).
To configure the log rotation period, you click on the checkbox for “Time” and enter the
period you want to rotate the DMGR logs. In this ex, I have left it to default 24 hours.
To keep the number of historical log files, you can enter the value in “Maximum Number of
Historical Log Files. The number in a range of 1 through 200.” In this ex, I have given 30, which
will keep 30 log files all the time.
Repeat the same configuration for SystemErr.log. Here is the screenshot of above
configuration.
https://geekflare.com/useful-websphere-configuration-guide/ 3/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
You can do this similar configuration for DMGR by navigating to Deployment Manager and
follow the above steps to configure logging.
If you have installed WAS in production mode and there is a situation to run as development
mode for troubleshooting, debugging or requested by development team – you can run
particular WAS JVM in development mode by following.
By default cookie name is JSESSIONID and in case you need to modify you can do it by
following.
Enter the custom cookie name and click OK to Sync and Save the configuration.
Enter a value in “Initial heap size” for minimum memory and “Maximum heap size” for
maximum memory size. In this ex – I have configured 2 GB as min and max.
You may also refer to my detailed article on how to modify WAS JVM memory.
https://geekflare.com/useful-websphere-configuration-guide/ 6/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
To print garbage collection in verbose mode, you can tick on the checkbox for “Verbose
garbage collection.” By default it’s disabled.
To configure classpath/boot classpath for particular JVM, you can enter the jar details to be
loaded as the classpath. Mostly development team would recommend it.
Don’t forget to Sync & Save the configuration and restart the JVM to see the effects.
Bad: you don’t know why JVM was stopped you may overlook potential production issue.
https://geekflare.com/useful-websphere-configuration-guide/ 7/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
Click on NCSA access and HTTP error logging from the list
On this page, you can also configure a number of historical files to be kept, and maximum
access log size. In this ex – I have configured 50 MB as file size and ten maximum numbers of
files.
https://geekflare.com/useful-websphere-configuration-guide/ 8/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
Change from info to the desired level. In this ex – I have configured debug level.
https://geekflare.com/useful-websphere-configuration-guide/ 9/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
Note: this will write excessing logs hence you may configure debug for particular components
by expanding “Components and Groups” and selecting the respective components.
Enter the desired value in minimum and maximum size. You may also configure thread
inactivity timeout here.
https://geekflare.com/useful-websphere-configuration-guide/ 10/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
Click on “Context Root For Web Modules” under Web Module Properties
Enter the desired value and click on OK to sync and save the changes.
https://geekflare.com/useful-websphere-configuration-guide/ 11/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
Click on OK to sync and save the configuration. JVM restart is required to take effects.
However, if you have multiple applications and would like to segregate them by virtual host
you can create one by following: –
Click on New
https://geekflare.com/useful-websphere-configuration-guide/ 12/16
22/05/2024 12:16 Useful WebSphere Application Server Configuration Guide
Once a virtual host is created, you must add URL, which you will be using to access
applications.
To do so
Click on New
Above configuration is not the complete list but often used so if you are beginner this should
give you a good idea about IBM WebSphere application server configuration.
Chandan Kumar
Contributor
More on WebSphere
https://geekflare.com/useful-websphere-configuration-guide/ 13/16