운영관리

HP-ux에서 jvm loading이 실패하는 경우 조치 사항

by admin posted Nov 21, 2008
HP-ux의 jdk1.4 이후 버전부터 TLS(Thread Local Storage)가 적용되었는데, dynamic loader가 TLS가 적용된 라이브러리를 로딩하지 못해 아래와 같은 에러가 발생할 수 있습니다.
Can''t dlopen() a library containing Thread Local Storage: libjvm.sl

HP-ux 11.11의 경우에는 “11.11 ld(1) and linker tools cumulative patch”를 적용해야 합니다. 최신 패치번호는 PHSS_35381 (http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_35381&sel={hpux:11.11,}&BC=main|search|) 입니다.
패치를 적용한 후 LD_PRELOAD 환경변수를 아래처럼 설정하면 됩니다.

LD_PRELOAD=$JAVA_HOME/jre/lib/PA_RISC2.0/hotspot/libjvm.sl

HP-ux 11.20 이상에서는 LD_PRELOAD 환경변수만 설정하면 됩니다.

Articles

5 6 7 8 9 10 11 12 13 14