在Eclipse中更改Tomcat Server的超时

Dej*_*ell 111 eclipse tomcat

当我尝试运行我的Tomcat时,我收到一条消息:

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
Run Code Online (Sandbox Code Playgroud)

这个服务器编辑器在哪里?我没有在Windows首选项服务器中找到它.

我正在使用Eclipse 3.6.

Boz*_*zho 248

Open the Servers view -> double click tomcat -> drop down the Timeouts section

在那里,您可以增加每个特定服务器的启动时间.

  • +1,这些年来,我从来不知道Servers选项卡中的Server是可点击和可扩展的.我假设右键单击已有所有选项! (12认同)

Ani*_*kur 55

  1. 转到服务器视图
  2. 双击要更改时间限制的服务器
  3. 在右侧,您有超时下拉选项卡.选择那个.
  4. 然后,您可以选择更改时间限制.

在此输入图像描述