Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jboss 5 changing default port

I am trying to change the default port on my jboss server to port 80.

i have had a look around the web and i have had suggestions of editing this file jboss5\server\default\deploy\jbossweb.sar\server.xml which is fine. changing this file alone still does not fix the issue.

There have also been suggestion to also change this file: jboss5\server\default\conf\bootstrap\bindings.xml Only problem is that i cant find this binding.xml

Is the binding.xml file a standard in JBoss 5? Or has it been renamed or changes location in JBoss 5.

Does anyone have any clear steps on changing the the default port from 8080 to 80.

like image 721
freddy6 Avatar asked Aug 10 '10 05:08

freddy6


People also ask

What is the default port for JBoss?

ports-default: The standard ports, for instance JBoss Web listens for HTTP requests on 8080.


1 Answers

This works on jboss-5.1.0.GA : Edit the file ${JBOSS_HOME}/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml as follows -> Change ${jboss.service.binding.set:ports-default} to ${jboss.service.binding.set:ports-01}

This will change all defalt to default+100 port. HTTP - > 8180 and so on.

like image 177
somshivam Avatar answered Sep 29 '22 01:09

somshivam