Monday, November 4, 2013

Eclipse Tomcat unable to start within 30 seconds



Have you encountered the following error when you start up your tomcat in eclipse?


Server Tomcat v4.1 Server at localhost was unable to start within 30 seconds. If the server requires more time, try increasing the timeout in the server editor.







FATAL ERROR in native method: No transports initialized
err:: No such file or directory
Error [2] in connect() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.




I have no idea what caused this error. But what I did was changed the following setting in my eclipse tomcat server and it work now.

Under the “Timeouts > Specify the time limit to complete server operations.” Change the “Start (in seconds)” from 30 to 45.