Tomcat在部署战争时被卡住。我们需要在work / Catalina / localhost文件夹中的webapps文件夹之外部署两次战争。部署一次战争后,tomcat被挂起并且没有日志写入tomcat.log
相同的构建正在其他3个非产品环境中运行,但在第4个非产品环境中不起作用。在这种情况下我需要检查什么?
在其他环境中:
ls work/Catalina/localhost
war1dir ROOT war2dir x-tree
在失败的环境中:
ls work/Catalina/localhost
war1dir
在其他环境中:
May 22, 2019 4:06:18 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
May 22, 2019 4:06:39 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [7,434] milliseconds.
May 22, 2019 4:06:40 PM org.apache.catalina.startup.HostConfig deployDescriptor
在失败的环境中:
May 22, 2019 3:51:59 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
此后不再写入日志。