简体   繁体   中英

Eclipse and Netbeans with Tomcat: it is started, but don't work

I have installed, under debian jessie, tomcat 9.0.7 , netbeans 8.2 and eclipse oxigen.

If i start tomcat from command line, it works, i see the welcome page in my browser.

If i start it from eclipse, in the console i see all info messages that finish with: "Server startup in 2526 ms", but the state in server tag, is "starting, syncronized". After a while, eclipse tells: "Server Tomcat v9.0 Server at localhost was unable to start within 450 seconds. If the server requires more time, try increasing the timeout in the server editor", but also if i increase the timeout, it doesn't work.

The same thing for netbeans.

I tried to install tomcat 8.5, no changes.

I tried to install wildfly 12.0, same thing.

No firewalls, no proxys, no strange network things.

What could be the problem?

Solved. It was a problem of firewall, that blocked some ports.

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