• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CATALINA_HOME problem

 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic