1

我使用 Tomcat 持久性管理器和 MongoDB 作为持久性存储。我遇到了很多与此相关的问题。

Tomcat 无法正常关闭。我需要稍后杀死它。它显示这样的日志。

Tomcat Log::: Jun 28, 2016 6:36:23 AM org.apache.catalina.core.StandardServer await
    INFO: A valid shutdown command was received via the shutdown port.Stopping the Server instance.
    Jun 28, 2016 6:36:23 AM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["http-bio-9082"]
    Jun 28, 2016 6:36:23 AM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
    Jun 28, 2016 6:36:23 AM org.apache.catalina.core.StandardService stopInternal
    INFO: Stopping service Catalina
    Jun 28, 2016 6:36:23 AM com.mongodb.diagnostics.logging.JULLogger log
    INFO: Closed connection [connectionId{localValue:24, serverValue:619}] to <host ip>:<port> because the underlying connection was closed.

之后没有响应。然后我手动终止了该进程。

MongoDB 集合创建文档的次数超出了我的预期(大约 100 次)。我参考了这些页面。

任何人都可以帮助解决这些问题吗?

4

0 回答 0