Campbell, Lance
2018-08-24 15:52:04 UTC
Tomcat 9
Use Case 1: I want to store the last N number of URLs sent to Tomcat 9 application. Then if Tomcat shuts down I want to write out these last N number of URLs to the log file.
Strategy:
I figured I would use a valve to keep track of the last N number of URLs. However I donât know how to tell when the valve is shutting down.
Does anyone have any suggestions?
Thanks,
Lance
Use Case 1: I want to store the last N number of URLs sent to Tomcat 9 application. Then if Tomcat shuts down I want to write out these last N number of URLs to the log file.
Strategy:
I figured I would use a valve to keep track of the last N number of URLs. However I donât know how to tell when the valve is shutting down.
Does anyone have any suggestions?
Thanks,
Lance