Creating Liberty servers from custom configurations

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

About this task

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


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