This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two listners for single tomcat instance.

 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Can I configure two listners in a single tomcat instance.

Actually the exact requirement is that I have 5 web applications and I want that one connector should listen for requests on port 8080 for web application A,B,C and another listner should be configured for port 80 for the ohter two web applications. (D,E).
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this documentation on Tomcat HTTP Connectors. It appears that you will be able to do this by configuring one connector for each port. (Warning, I have never done this)

Let us know how it turns out.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic