reset password
Author Message
xytian
Posts: 70
Posted 01:47 Feb 16, 2013 |

I created a new dynamic project for HW3 and was unable to run the servlet. It says "Server Tomcat v7.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",     all other jsp and servlet can't run either.  I guess I accidentally changed with the configuration files but don't know where and how.                                                                                                         

SEVERE: Catalina.start:

org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.startup.Catalina.start(Catalina.java:684)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)

                                                                                                                                                                          

 

Last edited by xytian at 07:36 Feb 16, 2013.
xytian
Posts: 70
Posted 09:25 Feb 16, 2013 |

Deleted the newly created project and the server works again.