 |
|
|
NAME
| | asadmin-create-domain, create-domain - creates a domain with the given name |
SYNOPSIS
| | create-domain [--pathdomain_path] [--sysusersys_user] [--passwordfilefilename] --adminportport_number--adminuseradmin--adminpasswordpassword domain_name |
| |
Use the create-domain command to create a domain with the specified administration port number, administration user, administration password, and domain name. By creating a domain, an administration server is created in a directory named as the domain name.
This command can be run locally only.
|
| |
- --path
- directory path where the domain should be created. If specified, path must be accessible in the filesystem. If not specified, the domain is created under $AS_DOMAINS_PATH directory.
- --sysuser
- owner of the domain directory. Must be a valid user on the system (Solaris only). The domain is created under the specified system username. If not specified, the current username is used.
- --passwordfile
- file containing passwords appropriate for the command (e.g., administrative instance).
- --adminport
- port of the administrative instance. The port number cannot be currently active.
- --adminuser
- user name assoicated with the administrative instance.
- --adminpassword
- password associated with the administrative name.
|
| |
-
domain_name
- name of the domain. Must be a unique name.
|
| | Example 1. Using create-domain
| |
| |
asadmin> create-domain --path /u/domain1/domain_root --sysuser user1 --adminuser admin --adminpassword adminadmin --adminport 6868 domain1
created domain domain1 successfully
|
Where: the domain1 domain is created in the domain_root directory.
|
|
| |
- 0
- command executed successfully
- 1
- error in executing the command
|
| Sun ONE Application Server | Go To Top | Last Changed 9 Sep 2002 |
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|