사용자 도구

사이트 도구


service:was:tomcat:shutdown

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
service:was:tomcat:shutdown [2020/06/06 21:48]
starlits 만듦
service:was:tomcat:shutdown [2020/06/09 19:35] (현재)
starlits
줄 1: 줄 1:
 +====== tomcat shutdown.sh 시 정상동작 하지 않을 경우 ======
 + 
  
 +tomcat blocking issue  
  
-https://lng1982.tistory.com/261+===== 방법1 =====
  
-tomcat 에서 설정하는 방법+  - O/S별 환경변수 설정 
 + 
 +==== LINUX ==== 
 +  - JAVA_OPTS 설정 <code> 
 +JAVA_OPTS="$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom" 
 +</code> 
 + 
 + 
 +==== Windows ==== 
 +  - 내컴퓨터 > 고급 시스템 설정 > 고급 > 환경 변수(N).. > 시스템 변수(S) > 새로 만들기(W)..  
 +    - 변수 이름(N) : JAVA_OPTS 
 +    - 변수 값(V)   : %JAVA_OPTS% -Djava.security.egd=file:/dev/./urandom 
 +  
 +  
 +===== 방법2 ===== 
 +  - java.security 설정 
 +  - ecurerandom.source 소스 수정  
 +    - (기존) securerandom.source=file:/dev/./random 
 +    - (변경) securerandom.source=file:/dev/./urandom 
 + 
 +^ JDK 8 이하 | $JAVA_HOME/jre/lib/security/java.security | 
 +^ JDK 9 이상 | $JAVA_HOME/conf/security/java.security | 
 + 
 +===== 원인 ===== 
 +  - JAVA 버그로 /dev/urandom 을 인식하지 못하고, /dev/./urandom 으로 처리해야 할때도 있음. 
 + 
 + 
  
-jdk security에서 설정하는 방법  
service/was/tomcat/shutdown.1591447723.txt.gz · 마지막으로 수정됨: 2020/06/06 21:48 저자 starlits