IBM Support

Setting custom properties in the WebSphere Application Server V8.5 Liberty profile

Question & Answer


How do I configure custom properties for the WebSphere Application Server V8.5 Liberty profile?


There are many custom properties available for the WebSphere Application Server V8.5 Liberty profile. The elements, attributes and sub-elements that can be configured are listed on the product documentation page - Liberty profile: Configuration elements in the server.xml file.

If you are working with IBM Support, or resolving an issue independently through the IBM Support Portal, you might also be asked to set a custom property.

WebSphere custom properties for the Liberty profile are set in the server.xml file of the application server.

Note: For the default server instance, the server.xml file is located in the following location:

<liberty install root>/usr/servers/defaultServer/server.xml

For example: To configure the deferServletLoad web container custom property

        Description: Defer servlet load and initialization until first request
        Data type: boolean
        Default value: true
        Required: false

Add the following line to the server.xml configuration file:

<webContainer deferServletLoad="false"/>

Note: To configure a Java Virtual Machine custom property, set the property in the jvm.options file. This is described in section "Customize JVM options by using jvm.options files" in the following Knowledge Center article...

Customizing the Liberty environment

The server management script searches for jvm.options in two locations: ${wlp.install.dir}/etc/jvm.options and ${server.config.dir}/jvm.options. If both files are present, the options in the ${server.config.dir}/jvm.options file are used.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Servlet Engine\/Web Container","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5","Edition":"Developer","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
15 June 2018