I have recently upgraded to play 2.5. Everything works, until the system gets busy generating reports (in separate threads) when I suddenly am unable to access any page in the web application. I don't see any errors in the log. The play 2.3.8 version works fine under the same circumstances/load. I don't see a solution other then removing deadbolt to see if it fixes the problem, as it did for the users listed below. TIA
deadbolt 2.5.4 "play-authenticate_2.11" % "0.8.1"
I see a couple of other users had a similar problem and had to remove deadbolt to resolve it.
Play framework [2.5.0 java] - Blocked netty-event-loop threads resulting in timeout
Play 2.5 application requests hang
(Feb 8 '17) I am still working on this issue since it fails on two production machines, yet works on two development machines. The development machines are physical and have slightly newer Java versions. The production machines are both virtual and run Java build 1.8.0_66. Once I resolve this issue I will work on tuning the thread pools. I have posted two solutions, both of which worked on two development machines (physical machines with Java > 1.8.0_66).
See https://www.coalliance.org/play-25-upgrade for more information.
HttpExecution.defaultContext()
as its execution context. If you write your ownDeadboltExecutionContextProvider
implementation to use a custom thread pool and bind it in a module, Deadbolt will use that instead. Could you try and let me know? You can find details on configuring thread pools here – Steve Chaloner