JBossOnPort80

How do I run JBoss on Port 80

 

On most UNIX and Linux systems, you must run as root to use port 80.  Therefore most people front end JBoss with ApacheWebServer or employ port forwarding.

 

To get JBoss to serve on Port 80 on a Windows system, change all the instances of 8080 to 80 in the following files:

 

  1. server.xml in :jboss:\server\default\deploy\jbossweb-tomcat50.sar (or :jboss:\server\default\deploy\jboss-web.deployer in JBoss 4.2.2 and later)

  2. jboss-service.xml in :jboss:\server\default\deploy\http-invoker.sar\META-INF

 

See: