I have two WAR file running in my tomcat 6 server.
How can i set each WAR listen to only one port?
For example:
port 443 => only can access a.war
port 8000 => only can access b.war
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I managed to configure the above scenario using these settings: I created two folders named 443 and 8000 under the webapp folder, and configured two Service-elements pointing to two different folders and listening on two different ports.
server.xml