阿里云centos的tomcat起不来

阿里云服务器tomcat ./shutdown.sh关闭命令报错Could not contact localhost:8005. Tomcat may not be running.

https://stackoverflow.com/questions/33868983/severe-could-not-contact-localhost8005-tomcat-may-not-be-running-error-while

1、vim "JAVA_HOME"/jre/lib/security/java.security
2、找到“securerandom.source = file:/dev/random”。
3、修改“securerandom.source = file:/dev/./urandom”。

重启tomcat服务器

你可能感兴趣的:(java)