You are on page 1of 3

 CHANGING DEFAULT JBOSS V4.

X PORT NUMBER

With default configurations, JBoss listens on port 8080 for web connections. But this can be
changed easily as this port is defined in an configuration xml file.

This is how port 8080 is changed on JBoss 4.

1. Goto the deploy folder of the server instance you use.


2. Goto the jbossweb-tomcat55.sar inside that deploy folder.
3. Find the file named server.xml inside that folder. (tomcat service file).

4. Find the folowing Tag

<Connector port=”8080″ address=”${jboss.bind.address}”…….

5. Change the port number here.

6. Restart the server.


Than changes will be taken place

Note: while changing port number plz shutdown the server and perform above operations

 JBOSS V5.X configuration

1. Download the jboss 5.x from the http://www.jboss.org/jbossas/downloads/


as zip file
2. Latest version 6.x and 7.x alpha
3. Extract the zip file to x:\
Eg: e:\jboss\jboss-5.1.0.GA
4. Open source software
5. Type: application server
6. Default port Number :8080
7. Compatibility with JDK1.5 and JDK1.6
8. To run the above jboss5.1.0 we need to do the following steps
a) Copy the following jar files form JBOSS_HOME/client
JBOSS_HOME/lib/

b) Eg: C:\jboss-5.1.0.GA\client  C:\jboss-5.1.0.GA\lib


 jbossws-native-saaj.jar
 jbossws-native-jaxrpc.jar
 jbossws-native-jaxws.jar
 jbossws-native-jaxws-ext.jar

I think the following screen will help you

 CHANGING DEFAULT JBOSS V5.X PORT NUMBER

With default configurations, JBoss listens on port 8080 for web connections. But this
can be changed easily as this port is defined in an configuration xml file.

This is how port 8080 is changed on JBoss 5.

1. Goto the deploy folder of the server instance you use.


2. Goto the jbossweb-tomcat55.sar inside that deploy folder.
3. Find the file named server.xml inside that folder. (tomcat service file).

You might also like