Tomcat startup error: Failed to start component [StandardServer[8005]] solution

SEVERE: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]

The Tomcat server was deployed on Eclipse before, and it was deployed on MyEclipse today. As a result, Tomcat failed to start and an error was reported. After searching the Internet for a long time, some said it was because the port was occupied, and some said it was because of the wrong version of Tomcat’s JDK. Actually neither. The reason is that the last few extra lines in Tomcat’s server.xml configuration file are probably automatically generated by projects that were previously run on Eclipse. After deleting them, Tomcat will run normally.


 <Host appBase=”webapps” autoDeploy=”true” name=”localhost” unpackWARs=”true”>

<Valve className=”org.apache.catalina.authenticator.SingleSignOn” />

<Valve className=”org.apache.catalina.valves.AccessLogValve” directory=”logs” pattern=”%h %l %u %t “%r” %s %b” prefix=”localhost_access_log.” suffix=” .txt”/> 

<Context docBase=”MyProject” path=”/MyProject” reloadable=”true” source=”org.eclipse.jst.jee.server:MyProject”/></Host>

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *