was unable to start within 45 seconds. If the server requires more time, try increasing the timeout

在eclipse启动tomcat时遇到超时45秒的问题:

Server Tomcat v7.0 Server at localhost was unable to startwithin 45 seconds. If the server requires more time, try increasingthe timeout in the server editor.

网上解决办法。

1.在 eclipse菜单-》window->preferencs里找到server 中最下面一项:servertimeout delay 设置成 Unlimited 即可!

但是eclipse 3.6,3.7中没有找到这一选项。

2.修改workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。

  <fontcolor="ed1c24">start-timeout="1000"</font> stop-timeout="15" testEnvironment="true"timestamp="5"></div><div>   <list key="modules"value0="newkia::org.eclipse.jst.jee.server:newkia::jst.web::2.5"/></div><div>  

把 start-timeout="45" 改为 start-timeout="200" 或者更长

记得要重启eclipse

时间: 2024-08-04 02:21:37

was unable to start within 45 seconds. If the server requires more time, try increasing the timeout的相关文章

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds

错误:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds 错误提示就是我们限定了部署的时间导致的错误.   修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件. 把其中的start-timeout="45" 改为  start-timeout="100" 或者更长,根据不

SpringMVC知识点汇总

1.${SESSION_USER_V2}         会从大到小查找作用域中的attribute          PageContext                          PageScope          servletRequest                       RequestScope          httpSession                         SessionScope          Application/servl

eclips tomcat启动报错

问题描述 eclips tomcat启动报错 启动tomcat时报错了,错误如下: erver 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. 搜了一下,说是将timeouts-start的值设置大一点,但是这样也不行啊 以前也遇到这种情况

eclipse中调试tomcat下的web应用

有时新建web项目,jsp报错,找不到javax.servlet.http等与server有关的类,是因为没有引入依赖的jar包.步骤如下: elipse中,依次选择window|preferences|server|Runtime Environment|Add,出现下面界面. 图1 添加 serverRuntime 指定tomcat版本号与文件夹路径就可以了. 然后添加seerver有关的library.见下图. 图2 添加serverLibrary 指定项目文件与部署文件的映射关系,见图3

定时连接socket函数封装

connect_timo函数,给定timeout秒内连接服务端,0成功,其它失败: writen函数,阻塞写n个字节, 返回实际读取的字节数: readn函数,可以设置超时限制,在超时时间内阻塞读取n个字节,返回实际读取 的字节数. readn和writen封装函数的意义:不少初学者容易犯这样的错误,调用send或recv不检查返回值 .这跟不熟悉TCP和操作系统的特性有关,TCP是可以分片的,操作系统的buffer也是有限制的,一次阻塞send 调用未必可以将所希望的长度写完(虽然仅仅是写到操

ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by &#039;inst 1, osid 5166&#039;

凌晨收到同事电话,反馈应用程序访问Oracle数据库时报错,当时现场现象确认:   1. 应用程序访问不了数据库,使用SQL Developer测试发现访问不了数据库.报ORA-12570 TNS:packet reader failure   2. 使用lsnrctl status检查监听,一直没有响应,这个是极少见的情况.   3. 检查数据库状态为OPEN,使用nmon检查系统资源.如下一张截图所示,CPU利用率不高,但是CPU Wait%非常高.这意味着I/O不正常.可能出现了IO等待和

jsp-HTTP Status 500 - Unable to compile class for JSP

问题描述 HTTP Status 500 - Unable to compile class for JSP 求大牛求解!新手不了解 j点击Jsp页面出现的错误 type Exception report message Unable to compile class for JSP description The server encountered an internal error that prevented it from fulfilling this request. except

登录arcgis server manager时出现Unable to connect to Manager Service

问题描述 登录arcgis server manager时出现Unable to connect to Manager Service 登录arcgis server manager时出现Unable to connect to Manager Service

搜罗Android开发eclipse错误汇总

大家都在为项目开发成功而喜悦,但可不知成功的路上是会经常出错的,下面是我碰到的一些错误集合! [错误信息] [2011-01-19 16:39:10 - ApiDemos] WARNING: Application does not specify an API level requirement! [2011-01-19 16:39:10 - ApiDemos] Device API version is 8 (Android 2.2)原因: 不影响正常运行.在AndroidManifest.