A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: temporarily disable connections to Tomcat
How to see Tomcats system?
No of connections server can handle
Servlet returning remote address in IPv6 not IPv4
allowChunking in Tomcat 5.x
Disable HTTP in TOMCAT 5.5.x
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015