-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 André,
On 12/7/12 3:51 AM, André Warnier wrote: > You are going to force me to disclose the details, and thus maybe > lose my patenting opportunity, but oh well. I am not thinking of a > regular ping which would run independently. What I am thinking of > is this : - the front-end httpd server intercepts all requests for > this application "early" (before mod_jk gets to see them). That's > not a problem. - the interceptor at the front-end retrieves the > jsession.jvmroute from the URL (or even the cookie), and > reformulates a request to tomcat, substituting the real application > path by the path of a "ping responder" servlet within the target > application, adding the jsessionid.jvmroute back into this new > path. It then makes an (internal) request to this URL. (In the > meantime, the original request is held; that's not a problem > either). I knew this was what you were talking about. I was suggesting that such a technique would be needlessly complex and would reduce performance. Since "session expired" is an exception case, it should be treated as such instead of as the norm. Tomcat can barf somewhat normally when a session has expired and mod_jk can take appropriate action. Namely: re-balance the request (if you'll allow such a loose term) and strip the session id from the re-balanced request as it goes to a (potentially different) back-end Tomcat. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEAREIAAYFAlDCH6UACgkQ9CaO5/Lv0PDMoQCcC4nFzqLqR0DDHXz40oL2VFO1 bL0Ani/DUcUGqrHNOXSN4kdlLJmPmnJ7 =73HZ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org