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

en.help.task-virtualservercreate.html Maven / Gradle / Ivy

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



To Create a Virtual Server

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, select the Virtual Servers node.

    The Virtual Servers page opens.

  3. On the Virtual Servers page, click New.

    The New Virtual Server page opens.

  4. In the Id field, type a value that will identify the virtual server internally.

    This value is not exposed to HTTP clients. The host names that are exposed to HTTP clients must be specified in the Hosts field.

  5. In the Hosts field, type the host names or IP addresses for the machine on which the server is running.

    Use either actual or virtual host names that are registered with the DNS server for your network (and, on a UNIX system, in your /etc/hosts file).

    The default value is the system property value ${com.sun.aas.hostName}.

  6. Select a State option for the new virtual server.

    The virtual server can be On (that is, active), Off, or Disabled. The default value is On.

  7. Select an SSO option for the new virtual server.

    By default, a virtual server inherits the single sign-on (SSO) setting of the HTTP service. Select Enabled or Disabled to override the HTTP service setting by enabling or disabling single sign-on for this virtual server.

    Single sign-on across applications on the GlassFish Server is supported by servlets and JSP files. This feature allows multiple applications that require the same user sign-on information to share this information, rather than have the user sign on separately for each application.

  8. From the Network Listeners drop-down list, select one or more network listeners, or leave the field blank.
  9. From the Default Web Module drop-down list, select the module that is to respond to all requests that cannot be mapped to other web modules deployed to the virtual server.

    If a default web module is not specified, the web module that has an empty context root is used. If there is no web module with an empty context root, a system default web module is created and used.

  10. In the Log File field, type the path name of the file where logging messages from this virtual server will appear.

    By default, logging messages will be sent to the default server log, domain-dir/logs/server.log.

  11. In the Docroot field, type the absolute path to the root document directory for the server.

    If the field is left blank, domain-dir/docroot will be used.

  12. Select an Access Logging option to enable or disable access logging.

    Alternatively, you can specify if access logging is inherited from the HTTP Service. By default, it is inherited from the HTTP Service.

  13. In the Directory field, type the absolute directory path to the server access logs.

    The default value is domain-dir/logs/access.

  14. (Optional) In the Additional Properties section, specify additional properties for the virtual server.

    For information on available properties, see Properties Specific to Virtual Servers.

    To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy