Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat 8 System Tray Icon

I've been trying to get the Tomcat8 system tray icon to appear on a Windows Server 2012 box, but I'm running into an issue. I followed the instructions here to put the Tomcat 8 icon in the system try. So, I ran the following command

C:\..\bin>tomcat8w //MS//Tomcat8

The icon shows up in the system tray, as expected, but when I reboot my machine the icon is no longer there, and I must run the same command in order for it to appear again. Is there anything I can do to ensure that the icon remains persistently?

like image 826
Caleb Adams Avatar asked Apr 27 '16 16:04

Caleb Adams


1 Answers

There are several solutions for this. What worked for me is the following: Create a .bat to run at windows log on that opens the tomcat icon tray. To do so, just use what you posted before: Open a notepad and type the following:

start "" "C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7w.exe" //MS//Tomcat7

Go to file --> Save as... Select the location C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp in "Filename:" type, TomcatMonitor.bat in "Save as type" select, All Files (.)

That's it. Next time your computer log on it will run the script to open the Tomcat monitor.

like image 177
roadparc Avatar answered Oct 07 '22 17:10

roadparc