All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-create-standalone-instance.html Maven / Gradle / Ivy

There is a newer version: 3.2-b03
Show newest version



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 the node on which the instance is to reside exists .

  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:

    • The name must start with a letter, a number, or an underscore.

    • The name may contain only the following characters:

      • Lowercase letters

      • Uppercase letters

      • Numbers

      • Hyphen

      • Period

      • Underscore

    • The name must be unique in the domain and must not be the name of another GlassFish Server instance, a cluster, a named configuration, or a node.

    • The name must not be domain, server, or any other keyword that is reserved by GlassFish Server.

  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.
    • If the configuration is not shared, leave the Make a Copy of the Selected Configuration option selected.

      The selected configuration is copied when the instance is created. The copy of the configuration is assigned the name instance-name-config, where instance-name is the name of the instance that you are creating.

    • If the configuration is shared, select the Reference the Selected Configuration option.

      The instance will use the specified existing named configuration.

  7. Click OK.
See Also
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy