Specifying Liberty bootstrap properties
Bootstrap properties initialize the runtime environment for a particular server. Generally, they are attributes that affect the configuration and initialization of the runtime core.
For the latest documentation about Liberty bootstrap properties, see the Open Liberty website.
About this task
Bootstrap properties are set in a text file named bootstrap.properties. This file is not required, so it does not exist unless you create it. You must create this file in the server directory, which also contains the configuration root file server.xml. By default, the server directory is usr/servers/server_name. You can change the server directory as described in Customizing the Liberty environment.
You can create a bootstrap.properties file by using the editor in WebSphere® Application Server Developer Tools for Eclipse. From the Servers view, right-click on the server you want to configure, then select New, then Server Environment File, then bootstrap.properties, and the file is created from a template and opened in an editor. Along with the server.xml and server.env files, the bootstrap.properties file appears in the Servers view under the server that it is associated with and can be edited by double-clicking it.
You can edit the bootstrap.properties file by using a text editor or the editor in the WebSphere Application Server Developer Tools for Eclipse.
If you update the bootstrap.properties file, you must restart the server for the changes to take effect.
- A small, predefined set of initialization properties.
- Any custom properties that you choose to define. You can then use these custom properties as variables in other configuration files such as server.xml and included files.