啓動Tomcat卡 Deploying web application directory

啓動Tomcat時卡住 Deploying web application directoryhtml

org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory

環境java

  • CentOS 7.4
  • jdk-10.0.2
  • apache-tomcat-9.0.11

找到 java.security,把web

securerandom.source=file:/dev/random

改成apache

securerandom.source=file:/dev/./urandom

java.security 文件位置tomcat

好多博客介紹位置在jdk1.x.x_xx/jre/lib/security/Java.security,然而並無找到。因而find命令查找以後,結果以下:app

/usr/local/java/jdk-10.0.2/conf/security/java.security
/usr/local/java/jdk1.8.0_172/jre/lib/security/java.security

當前用的是 jdk-10.0.2,在**$JAVA_HOME/conf/security/java.security**成功找到。dom

參考文檔:刺風’Blogcode

相關文章
相關標籤/搜索