Description
Reproduce steps:
- Take the MyHippoProject
- Create a HstLinkProcessor and add this code:
@Override protected HstLink doPreProcess(HstLink link) { try { RequestContextProvider.get().getSession(); } catch (RepositoryException e) { e.printStackTrace(); } return link; }
- Now, hit "http://localhost:8080/site/" more than 100 times.
You'll see after 100 times you'll get javax.jcr.RepositoryException: org.hippoecm.hst.core.jcr.pool.NoAvailableSessionException: No session is available now. Probably the session pool was exhausted.
Attachments
Issue Links
- relates to
-
HSTTWO-3858 Corner case when session leaked in sitemap item handler
- Closed