석그
기억하지말고기록하기
석그
전체 방문자
오늘
어제
  • 분류 전체보기 (75)
    • Docker (2)
    • WEB (10)
      • apache (5)
      • nginx (2)
      • 인증서 (1)
    • WAS (10)
      • wildfly (9)
      • jboss (0)
      • tomcat (0)
    • DevOps (7)
      • Jenkins (2)
      • Influx (2)
      • Ansible (1)
      • gitlab (1)
      • squid (1)
    • ELK (4)
      • elasticsearch (2)
      • Kibana (0)
      • Logstash (2)
    • 리눅스 명령어 (6)
    • GIT (0)
    • 알고리즘 (0)
    • 쉘스크립트 (8)
    • Centos7 (5)
    • TEST (6)
    • Scouter (0)
    • 에러모음 (9)
    • 기타 (4)
      • tool (4)
    • grafana (2)
    • VirtualBox (0)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • 서버공유
  • apache
  • 쉘문법
  • 문법확인
  • Bad GateWay
  • docker 커밋
  • 변수처리
  • ansible
  • 도커 커밋
  • fallocate
  • shellcheck
  • cli스크립트
  • 인증서패스워드
  • 젠킨스
  • Customizable Alert
  • 도커
  • 쉘패키지
  • jboss-cli.sh
  • 뒤에서 값자르기
  • 싱글인증서
  • 와일드카드인증서
  • 멀티인증서
  • 파일변수처리
  • 도커 로드
  • 깃허브
  • 로그크기
  • scouter
  • jkmount
  • 도커이미지저장
  • 플레이북

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
석그

기억하지말고기록하기

[Java] Error attaching to process: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.332-b09. Target VM is 25.242-b08 에러
에러모음

[Java] Error attaching to process: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.332-b09. Target VM is 25.242-b08 에러

2022. 7. 25. 19:50
[root@hwangtest scripts]# jmap -heap 13525
Attaching to process ID 13525, please wait...
Error attaching to process: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.332-b09. Target VM is 25.242-b08
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.332-b09. Target VM is 25.242-b08
        at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:435)
        at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
        at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:140)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:185)
        at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
        at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.tools.jmap.JMap.runTool(JMap.java:201)
        at sun.tools.jmap.JMap.main(JMap.java:130)
Caused by: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.332-b09. Target VM is 25.242-b08
        at sun.jvm.hotspot.runtime.VM.checkVMVersion(VM.java:227)
        at sun.jvm.hotspot.runtime.VM.<init>(VM.java:294)
        at sun.jvm.hotspot.runtime.VM.initialize(VM.java:370)
        at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:431)
        ... 11 more

VM버전 불일치.
1. 시스템에 JVM이 두 개 이상 깔려있음.
2. WAS 프로세스을 수동실행하는 계정과 크론을 실행하는 계정의 PATH가 다름.
3. 각 계정이 서로 다른 JVM을 실행함 pid 계정확인

 

 

yum install java-1.8.0* 시 설치경로 아래와같음 JAVA_HOME 경로 맞추어주기

/usr/lib/jvm/java-1.8.0

'에러모음' 카테고리의 다른 글

HTTP 응답코드 502  (0) 2023.01.07
Java was started but returened exit code=13  (0) 2022.08.06
502 Bad GateWay 에러 The proxy server received an invalid response from an upstream server.  (0) 2022.07.13
yum 패키지 정리  (0) 2022.07.12
bash: netstat , ps,ll: command not found  (0) 2022.06.21
    '에러모음' 카테고리의 다른 글
    • HTTP 응답코드 502
    • Java was started but returened exit code=13
    • 502 Bad GateWay 에러 The proxy server received an invalid response from an upstream server.
    • yum 패키지 정리
    석그
    석그

    티스토리툴바