EJB3, Stateful Firewalls, and Connection Timeouts with Payara
After a firewall change our remote EJB3 calls started hanging mysteriously. The root cause? Silent TCP connection drops. To fix this we needed to enable and tune TCP keepalives at both the OS and Payara levels.