2012년 8월 20일 월요일

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

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


Question

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

Answer

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 at the Information Center 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
        deferServletLoad
        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"/>

댓글 없음:

댓글 쓰기