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

Post Top Ad

Responsive Ads Here

Post Top Ad

Monday, September 11, 2006

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

Responsive Ads Here
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).

change%20jboss%20port%208080
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 Articles

20 comments:

  1. blank

    Your suggestion is very useful to me.
    Thank you,
    My Friend

    ReplyDelete
  2. blank

    Thank you very much for your help. It's good resource for newbies

    ReplyDelete
  3. blank

    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

    ReplyDelete
  4. blank

    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

    ReplyDelete
  5. blank

    Jboss-4.2.2 GA >>

    I was doing this with 4.0 and did not have a time to check with 4.2 yet.

    ReplyDelete
  6. blank
  7. blank
  8. blank

    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

    ReplyDelete
  9. blank

    In 4.2.3 you will find the config file at jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\server.xml

    ReplyDelete
  10. blank

    Hi Thank you very much.....

    ReplyDelete
  11. blank
  12. blank

    U increased my knowledge..Thnx...

    ReplyDelete
  13. blank

    Hey kamal, good article.

    One more point to add to your's:
    Suppose port is changed to 8090.
    To check whether JBoss is working at the changed port - 8090:
    Open a browser.
    Type in http://localhost:8090
    You should get the JBoss home page.

    Happy Jbossing-
    Thalapathy.

    ReplyDelete
  14. blank

    Thanks a ton for your valuable post.
    It solved my problem that i had been looking for days.
    And that too in very simple steps and most important VERY CLEARLY :)
    Thanks Again...

    ReplyDelete
  15. blank

    yes.. its works thanks

    ReplyDelete
  16. blank

    That Solved My Problem with JBOss ! I was Looking for a solution

    for long Time !

    Thank you very very Much

    ReplyDelete
  17. blank

    Thank u very much i want looking for this kind of solution

    ReplyDelete
  18. blank

    Very useful comment! Best Regards From Galicia!
    Jose

    ReplyDelete
  19. blank

    Hi ... Thank U very much..... its very useful to us

    ReplyDelete
  20. blank

Post Top Ad