serverSchemaGen command generates a schema for a specified Open Liberty server. The schema is created as a file that is named
server.xsd in the
To generate a schema with this command, the specified server must be running and the Admin Local Connector feature must be enabled.
This command generates a schema for a specific server. To generate a schema for an entire Open Liberty installation, use the schemaGen command.
Generate a schema for an Open Liberty server that is named
Generate a schema in the Brazilian Portuguese language for an Open Liberty server that is named
serverSchemaGen myServer --locale=pt_BR
Display help information for the
serverSchemaGen serverName --help
You must specify a server name in the command to generate help information.
Run the command from the
serverSchemaGen serverName [options]
The following options are available for the
This option specifies the name of a character set to use in the generated output file, where charset is the name of the character set.
This option specifies the language to use in the output file, where language is an ISO-639 two-letter lowercase language code, optionally followed by an underscore and the ISO-3166 uppercase two-letter country code.
This option specifies that both explicitly named child elements and the
This option specifies that only the
The following exit codes are available for the
This code indicates that the command contains an invalid argument.
This code indicates that the local connector URL was not found.
This code indicates that the MBean was not found.
This code indicates that the MBean reported a bad result. Check the server log for exceptions.
This code indicates that the the
This code indicates unexpected errors. Use the printed message to identify the errors.