

Tomcat not working properly as a Windows Service?įrom AlwaysUp, select Application > Report Activity > Today. We encourage you to edit Tomcat in AlwaysUp and check out the many other settings that may be appropriate for your environment. That's it! Next time your computer boots, Tomcat will start up immediately, before anyone logs on. To start Tomcat, choose Application > Start "Tomcat".

In a couple of seconds, an application called Tomcat will show up in the AlwaysUp window. This will ensure that Tomcat is shut down gracefully when it is stopped by AlwaysUp.Ĭlick the Save button.

Check the Use this special command to stop the application box and enter the full path to the shutdown.bat file in the This informs AlwaysUp that Tomcat needs the TCP/IP networking stack to operate.Ĭlick over to the Extras tab. box.Ĭlick over to the Startup tab and check the Ensure that the Windows Networking components have started box. This can be useful forĭebugging purposes, but if you wish to avoid seeing it, click over to the Logon tab and check the When a user logs on, don't show the application's windows. We suggest Tomcat but you can specify almost anything you like.īy default, Tomcat will show a command window when it is run by AlwaysUp. In the Name field, enter the name that you will call the application in AlwaysUp. In the Application field, enter the full path to the batch file that we created in step 3, startup-from-alwaysup.bat. Select Application > Add to open the Add Application window: Please see the catalina.bat file for details.) (The "run" argument prevents the batch file from starting java in a separate window, which would prevent AlwaysUp from keeping track of it properly.
