When multiple Tomcat servers are started in Windows, it is difficult to distinguish which Tomcat corresponds to which service. You can set the title of the Tomcat command line window using the following methods:
1. Find the following in % tomcat_home % \ bin \ Catalina. BAT:Code:
Search for "notitle" or "_ execjava"
Find:
: Dostart
Shift
If not "% OS %" = "windows_nt" Goto notitle
Set _ execjava = start "Tomcat" % _ runjava %
Goto gottitle
Replace the Tomcat character in the following line with the corresponding title.
Set _ execjava = start "Tomcat" % _ runjava %
Versions later than tomcat6.0.29 are as follows:
: Dostart
Shift
If not "% OS %" = "windows_nt" Goto notitle
If "% title %" = "" set Title = Tomcat
Set _ execjava = start "% title %" % _ runjava %
Goto gottitle
Similarly
If "% title %" = "" set Title = Tomcat
Changed:
If "% title %" = "" set Title = your application service name