-1

I start Apache Tomcat Server 9 by running startup.bat. But, the Server shuts down automatically as soon as I Log Out/Lock the Windows Server. I want the Tomcat Server to be up and running as long as the Windows Server is on, as I'm hosting a web portal. Please help me with a good solution.

1 Answers1

0

You need to start your Apache Tomcat as a Windows service in order to have it running headlessly in the background. All your foreground applications naturally get terminated as soon as you log out while windows services keep running in the background.

Looke here how to setup Apache Tomcat as a service.

Selaron
  • 6,105
  • 4
  • 31
  • 39