• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Change Tomcat port with JBoss 4.0.1

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I've just "installed" JBoss on a linux box and am confused about changing the port Tomcat runs on. There is already something running on port 8080 and I can't seem to figure out or google how to change the port over to something else. I managed to change the port for the Naming service from 1099 to 1100 easily enough.

Do I have to edit server/default/deploy/jboss-ws4ee.sar/META-INF/jboss-service.xml or is this done somewhere else?

Thanks in advance
 
Paulo Murphy de Freitas
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just found out how to solve this so I'll reply to my own post

The solution can be found at http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch9.chapt.html#d0e21935

Need to edit the server/default/deploy/jbossweb-tomcat50.sar/server.xml file under your JBoss installation directory and change the <Connector port="8080" ... to whatever port you want Tomcat to run on, remembering not to conflict with other ports used by the JBoss bundle or any services running on the machine.
 
I found some pretty shells, some sea glass and this lovely tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic