Virtualization in the GlassFish Server allows multiple URL domains to be served by a single HTTP server process that is listening on multiple host addresses. If the application is available at two virtual servers, they still share the same physical resource pools.
Creating a virtual server:
Through asadmin:
asadmin> create-virtual-server --hosts localhost VirtualServerName --port 4848
Through Admin Console:
Step1:
Click on the configuration and select the server or instance for which you want to create the virtual server.
Click on the Virtual Servers.
Step2:
Click on the new to create a new virtual server
Step3:
Enter the virtualServerName in the id field and click OK.
Creating a virtual server:
Through asadmin:
asadmin> create-virtual-server --hosts localhost VirtualServerName --port 4848
Through Admin Console:
Step1:
Click on the configuration and select the server or instance for which you want to create the virtual server.
Click on the Virtual Servers.
Step2:
Click on the new to create a new virtual server
Step3:
Enter the virtualServerName in the id field and click OK.
0 comments:
Post a Comment