• 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 ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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.
Thanks
Jas
 
Rancher
Posts: 42975
76
  • 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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!