en.help.task-virtualserveredit.html Maven / Gradle / Ivy
Show all versions of console-web-plugin-help
To Edit a Virtual Server
- In the navigation tree, expand the Configuration node.
- Under the Configuration node, select the Virtual Servers node.
The Virtual Servers page opens.
- On the Virtual Servers page, click the name of the virtual server that
you are editing.
The Edit Virtual Server page opens.
- 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}.
- 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).
- 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.
- From the Network Listeners drop-down list, select one or more network listeners, or
leave the field blank.
- 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.
- 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.
- In the Docroot field, type the absolute path to the root document directory
for the server.
The default value is domain-dir/docroot.
- 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.
- In the Directory field, type the absolute directory path to the server access
logs.
The default value is domain-dir/logs/access.
- (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.
- Click Save.
Tip - To return to the default settings, click the Load Defaults button, then click
Save.
See Also
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices