Failed to start component [StandardEngine[Catalina].StandardHost[localhost]

淺唱寂寞╮ 提交于 2019-12-01 08:21:49

Tomcat indeed has problems (See bug #60087) with verifying jar file signatures.

Solutions:

  • Update Apache Tomcat version.

  • You might verify signature of files manually, if you read Verifying Signed JAR Files, before deploying app to the Tomcat server.

  • You might also have corrupted jar files downloaded. You should always download from known sources or repositories.

  • You can also download along with jar file the digest signature files and verify contents of the file with OS utility.

  • Don't use malicious sites hosted jar files for your download.

  • Use antivirus to scan for viruses inside jar and verify signature. Some antivirus's have bugs and you should not use its result report for final decision about file contents. E.g. Error: "Invalid sha1 signature file digest for" when verifying a Jar file.

Your jars are completely messed up:

  1. Always preserve versions consistency (eg. not core 2.1.8.1 and plugins 2.2.3)
  2. Always pick up the latest version (eg. 2.3.x or, if you can break retrocompatibility, 2.5.x)
  3. Always include only the Struts2 plugins you know and use, only the needed ones. Remove all the others.
  4. Always avoid including two versions of the same libraries, eg. poi 3.7 and poi 3.8. Is this a joke ?
  5. The first versions of Tomcat 8.0 had known problems with Struts2, you should upgrade to the latest (eg. 8.0.39) or, even better, to 8.5.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!