JVM crash when enabling snmp in EAP 6.2.4

Solution Verified - Updated -

Issue

  • JBoss server is crashing when enabling SNMP . The fatal error log shows the following :
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (exceptions.cpp:424), pid=1068, tid=140046108100352
#  fatal error: ExceptionMark destructor expects no pending exceptions
#
# JRE version: Java(TM) SE Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
....
....

---------------  T H R E A D  ---------------

Current thread (0x00007f5f0000b800):  JavaThread "main" [_thread_in_vm, id=1073, stack(0x00007f5f06768000,0x00007f5f06869000)]

Stack: [0x00007f5f06768000,0x00007f5f06869000],  sp=0x00007f5f06863d10,  free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x9a18da]  VMError::report_and_die()+0x2ea
V  [libjvm.so+0x497969]  report_fatal(char const*, int, char const*)+0x59
V  [libjvm.so+0x50f600]  ExceptionMark::~ExceptionMark()+0xb0
V  [libjvm.so+0x40dca8]  ClassLoader::create_class_path_entry(char*, stat, ClassPathEntry**, bool)+0x258
V  [libjvm.so+0x40eb7f]  LazyClassPathEntry::open_stream(char const*)+0xff
V  [libjvm.so+0x40c971]  ClassLoader::load_classfile(Symbol*, Thread*)+0x261
V  [libjvm.so+0x923b47]  SystemDictionary::load_instance_class(Symbol*, Handle, Thread*)+0x3a7
V  [libjvm.so+0x924361]  SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, Thread*)+0x791
V  [libjvm.so+0x9247c4]  SystemDictionary::resolve_or_null(Symbol*, Handle, Handle, Thread*)+0x54
V  [libjvm.so+0x68839b]  JVM_FindClassFromBootLoader+0x14b
C  [libjava.so+0xdc7c]  Java_java_lang_ClassLoader_findBootstrapClass+0x9c
....
....
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.ClassLoader.findBootstrapClass(Ljava/lang/String;)Ljava/lang/Class;+0
j  java.lang.ClassLoader.findBootstrapClassOrNull(Ljava/lang/String;)Ljava/lang/Class;+12
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+48
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+38
j  sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j  java.util.logging.LogManager$1.run()Ljava/lang/Object;+16
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j  java.util.logging.LogManager.<clinit>()V+13
v  ~StubRoutines::call_stub
j  java.util.logging.Logger.demandLogger(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/util/logging/Logger;+0
j  java.util.logging.Logger.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;+5
j  sun.management.snmp.util.MibLogger.<init>(Ljava/lang/String;Ljava/lang/String;)V+7
j  sun.management.snmp.util.MibLogger.<init>(Ljava/lang/Class;)V+9
j  sun.management.snmp.AdaptorBootstrap.<clinit>()V+7
v  ~StubRoutines::call_stub
j  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class;+0
j  java.lang.Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+43
j  sun.management.Agent.loadSnmpAgent(Ljava/lang/String;Ljava/util/Properties;)V+4
j  sun.management.Agent.startAgent(Ljava/util/Properties;)V+49
j  sun.management.Agent.startAgent()V+19
v  ~StubRoutines::call_stub
...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content