A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
temporarily disable connections to Tomcat
Joined: Dec 13, 2012
Dec 13, 2012 01:42:59
for backup reasons, I want to disable user connections to my
Does anybody know how to configure tomcat to deny connections for a specific time?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Dec 13, 2012 07:59:12
You can use the Tomcat Management app to take specific services (applications) off-line and later restart them.
Joined: Apr 29, 2011
Jan 08, 2013 08:52:42
and if you don't want to put your app down while taking backups, you can always modify linux shell script that does the backup, so it use iptables and cut off all connections to your listen port, do backup, and remove temp iptables block rule.
rocket mass heater
subject: temporarily disable connections to Tomcat
How to see Tomcats system?
allowChunking in Tomcat 5.x
Disable HTTP in TOMCAT 5.5.x
Servlet returning remote address in IPv6 not IPv4
No of connections server can handle
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014