简体   繁体   中英

Tomcat started but Eclipse seems unable to detect that

I'm running Tomcat v5.0.30 inside Eclipse Helios, installed with "Server->New...".

Tomcat starts correctly, but Eclipse seems unable to detect that the server is started, so the "starting Tomcat" status bar keeps spinning until start timeout is reached and Tomcat is shutted down.

As a workaround I set the Tomcat start timeout to a very big value, but obviously I'd like to work normally.

As suggested in other questions I used netstat -ano to find if the server port was being used by another process, but the port resulted free. In any case, I also tried to change Tomcat port to other values, but it didn't solve the problem.

Any suggestion?

Having the same issue in my case it helped to switch connector protocol from

<Connector port="8080" protocol="org.apache.coyote.http11.Http11Nio2Protocol" ...>

to

<Connector port="8080" protocol="HTTP/1.1" ...>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM