tomcat service fails to start due to timeout

Solution Verified - Updated -

Issue

  • The tomcat service fails to start, reporting a timeout:
Jan 18 17:52:05 www.example.com server[1925]: Jan 18, 2021 5:52:05 PM org.apache.catalina.startup.Catalina start
Jan 18 17:52:05 www.example.com server[1925]: INFO: Server startup in 51 ms
Jan 18 17:53:35 www.example.com systemd[1]: tomcat.service start operation timed out. Terminating.

Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.coyote.AbstractProtocol pause
Jan 18 17:53:35 www.example.com server[1925]: INFO: Pausing ProtocolHandler ["http-bio-8080"]
Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.coyote.AbstractProtocol pause
Jan 18 17:53:35 www.example.com server[1925]: INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.catalina.core.StandardService stopInternal
Jan 18 17:53:35 www.example.com server[1925]: INFO: Stopping service Catalina
Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.coyote.AbstractProtocol stop
Jan 18 17:53:35 www.example.com server[1925]: INFO: Stopping ProtocolHandler ["http-bio-8080"]
Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.coyote.AbstractProtocol stop
Jan 18 17:53:35 www.example.com server[1925]: INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.coyote.AbstractProtocol destroy
Jan 18 17:53:35 www.example.com server[1925]: INFO: Destroying ProtocolHandler ["http-bio-8080"]
Jan 18 17:53:35 www.example.com server[1925]: Jan 18, 2021 5:53:35 PM org.apache.coyote.AbstractProtocol destroy
Jan 18 17:53:35 www.example.com server[1925]: INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
Jan 18 17:53:35 www.example.com systemd[1]: Failed to start Apache Tomcat Web Application Container.
Jan 18 17:53:35 www.example.com systemd[1]: Unit tomcat.service entered failed state.
Jan 18 17:53:35 www.example.com systemd[1]: tomcat.service failed.

Environment

  • Red Hat Enterprise Linux 7
    • tomcat-7.0.76

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In