+

Search Tips   |   Advanced Search

Create Liberty servers from custom configurations

We can create a server from a custom configuration for any environment that you require.

The Liberty server script create command offers a --template option. We can use this option to support server creation from a custom configuration located within a templates/servers/<template-name> sub-directory of the product extension. Custom server templates must contain at least a server.xml file, and can contain any configuration files, for example: bootstrap.properties or jvm.options.

We can use the --template option in the following way: server create --template=<extension-name>:<template-name>


Parent topic: Extending the Liberty profile