WAR in single Tomcat instance and multiple ports

+1 vote
555 views
asked Dec 31, 2012 in Tomcat by john (4,220 points)

Suppose I have a single WAR deployed in a single Tomcat instance. The WAR contains two servlets: one for client requests and another for administration. Now I would like to run those servlets on different ports. Can I do that using the same single WAR and single Tomcat instance ?

1 Answer

0 votes
answered Dec 31, 2012 by sahana (2,250 points)

You may be able to make tomcat listen on two different ports for HTTP but there is only one container. So I don't think so.

...