, GlassFish root, domain.xml, 8080 80.
( ), apache. glassfish v2, v3 apahce httpd.
iptables 80 8080 :
iptables -t nat -A OUTPUT -o lo -p tcp --dport 80 -j REDIRECT --to-port 8080
- , "/". . -, - , . :
asadmin deploy --contextroot "/" webapp.war
sun-web.xml /.
- , , - - 4848. .
:
- , Glassfish (localhost: 4848), goto:
Configuration -> Virtual Servers -> server
"- ". -. URL. , , , . , webapp " "/"
mod_proxy apache httpd "/" 80 "/myWebApp" 8080. .