On 20/03/2023 10:09, Ivano Luberti wrote:
Hi all , I would like to find a way to start tomcat with all the application stopped except the manager.

My colleagues made a test manually  stopping an application and restarting tomcat.

After the service restarted the application was up and running.

Is there a way to make Tomcat remember which application were stopped at shutdown and keep them stopped at restart?

No.

What you can do is set deployOnStartup="false" on the Host. But to have the Manager app always start, you'd have to define the Manager Context in server.xml which means any changes to the Manager configuration would require a full Tomcat restart.

What problem are you trying to solve? There may be other options available.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to