• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
  • Carey Brown
  • salvin francis
  • Claude Moore

CATALINA_HOME problem  RSS feed

Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 different applications running on two different versions of tomcat on my system. For some reasons, I need to use the CATALINA_HOME for my applications. Is there some way by which I can change the CATALINA_HOME dynamically from one version to another. If not,please suggest me an alternative as to how to accomplish this..your help would be appreciated.
Posts: 42974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd think -and this is really just speculation, but maybe worth a try- that the CATALINA_HOME environment variable is only used by the various scripts in the bin directory, but not inside the Tomcat code. So you could do search-and-replace through those scripts, and in one of the two installations replace CATALINA_HOME by some other variable (CATALINA_HOME_2 or whatever), thus keeping both installations runnable at the same time.
[ August 10, 2005: Message edited by: Ulf Dittmer ]
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!