Hi Mel,
If you are interested in an approach to getting Tomcat to serve
apps on multiple ports, you might want to check out the
Enhydra Enterprise 4.0 source.
We create multiple ContextManagers, where each ContextManager
handles the group of apps running on a particular connection (port).
This is currently using Tomcat 3.2.1.
Shawn

Mel Martinez wrote:

> --- Uijin Hong <[EMAIL PROTECTED]> wrote:
> > Why don't you just run 2 servlet container(Tomcat)s
> > for each port?
> >
>
> That could get memory expensive if you have to do this
> for several ports.
>
> The best performance scenario might be to use Apache
> to listen to several ports and rewrite them to go to a
> single tomcat 'delegator' servlet which then
> dispatches them to servlets/JSPs appropriately.  And
> actually, you should just use apache rewrites directly
> to dispatch to any static resources.
>
> Mel
>
> > -----Original Message-----
> > From: William Wishon
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 06, 2001 9:27 AM
> > To: [EMAIL PROTECTED]
> > Subject: Assigning Servlets to different ports.
> >
> >
> > Hi,
> >
> > <snipped>
> >
> > An example of what I'm trying to do is to have a GET
> > on "/" of port 8080
> > return webapps/app1/index.html and a GET of "/" on
> > port 8081 return
> > webapps/app2/index.html.
> >
> > Thanks,
> > Bill
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, email:
> > [EMAIL PROTECTED]
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, email:
> > [EMAIL PROTECTED]
> >
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

--
Shawn McMurdo              mailto:[EMAIL PROTECTED]
Lutris Technologies        http://www.lutris.com
Enhydra.Org                http://www.enhydra.org



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to