Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


4.5.1 Creating domains

To create a domain, execute the create-domain subcommand of the asadmin utility command. The default domain is domain1.

Prerequisites

Intended users

Procedure

  1. To create a domain, run the create-domain subcommand of the asadmin utility command.

    asadmin create-domain --adminport Admin_port --instanceport HTTP_port 
    --domainproperties domain.jmxPort=value:http.ssl.port=value:
    java.debugger.port=value:jms.port=value:orb.listener.port=value:
    orb.mutualauth.port=value:orb.ssl.port=value:
    osgi.shell.telnet.port=value domain_name
    Important note

    When executing a subcommand of the asadmin utility command on a created domain, you must specify Admin_port by using the --port option of the asadmin utility command.

    While running a command, specify the user name when the following text prompts you to enter the administrator's user name: Enter admin user name [Enter to accept default ""admin""/no password]. Also, specify the password when the following text prompts you to enter the administrator's password: Enter the admin password [Enter to accept default of no password]. The default value of the administrator's user name is admin. Note that there is no default value for the password.

    When this command is run, the result is displayed as follows:

    Command create-domain executed successfully.
  2. To start the domain, run the start-domain subcommand of the asadmin utility command.

    asadmin start-domain domain_name

    When this command is run, the result is displayed as follows:

    Command start-domain executed successfully.
  3. To display a list of domains, run the list-domains subcommand of the asadmin utility command.

    asadmin list-domains

    Ensure that the statuses of the domains that were started at the step 2 is running. When this command is run, the result is displayed as follows:

    Name: domain1 Status: running
    Name: domain_name Status: running
    Command list-domains executed successfully.

Postrequisites