Leo Donahue - PLANDEVX wrote:
You guys are good
We're trying our best, modestly.
...
 > Thank you very much for your help.  Much appreciated.
No problem, we like to show off.
...

I did have one problem when I issued the "service" command.  It gave me the 
reply:

The tomcat.exe was not found...
The CATALINA_HOME environment variable is not defined correctly.
This environment variable is needed to run this program

I checked the environment variables on the "Advanced" tab of system properties 
and the CATALINA_HOME variable was pointing to the install_dir for the Tomcat5028 
version.  Since the setup docs for version 5.0.28 make no reference to setting this 
CATALINA_HOME environment variable, I deleted it.  That might have been a bad idea, 
however both Tomcats are working fine.  I don't know if the original third part app set 
that environment variable for some reason or if it was a relic from a previous install of 
something.


Yep, I forgot about that one.
It was probably set by your first install.
CATALINA_HOME should be set to the base of your Tomcat installation (the directory in which you installed the software, and which contains the conf, bin, webapps etc.. subdirectories). (CATALINA_BASE is used when you have multiple instances of the same Tomcat version running. If you have a single instance, it is equivalent to CATALINA_HOME.)

In your case however, it's a bit iffy, since you are under Windows, where there is only one global CATALINA_HOME variable, but you have two different code bases running.

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.

I don't know exactly what, apart from the startup scripts that you will find in the "conf" subdirectory of each Tomcat, may reference this CATALINA_HOME. But since you are running both Tomcats as services, they do not use those scripts anyway.

Which is probably why nothing bad happened when you deleted the variable.

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

Reply via email to