This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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!