Dear Sir, There is one thing needing to consult: I have to execute the
following commands in our environment, and our GlassFish version is GlassFish
Server Open Source Edition 3.0.1 (build 22). Unfortunately, the following
steps require a nightly build of GlassFish 3.1. Because I want to upgrade the
current components as few as possible, is there any idea? Best Regards and
have a Nice Day Chen Yi Chen Reference:### ### HttpsToHttpRedirectOnSamePort
### asadmin create-protocol --securityenabled=true http-redirect asadmin
create-http-redirect --secure-redirect false http-redirect asadmin create-ssl
--certname s1as --type network-listener --ssl2enabled=false
--ssl3enabled=false --tlsenabled=true --tlsrollbackenabled=true
--clientauthenabled=false http-redirect asadmin create-protocol
--securityenabled=false pu-protocol asadmin create-protocol-finder --protocol
pu-protocol --targetprotocol http-listener-1 --classname
com.sun.grizzly.config.HttpProtocolFinder http-finder asadmin
create-protocol-finder --protocol pu-protocol --targetprotocol http-redirect
--classname com.sun.grizzly.config.HttpProtocolFinder http-redirect asadmin
set
configs.config.server-config.network-config.network-listeners.network-listener.http-listener-2.protocol=pu-protocol
asadmin set
configs.config.server-config.network-config.network-listeners.network-listener.http-listener-2.enabled=true
### ### HttpsToHttpRedirectOnDifferentPort ### asadmin create-protocol
--securityenabled=true http-redirect asadmin create-http-redirect
--redirect-port 8080 --secure-redirect false http-redirect asadmin create-ssl
--certname s1as --type network-listener --ssl2enabled=false
--ssl3enabled=false --tlsenabled=true --tlsrollbackenabled=true
--clientauthenabled=false http-redirect asadmin create-protocol
--securityenabled=false pu-protocol asadmin create-protocol-finder --protocol
pu-protocol --targetprotocol http-listener-1 --classname
com.sun.grizzly.config.HttpProtocolFinder http-finder asadmin
create-protocol-finder --protocol pu-protocol --targetprotocol http-redirect
--classname com.sun.grizzly.config.HttpProtocolFinder http-redirect asadmin
set
configs.config.server-config.network-config.network-listeners.network-listener.http-listener-2.protocol=pu-protocol
asadmin set
configs.config.server-config.network-config.network-listeners.network-listener.http-listener-2.enabled=true
--
[Message sent by forum member 'chenyichen']
View Post: http://forums.java.net/node/891483