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 [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 31, 2006 4:57 PM
To: Tomcat Users List
Subject: Re: configuring 2 servlets on different ports

Jim,

> 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
this?

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.

-chris 
 
 
 
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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to