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

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

The newest version!



To Edit 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 the name of the virtual server that you are editing.

    The Edit Virtual Server page opens.

  4. 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}.

  5. Select a State option for the virtual server.

    The value may be any of the following:

    On

    The virtual server is active. This value is the default.

    Off

    The virtual server is inactive. Attempts to access the server will return the error code 404 (resource not available).

    Disabled

    The virtual server is disabled. Attempts to access the server will return the error code 403 (refused to fulfill the request).

  6. 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.

  7. From the Network Listeners drop-down list, select one or more network listeners, or leave the field blank.
  8. 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.

  9. 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.

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

    The default value is domain-dir/docroot.

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

    By default, a virtual server inherits the access logging setting of the HTTP service. Select Enabled or Disabled to override the HTTP service setting by enabling or disabling access logging for this virtual server.

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

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

  13. (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.
    • To modify a property, edit that property's Value field.
    • To delete a property, select the checkbox to the left of the Name field of the property that you are deleting, then click the Delete Properties button.
  14. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


See Also

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy