changing the port of JBoss Server

Hi All,I want to change the default port of JBoss server from 8080 to some other port.How to do this?Thanks in advance.
[126 byte] By [RajuUKa] at [2007-10-3 2:28:12]
# 1
Read the manual.
CeciNEstPasUnProgrammeura at 2007-7-14 19:27:16 > top of Java-index,Java Essentials,New To Java...
# 2

There are JBoss forums out there....

But since I know the answer, I'll tell you, at the risk of rewarding your laziness. To change port 8080 to eg. 9090...

Alter server.xml, mine is in

D:\Apps\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\server.xml

Alter this setting....

<!-- A HTTP/1.1 Connector on port 8080 -->

<Connector port="8080" address="${jboss.bind.address}"

maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"

emptySessionPath="true"

enableLookups="false" redirectPort="8443" acceptCount="100"

connectionTimeout="20000" disableUploadTimeout="true"/>

to this

<!-- A HTTP/1.1 Connector on port 9090 -->

<Connector port="9090" address="${jboss.bind.address}"

maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"

emptySessionPath="true"

enableLookups="false" redirectPort="8443" acceptCount="100"

connectionTimeout="20000" disableUploadTimeout="true"/>

regards,

Owen

omcgoverna at 2007-7-14 19:27:16 > top of Java-index,Java Essentials,New To Java...