Tomcat <9.0.13 is affected to the bug where SecureNioChannel fails with "IllegalArgumentException: You can only read using the application read buffer provided by the handler."
The following log appears in tomcat.log:
- Increased heap usage after GC processing and GC activity potentially leading to performance issues.
- If a heap dump is taken, an analysis will show two leak suspects like the following occupying most of the heap:
- Use Http11Nio2Protocol instead of Http11NioProtocol within the appropriate connector of the server.xml file