Tuesday, February 1, 2011

How to run Jboss on port other than 8080

On (4.0.2) release of JBoss , you need to edit the server.xml file located in $jboss_home/server/default/deploy/jbossweb-tomcat55.sar (assuming you are using the default configuration.

In that file, you need to change the port attribute in the Connector entry. e.g.

<Server>
<Service name="jboss.web"
className="org.jboss.web.tomcat.tc5.StandardService">

<!-- Change this value to the port you want to use. -->
<Connector port="8080"
... 


Source: http://www.coderanch.com/t/89645/JBoss/run-Jboss-port-other-than

No comments: