-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Helena,
On 3/7/19 03:12, Helena Carbajo wrote: > In response to John: >> Are you building Tomcat from source? If so, you could instrument >> the code in another location (I'm not exactly sure where that >> would be, so I would have to defer to someone else who is elbow >> deep in that code at the moment). > >> Thoughts? > > I have an application that uses a tomcat server. I also use Spring > Boot so I can add a HandlerInterceptorAdapterwith a preHandle > method wich is called just before the controller that handles the > request is called. I think this is too late for you, no? > In response to Christopher, > >> ... but the startTime is set to "now" at the moment when you >> think the "end time" should be set. Please re-read Mark's most >> recent comment. > >> I don't think "startTime" is going to help you, here, because it >> does not get set when the connection is established, but instead >> when a thread is assigned. > > In that case wouldn't both times, startTime and endTime, be the > same? You haven't posted your interceptor code, so I don't know when "start time" and "end time" are being set. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlyBPwsACgkQHPApP6U8 pFgG4g//XvO0RdcR6D8BhxQhsVSPhlIh+xEl5Y+pjBUjbveSKTylZZvJ8Y8tzBIw lh3Ynf3pBAZxT/QIDw121mtu1Sroe7kyIYSPzZe5wDqySxkqnfzlvaOXrDDyzdbL UOi8BtV6ylT8vLxleToYILH5vxtj1b+T3BTItaDF9n2biBXQv1eMBkXIe6UDlSGV fGaq8yPEphQ6K4VIapvFr2SyCnPEfnnHSgwFW+CknZNbKwZZDBzvbGl9zJSTAUdz 90Mde5sj/1a2c0PFATYLaTgEIcSUQ7B4AYQ23OqtlWSIT/lZZe8273hH81rdW+2i ypzvFVchIdHpkUQUuAZiUUKxm19ExaXNS2RFFKwFIQcgo9ElegU83+eORSm5HPfY lSOmty56qkbwZ0d/uDIx8YO6IpWyylK4WrOlHWGHfW+EVHyVmhty0rGTjQP9cx/0 ayx1CZ3iHnPkks85jHJESSRthoBB4uf5C7KKqhL6I3nBIWUbcZHhEjRQvLVRVEfv /utO9oBQSUlqRB7y0gwhdNRVlc4fldgkPobqgCLXkcH0jLN3DeyUGsjvD6ADKAJq FWAOZiNj4eFveHQiErTkwbNybk5TF3Q3cNWDHAvBF4RNBwrID3BajuXnN3YSsjCv JkODLieRzoB8dphFPgAi4VRMsDyXxv6PZFGes2i30xvoBkf/ArY= =LlpZ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org