File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Two listners for single tomcat instance. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Two listners for single tomcat instance." Watch "Two listners for single tomcat instance." New topic
Author

Two listners for single tomcat instance.

Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
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).


Rahul Bhattacharjee
LinkedIn - Blog
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
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


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Two listners for single tomcat instance.
 
Similar Threads
Regarding Tomcat Port Numbers
Installing two different webapplication on two different installed tomcat directory on same machine?
avoid port number :8080 in URL ?
Two Tomcat installation?
Service Tag in Server.XML