I am using jboss 4.2 server and oracle xe both have same port ie 8080 so I want to change my jBoss port for run our application please tell me how to change port in jboss. I know how to change port in tomcat but I didnot find in jboss.
A:
If all you need is to change the 8080 port:
- Goto the deploy folder of the server instance you use.
- Goto the jbossweb-tomcat55.sar inside that deploy folder.
- Find the file named server.xml inside that folder. (tomcat service file).
- Look for the HTTP Connector section inside the server.xml where 8080 configuration is available. Change the port value to what ever the required port number.
(taken from here , first result when googling it :-) )
See this question for changing all JBoss ports at once http://stackoverflow.com/questions/592091/running-jboss-5-and-jboss-4-at-the-same-time
LiorH
2010-04-24 08:21:39