B
bigmurali
I have a tomcat web app running on many servers in a farm all
connected by a switch that routes incoming requests to the servers by
picking a server in a round-robin fashion.
I have a servlet/jsp in my web application to trigger an action (say
re-reading a disk file). This triggering obviously can happen in only
one of the tomcat servers in the farm that the switch happened to pick
when I invoke my servlet from a browser/HTTP client.
So the question is, how can I make this update happen simultaneously
in all the instances of my webapp that are running on each one of the
servers in the farm?
Can Spring JMX help accomplish this if I expose the Spring bean that
performs this action as an MBean? or is the question simply absurd?
I'd be happy to hear any other suggestions to make this happen.
thanks
connected by a switch that routes incoming requests to the servers by
picking a server in a round-robin fashion.
I have a servlet/jsp in my web application to trigger an action (say
re-reading a disk file). This triggering obviously can happen in only
one of the tomcat servers in the farm that the switch happened to pick
when I invoke my servlet from a browser/HTTP client.
So the question is, how can I make this update happen simultaneously
in all the instances of my webapp that are running on each one of the
servers in the farm?
Can Spring JMX help accomplish this if I expose the Spring bean that
performs this action as an MBean? or is the question simply absurd?
I'd be happy to hear any other suggestions to make this happen.
thanks