Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 Tomcat 7 中部署的 Servlet 3 中开发的 akka 应用程序。在应用程序内部,servlet 有一个 doGet 方法。doGet 在异步上下文中提供服务。如果 doGet 在 12 mts 内没有获得所需的输入,则请求会发回空闲超时响应。问题是我没有得到我在应用程序中设置的这个响应。我在日志中没有看到任何异常。当我将超时值设置为 5 mts 时,我得到了响应。有人可以帮忙吗?
如果它工作 5 分钟但不能工作 12 分钟,那么我会说客户端或其他一些依赖进程在预期时间过去之前放弃了。我会检查与客户端、Tomcat 等相关的所有其他超时。