Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also
create-config <connect_options>[--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--document-root|-d serverdocroot] [--jdk-home|-j JAVA_HOME] [--server-user|-r userid] [--ip|-I ip] [--platform|-m 32|64] --http-port|-t port --server-name|-s servername config-name
Use this command to create a new configuration. A configuration is a set of files and virtual servers that determine the data that Web Server serves. This command creates the new server configuration at install_dir/admin-server/config-store.
Do not edit any file under the config-store directory. The files under this directory are created by Sun Java System Web Server for internal use.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the path where all content such as HTML pages, images, and web applications are available. The default value is ../docs.
Specify the path of the Java Development Kit (JDK) home.
Specify the IP for the default listener.
Specify the platform type that you want to install. The value can be 32 or 64. The default value is 32.
Specify the user ID of a server user. For example, root. This option is mandatory if the administration server is on UNIX.
Specify the port for the default listener.
Specify the host name of the server.
wadm create-config --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null --platform=32 --http-port=18022 --document-root=../docs --jdk-home=jdk_home --server-user=user --server-name=config1.com config1 |
The following exit values are returned:
command executed successfully
error in executing the command
Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also