linux下啟動tomcat時卡在Deploying web application directory /..../webapps/host-manager


在網上查了一下 

找到jdk1.x.x_xx/jre/lib/security/Java.security文件,在文件中找到securerandom.source這個設置項,將其改為:

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

 

於是先find / -name jre ----------找到文件位置

然后找到Java.security文件 對其進行編輯 由於文件中內容較多所以使用搜索:/securerandom.source  

找到該設置項之后發現securerandom.source=file:/dev/urandom  中間少了/./  改為securerandom.source=file:/dev/./urandom

再重新啟動tomcat  正常!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM