使用 tomcat 和 intellij 的 VM 设置

Settings for VM using tomcat with intellij

在 Eclipse 和 IntelliJ 中设置 VM 设置时,-D 代表什么?

有没有办法增加 IntelliJ 中 Tomcat 的连接超时?

这是一个模糊的问题。 -D 是 JVM 参数标志。它影响 JVM 上的命名设置,而不是通过 public static void main(String[] args) {}.

作为参数传递给 main 方法

您指的是什么“超时”?

  • connectionLinger
  • 连接超时
  • 连接上传超时
  • executorTerminationTimeoutMillis
  • keepAliveTimeout

我指的是这个 document 可以通过 server.xml 配置设置的设置。

如果您指的是嵌入式容器,请更新您的问题。