You have different options:
- Use n web applications in one tomcat instance
In this case you just have one CATALINA_BASE
Each web application has its own context.
- Use x instances of tomcat to run 1 to y web
applications per tomcat.
In this case you have to set the environment
variable CATALINA_BASE to a unique value
for each tomcat instance.
Just two different ways to achive that:
- run each instance under a dedicated user
and set the environment variable for this
user
- define a start script for each instance
that sets the environment variable before
starting tomcat
> -----Original Message-----
> From: raghavendra roddam [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 19, 2002 8:30 PM
> To: [EMAIL PROTECTED]
> Subject: Regarding Multiple Instances
>
>
> Hello Team,
> Iam trying to install Tomcat v4.1.12 & am
> successful in doing so. Now I want to use the same
> tomcat server for 2 web applications(contexts). Can I
> do so. I had been told that I can do it using
> different ports for different contexts. As well this
> CATALINA_BASE is a little confusing, if I have two
> contaxts running I must have two CATALINA_BASE
> variables, supposedly one for each. If that is the
> case the variable names must be different. What would
> they be. Like CATALINA_BASE_1, CATALINA_BASE_2.
> After being successful in running multiple
> instances of tomcat using one installation, I need to
> use one of those contexts for PERL/CGI based web
> application & other context should have JAVA base web
> application. For that I need to configure one context
> for CGI scripts.Please can you guide me through this
> process.
> Hope you understood my problems, please feel
> free to mail me for any furhter questions &
> solutions.Awaitng your mail,
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>