Guide on Programming, Internet and Technology

DigiZol
| Contact

[JBoss 4] How to change port 8080 in JBoss?

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).


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.

This change wiill be available when JBoss is restarted.

Related: Change port in Tomcat?

Labels: ,

Translate into your language
Reader Comments
Comments Count: 11
Write your own opinion
Share with others
E-mail
Search More Articles
  1. Your suggestion is very useful to me.
    Thank you,
    My Friend
  2. Thank you very much for your help. It's good resource for newbies
  3. This is all well and good if you have a tomcat.sar file.
    I've just downloaded Jboss-4.2.2 GA and it doesn't have this.
    Yet it's failing to start because I have another app server that's already using that port (8080).
    So how do I make a mod?
    Cheers
  4. bonjour
    g fait l'intégration de JBPM sous éclipse, et le déploiement se fait sous tomcat.
    si quelqu'un peut me donner code java pour:
    -récupérer la liste des scénarios workflow
    -déclenchement d'un scénario
    -passage d'un état au suivant
    merci
  5. Jboss-4.2.2 GA >>

    I was doing this with 4.0 and did not have a time to check with 4.2 yet.
  6. Does anybody know how to change the default port 8080 of the jmx-console and the web-console, i'm running the version 4.2.3 in Sun OS
  7. Anonymous Anonymous (March 04, 2009 1:25 PM)  
    In 4.2.3 you will find the config file at jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\server.xml

Post a Comment

We appreciate your opinions, suggestions and criticism.

ABOUT AUTHOR
Kamal Mettananada is a Software Architect, Java Explorer and Blogger. Digizol consists of computer related articles, tutorials, tips and other information.
ARCHIVES
Select Month:

Free counter and web stats

FEED SUBSCRIPTION
Subscribe to our feed using your online news reader, approximately 1-2 articles per week.
ABOUT US
^top^