Error Details: Server Tomcat v6.0 server at localhost is unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor. A hint of-------connection timeout
Reason one:
Limits the errors caused by the time of deployment.
Workaround:
Modify the Workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml file.
<servers>
<server hostname= "localhost" id= "JBoss v5.0 at localhost" name= "JBoss v5.0 at
localhost "runtime-id=" JBoss v5.0 "server-type=" ORG.ECLIPSE.JST.SERVER.GENERIC.JBOSS5 "
Server-type-id= "ORG.ECLIPSE.JST.SERVER.GENERIC.JBOSS5" start-timeout= "stop-"
timeout= "timestamp=" 0 ">
<map jndiport= "1099" key= "generic_server_instance_properties" port= "8090"
serveraddress= "127.0.0.1" serverconfig= "Default"/>
</server>
</servers>
Change the start-timeout= "45" to start-timeout= "100" or longer, which can be set according to the project size. Finally, you can restart eclipse.
Reason two:
The database is not configured correctly.
Workaround:
Check that the database is configured correctly.
Server Tomcat v6.0 server at localhost is unable to start within seconds