• 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: 13058
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