【ActiveMQ】The JVM process terminated …… exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)-CSDN博客

109 阅读1分钟

问题描述

在尝试使用"bin\win64\activemq.bat"启动apache-activemq-5.18.2时,出现了以下错误:

wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
wrapper  |   There may be a configuration problem: please check the logs.
wrapper  | <-- Wrapper Stopped
请按任意键继续. . .

原因分析

出现这个错误的可能原因是Java版本冲突或者不兼容的问题。


解决方案

解决方法是重新安装jdk-17.0.8,重新启动后,问题得以解决。