Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created June 7, 2012 05:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jbayer/2886710 to your computer and use it in GitHub Desktop.
Save jbayer/2886710 to your computer and use it in GitHub Desktop.
Disable the Tomcat shutdown port.
<Server port=”-1” command=”SHUTDOWN”>
@mzdv
Copy link

mzdv commented Mar 22, 2017

Nice! Quick, easy and simple.

In newer versions of Tomcat, the code would be:

<Server port="-1" shutdown="SHUTDOWN">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment