> From: André Warnier [mailto:[email protected]] 
> Subject: Re: Tomcat 5.0.28 and 6.0.18 on same server
> 
> > The tomcat.exe was not found...
> > The CATALINA_HOME environment variable is not defined correctly.
> > This environment variable is needed to run this program

You do not (and should not) set the CATALINA_HOME environment variable.  Run 
the service.bat script from a command prompt, with the current directory set to 
Tomcat's bin directory.  The script will find the executable.

> > Since the setup docs for version 5.0.28 make no 
> > reference to setting this CATALINA_HOME environment
> > variable, I deleted it.

Good; you should not have it set explicityly.

> The logical thing, I guess, would be to define two different users on 
> your system, each with its own set of variables, and run each Tomcat 
> under a different user, allowing each user to have its own 
> CATALINA_HOME.

No, no, no.  Don't set CATALINA_HOME at all.  The scripts will use the proper 
directories when you run them from a command prompt and have current directory 
set properly.  The Tomcat service does not utilize any environment variables, 
of course.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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

Reply via email to