Eclipse中的Tomcat仍然启动/同步,但实际上正在运行 [英] Tomcat in Eclipse remains starting/synchronized but is actually running

查看:838
本文介绍了Eclipse中的Tomcat仍然启动/同步,但实际上正在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Eclipse 3.7和Tomcat 7.0.8中遇到以下问题:我已经在我的Eclipse中添加了部署描述符的Tomcat。我在服务器设置中启用了使用Tomcat安装,并尝试启动它。 Eclipse中的控制台说服务器在70年代启动,我可以访问我的应用程序,但服务器状态保持启动/同步。因此,迟早会触发配置的超时,并且我收到错误。

I'm having the following problem with Eclipse 3.7 and Tomcat 7.0.8: I've added my Tomcat with a deployment descriptor in my Eclipse. I've enabled "Use Tomcat installation" in the server settings and tried to start it. The Console in Eclipse says "Server started up in 70s", I can access my application, but the servers state remains "Starting/Synchronized". As a result sooner or later the configured timeout is triggered and I'm getting an error.

为什么Eclipse不能识别服务器已成功启动?

Why is Eclipse not recognizing that the server was started successfully?

我也尝试重新安装Eclipse和Tomcat - 没有积极的变化。
另外添加一个干净的新鲜下载的Tomcat会导致相同的错误。

I've also tried to reinstall Eclipse and Tomcat - no positive changes. Also adding a clean, fresh downloaded Tomcat results in the same "error".

任何建议?
Richard

Any suggestions? Richard

推荐答案

尝试从服务器配置屏幕更改HTTP端口。例如,如果您以前有8080,请尝试将其更改为8090.这应该会自动将新的端口号更新为server.xml。

Try changing the HTTP port from the server configuration screen. For example if you previously had 8080, try changing it to 8090. This should automatically update the new port number to server.xml.

在server.xml中直接修改服务器端口后,我开始遇到同样的问题。将端口更改回原来的状态似乎没有解决问题。看起来像服务器pluging和实际配置有所不同步。

I started running into the same problem after I had been modifying the server port directly in server.xml. Changing the ports back to what they had been did not seem to solve the problem. It looked like the server pluging and actual configuration got somehow out of sync.

这篇关于Eclipse中的Tomcat仍然启动/同步,但实际上正在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆