Two ways if you're using JBossWeb and Windows--
1) go to: $JBOSS_HOME/server/default/deploy/jbossweb.sar/META_INF/ and edit the jboss-service.xml file.
Scroll the file untill you see the section commented (searching for 8080 will get you there)
"Add and configure HTTP listener on port 8080" and change the default attribute for the "jetty.port" System Property from "8080" to "80" (this is also the file that you setup SSL btw).
2) Modify your startup script (or add an environment variable) and add the following to the JAVA_OPTS setting:
Note that if you're on a UNIX/Linux/Mac OS X box, there are issues with doing the above (ports < 1024 may only be hooked by the root user, so you're better off proxying port 80 to 8080 via ipchains, iptables, or similar).
ok i like the IPChains Idea, but i am using Tomcat/JBoss 3.0.6 on windoze 2k.
i tried changing the server.xml file for tomcat but that didn't work. there must be a way.
does jboss even use that server.xml ?
thanks for your help
I don't use Tomcat, however...
Have you checked the $JBOSS_HOME/server/default/deploy directory?
After unpacking JBoss+Tomcat, I see a Tomcat41-service.xml file there; edit that file. Locate the element; set the port attribute from 8080 to 80.