Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6806 server template #6809

Merged
merged 6 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/release-issue-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ assignees: ''
- [ ] All issues with a label for this release and any other issues included in the release milestone are completed and closed, with content merged to vNext. (~3 working days before GA)
- [ ] All autogenerated documentation is refreshed on draft (~3 working days before GA)
- [ ] Confirm with team that docs are frozen and no more updates will be sent to vNext (3 working days before GA).
- [ ] Verify main feature epic statuses to ensure that all targeteted features will be included in the release (before closing doc feature issues and again 1-2 working days before GA).
- [ ] [Publish docs to production on GA](https://github.com/OpenLiberty/docs-playbook#publishing-a-new-release-of-open-liberty-docs)
- [ ] Determine if a docs refresh will be needed before the next upcoming release. If so, make a note of the date and leave this issue open until complete. If not, close this issue.
22 changes: 19 additions & 3 deletions modules/reference/pages/command/server-create.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The `server create` command creates an Open Liberty server.
Create a server called `myserver`:

----
server create myserver
server create myserver
----

== Syntax
Expand All @@ -27,13 +27,13 @@ Run the command from the `_path_to_liberty_/wlp/bin` directory.

[subs=+quotes]
----
server create _serverName_
server create _serverName_ [_options_]
----

serverName::
A name for the server. If no server is specified, a server called `defaultServer` is automatically created.

Naming constraints:
This command is subject to the following naming constraints:

* Use only Unicode alphanumeric (e.g. 0-9, a-z, A-Z), underscore (_), dash (-), plus (+), and period (.) characters.
* Do not begin the name with a dash (-) or a period (.).
Expand All @@ -55,6 +55,22 @@ the server directory C:\wlp\usr\servers\server_name already exists.

The following exit codes are available for the `server create` command and the equivalent executable JAR file `ws-server.jar`:

== Options

.Options for the server create command
[%header,cols=2*]
|===
|Option
|Description

|--no-password
|When this option is specified, no default keystore password is generated when the server is created.

|--template=_templateName_
|This option specifies the name of the template to use when a new server is created. The template is a customized `server.xml` or `client.xml` file with pre-configured features and settings for a particular programming model. By default, the available templates are in the `wlp/templates/servers` and `wlp/templates/clients` directories.
For example, `server create myServer --template=jakartaee10`
|===

.Exit codes for the server create command
[%header,cols="2,9"]
|===
Expand Down