Mantis - Resin
Viewing Issue Advanced Details
6106 minor always 10-20-17 09:21 10-23-17 15:30
wileysaw  
ferg  
normal  
closed 4.0.54  
fixed  
none    
none 4.0.55  
0006106: CompositeData MBean exception generated by Java 8 garbage collector filling up log
java.lang.ClassCastException: java.lang.management.MemoryUsage incompatible with javax.management.openmbean.CompositeData
                           at com.caucho.util.MemoryPoolAdapter.getTenuredMemUsage(MemoryPoolAdapter.java:394)
                           at com.caucho.env.health.MemoryTenuredHealthCheckImpl.getMemoryUsage(MemoryTenuredHealthCheckImpl.java:53)
                           at com.caucho.env.health.AbstractMemoryHealthCheckImpl.checkFreeMemory(AbstractMemoryHealthCheckImpl.java:75)
                           at com.caucho.env.health.AbstractMemoryHealthCheckImpl.checkHealth(AbstractMemoryHealthCheckImpl.java:57)
                           at com.caucho.env.health.HealthService.checkHealth(HealthService.java:526)
                           at com.caucho.env.health.HealthService$HealthCheckScheduler.handleAlarmImpl(HealthService.java:884)
                           at com.caucho.env.health.HealthService$HealthCheckScheduler.handleAlarm(HealthService.java:849)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       
                        {resin-52} javax.management.ReflectionException
                           at com.caucho.jmx.IntrospectionMBean.getAttribute(IntrospectionMBean.java:134)
                           at com.caucho.jmx.MBeanWrapper.getAttribute(MBeanWrapper.java:146)
                           at com.caucho.jmx.AbstractMBeanServer.getAttribute(AbstractMBeanServer.java:602)
                           at com.caucho.env.meter.JmxAttributeMeter.sample(JmxAttributeMeter.java:79)
                           at com.caucho.server.admin.StatSystem$Sample.sample(StatSystem.java:246)
                           at com.caucho.server.admin.ProStatSystem.sampleData(ProStatSystem.java:559)
                           at com.caucho.server.admin.ProStatSystem.sample(ProStatSystem.java:535)
                           at com.caucho.server.admin.ProStatSystem.handleAlarm(ProStatSystem.java:640)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       Caused by: java.lang.ClassCastException: java.lang.management.MemoryUsage incompatible with javax.management.openmbean.CompositeData
                           at com.caucho.util.MemoryPoolAdapter.getTenuredFree(MemoryPoolAdapter.java:383)
                           at com.caucho.server.resin.MemoryAdmin.getTenuredFree(MemoryAdmin.java:244)
                           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
                           at java.lang.reflect.Method.invoke(Method.java:508)
                           at com.caucho.jmx.OpenModelMethod.invoke(OpenModelMethod.java:54)
                           at com.caucho.jmx.IntrospectionMBean.getAttribute(IntrospectionMBean.java:125)
                           ... 11 more

There are no notes attached to this issue.