Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds, tomcatseconds
Error details: Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. ------- a prompt indicating connection timeout
Cause 1:
Errors Caused by limited deployment time.
Solution:
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
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 = "1000" stop-
Timeout = "15" timestamp = "0">
<Map jndiPort = "1099" key = "generic_server_instance_properties" port = "8090"
ServerAddress = "127.0.0.1" serverConfig = "default"/>
</Server>
</Servers>
Change start-timeout = "45" to start-timeout = "100" or longer, which can be set based on the project size. Restart eclipse.
Cause 2:
The database configuration is incorrect.
Solution:
Check whether the database is correctly configured.