简体   繁体   English

Tomcat服务器在Eclipse中自动停止

[英]Tomcat server automatically stopped in Eclipse

I am getting the below error. 我收到以下错误。

 A fatal error has been detected by the Java Runtime Environment:

  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000070286c80, pid=496,  tid=6672

 JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
 Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode windows- amd64 compressed oops)
Problematic frame:
V  [jvm.dll+0x116c80]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

Please give the solution 请给出解决方案

In your logs, you have not the error dump because not enabled. 在日志中,您没有错误转储,因为未启用。
It looks like a bug of your JRE implementation. 它看起来像是您的JRE实现的错误。

You seem to use an OPEN JDK JRE implementation. 您似乎在使用OPEN JDK JRE实现。 If you can, try a more recent version of it or switch to an Oracle JDK/JRE implementation to check if the problem may be corrected. 如果可以,请尝试使用其最新版本或切换到Oracle JDK / JRE实现,以检查是否可以解决问题。 Anyway, if you cannot change the version of your JDK, you can open a bug in the bug tracking site of OPEN JDK . 无论如何,如果您不能更改JDK的版本,则可以在OPEN JDK的错误跟踪站点中打开错误

Failed to write core dump. 无法写入核心转储。 Minidumps are not enabled by default on client versions of Windows 默认情况下,在客户端版本的Windows上不启用小型转储

I have two tracks : 我有两条轨道:

  • check that you use Open JDK with a aligned version with the Open JRE. 检查您是否将Open JDK与Open JRE的对齐版本一起使用。 In theory, it is not necessary but it may be a bug since you use a recent version. 从理论上讲,这不是必需的,但是由于您使用的是最新版本,因此可能是一个错误。
  • No guarantee but you can try to enable it by adding the VM argument 不能保证,但是您可以尝试通过添加VM参数来启用它

-XX:+CreateMinidumpOnCrash in your eclipse.ini file such as : -XX:+CreateMinidumpOnCrash在您的eclipse.ini文件中,例如:

-vmargs
-XX:+CreateMinidumpOnCrash-Xms256m

But don't duplicate the -vmargs in the file. 但是不要在文件中复制-vmargs You could have more details on the fatal error. 您可以了解有关致命错误的更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM