The dotted name hierarchy for the HTTP Service configuration in the v3 Prelude release is shown below. Elements that are no longer supported are request-processing, keep-alive, connection-pool, http-protocol, http-file-cache, and http-listener. During the upgrade process, these discontinued elements are remapped to the new configuration automatically and then deleted.
config http-service access-log request-processing keep-alive connection-pool http-protocol http-file-cache http-listener ssl property virtual-server http-access-log property property thread-pools thread-pool |
The dotted name hierarchy for the new Network Service and HTTP Service configurations is shown below. The network-config element and all its children are new except for ssl.
config network-config transports selection-key-handler transport protocols protocol http file-cache port-unification protocol-finder protocol-chain-instance-handler protocol-chain protocol-filter ssl network-listeners network-listener http-service access-log virtual-server http-access-log property property thread-pools thread-pool |
The following examples compare the commands for setting a listener port for Sun GlassFish Enterprise Server v3 Prelude and GlassFish Server 3.0.1 or Sun GlassFish Enterprise Server v3.
Command for Sun GlassFish Enterprise Server v3 Prelude:
asadmin set server-config.http-service.http-listener.http-1.listenerport=4321 |
Command for GlassFish Server 3.0.1 or Sun GlassFish Enterprise Server v3:
asadmin set server-config.network-config.network-listeners.network-listener.http-1.listenerport=4321 |