tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Williams, Jim" <>
Subject RE: configuring 2 servlets on different ports
Date Tue, 01 Aug 2006 13:19:32 GMT
actually, they are already in separate webapps,
and I still can't find a way to configure them to 
bind to separate ports.

-----Original Message-----
From: Christopher Schultz [] 
Sent: Monday, July 31, 2006 4:57 PM
To: Tomcat Users List
Subject: Re: configuring 2 servlets on different ports


> I'm using tomcat 5.5, and tried creating 2 services, each with a 
> connector that used a different port.
> Whatever I try for the context within these services, it appears as
> if both servlets are available on both ports.
> Is there a magic combination of Context elements that would allow

I think you'd need separate web.xml files for each context: one that
maps only servlet #1 and one that maps only servlet #2. But that means
that you aren't using the same exact configuration for both contexts,
which might be a deal-breaker for you.

NOTICE:  This message, including all attachments transmitted with it, is for the use of the
addressee only. It may contain proprietary, confidential and/or legally privileged information
belonging to Litle & Co. No confidentiality or privilege is waived or lost by any mistransmission.
If you are not the intended recipient, you must not, directly or indirectly, use, disclose,
distribute, print or copy any part of this message.  If you believe you have received this
message in error, please delete it and all copies of it from your system and notify the sender
immediately by reply e-mail.  Thank you. 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message