java - 运行异常:A fatal exception has occurred. Program will exit
天蓬老师
天蓬老师 2017-04-18 10:32:54
0
1
9623

问题:
此次异常主要是线上问题,没有直接操作服务器的权限。已知:集群其中一台正常可用,一台运行执行部分接口
报错,异常为:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
整理猜测是服务器配置出现问题或者权限问题,服务器使用tomcat8,jdk1.8

尝试:
由于异常就此2行,排查无从下手,查询资料:
http://surenpi.com/2016/12/27...
http://hibeary.iteye.com/blog...
http://blog.itpub.net/2891601...
http://blog.sina.com.cn/s/blo...
http://blog.csdn.net/longeran...
由于在服务器上出现问题,排除了很多eclipse等工具相关的。跟jvm相关-Xmx512M等,我在window系统上修改模拟不出异常。看到些老文章说卸载重装jdk,这个我觉得jdk没法不之前正常可用,问题不在于此。

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
阿神

Provide an idea:
1. There is no problem locally, but there is this problem when deployed to the server. First make sure the server environment is consistent with the local one.
2. If the environment is determined to be consistent, it is most likely due to permissions. The user who starts does not have the permission to execute jvm.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template