On Tue, 8 Jan 2002, James Chuang wrote:

> Date: Tue, 8 Jan 2002 15:46:12 -0800
> From: James Chuang <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> Subject: Re: class loading tc 3.3 & virtual hosts
>
> Yes you can.  You can deploy 2 separate tomcat's each with their own ports,
> contexts, etc.  This will allow you to run your apps in 2 separate VMs, so
> they can use different versions of classes etc.
>
> This was in Tomcat 3.23-3.3.  I think 4 should work the same way with this?
>

In Tomcat 4 stand-alone, you can run multiple virtual
hosts in the same JVM, as long as each app keeps all their classes in
their own /WEB-INF subdirectories -- all the apps are then completely
independent of each other (even within the same virtual host).  All you
need is to add a separate <Host> element in server.xml for each virtual
host, each with its own "appBase" directory.

Sorry, but I don't have a clue how to do it with the web connectors.  I
consider any such configuration to be incredibly complex, and avoid them
like the plague (preferring to run Tomcat stand-alone).

> jchuang
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to