To Create a Standalone GlassFish Server Instance

GlassFish Server instances form the basis of an application deployment. A standalone instance is not a member of a cluster. Each instance belongs to a single domain and has its own directory structure, configuration, and deployed applications. Each instance also includes the Java Platform, Enterprise Edition (Java EE) web container and Enterprise JavaBeans technology (EJB technology) container. Every new instance must contain a reference to a node that defines the host where the instance will reside.


Note:

To create an instance on a node of type CONFIG that represents a remote host, you must use the create-local-instance(1) subcommand. You cannot use the Administration Console for this purpose.


Before You Begin

Ensure that the node on which the instance is to reside exists. See To Create a Node for instructions.

  1. In the navigation tree, select the Standalone Instances node.

    The Standalone Server Instances page opens.

  2. On the Standalone Server Instances page, click New.

    The New Standalone Server Instance page opens.

  3. In the Name field, type a name for the instance.

    The name must meet the following requirements:

  4. From the Node drop-down list, select the node where the instance will reside.

  5. From the Configuration drop-down list, select the named configuration that the instance will use.


    Note:

    If you select default-config, you must specify in the next step that the configuration is not shared. The default-config configuration cannot be shared.


  6. Specify whether the configuration that instance will use is shared.

  7. Click OK.

See Also
Copyright © 2005, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices