---
title: "Eclipse中server启动超时的解决方法"
author: "yiyu"
date: "2011-03-14T16:10:43Z"
tags: ["Eclipse", "Tomcat"]
categories: ["企业架构"]
slug: "eclipse-server"
draft: false
lastmod: "2011-03-14T16:10:43Z"
id: 961383
url: "https://yiyu.iteye.com/blog/961383"
---

今天碰到一个问题，我把连接池的初始连接数设到10，结果在eclipse里启动tomcat的时候出现以下的错误：

Server Tomcat v6.0 at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.

我找遍了eclipse的设置也没找到增加timeout的地方，后来发现秘密在这里：
在servers view里，<span style="color:red">**双击**</span>你要设置的server，会打开该server的设置窗口，在右上部有Timeouts的设置部分，设置timeout就在这里了，呵呵，关键是双击哦。

希望对你有帮助哈。