Hi maven:
  Thanks for your response.

  "How to run multiple tomcat instances" is not what I concerned. I setup
three Tomcat 5.0.x instances & one Tomcat 6.0.x in one windows OS in our
production environment for some weired reasons. And I can running multiple
tomcat instances from one tomcat installation copy by tweaking CATALINA_BASE
environment variable before startup.bat (learning tomcat clustering these
days).

  I just want to distinguish these tomcat servers from title of tomcat
window. Currently I modified catalina.bat, changed
set _EXECJAVA=start "Tomcat" %_RUNJAVA%
to
set _EXECJAVA=start "%TOMCAT_TITLE%" %_RUNJAVA%

and execute
set TOMCAT_TITLE=Server1/Server2/Server3/...
before running startup.bat, it's a trick, but it is not an official
solution, and it's not suitable for creating a windows shortcut (pass TITLE
via command line option)



maven apache wrote:
> 
> 2009/12/30 LiuYan 刘研 <lovet...@21cn.com>
> 
>>
>> When running muitiple tomcat instances in same windows OS, the title of
>> all
>> tomcat/DOS window are all "Tomcat", it's a little hard to distinguish
>> which
>> window is which tomcat.
>>
> Not exactly sure what you are meaning. Did you mean that you have
> installed
> more than one tomcat or you just installed one tomcat but you want to
> start
> more than one tomcat instances?
> 
>>
>> for example:
>> bin\startup.bat -title "Tomcat Server 1 - XXX"
>> bin\startup.bat -title "Tomcat Server 2 - YYY"
>> bin\startup.bat -title "Tomcat Server 3 - ZZZ"
>> ...
>>
>> Then I can distinguish these servers from the title of tomcat/DOS window
>> in
>> task bar.
>>
>> Thanks!
>> --
>> View this message in context:
>> http://old.nabble.com/Feature-request%3A-startup.bat%3A--title-option-needed-tp26963401p26963401.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Feature-request%3A-startup.bat%3A--title-option-needed-tp26963401p26963650.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to