Multiple Instances [2] JMX MBeanServer Exist

Can I find out what are the common reasons for the next message shown in glass shawl 3?

WARNING: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [ com.sun.enterprise.v3.admin.DynamicInterceptor@43c0ae76 ]. WARNING: JMX MBeanServer in use: [ com.sun.enterprise.v3.admin.DynamicInterceptor@43c0ae76 ] from index [0] WARNING: JMX MBeanServer in use: [ com.sun.jmx.mbeanserver.JmxMBeanServer@bbe5d86 ] from index [1] 

I just started 3 projects in netbean 7.2 below

  • common is currently only one singleton class for reading property files using @startup, @PostConstruct and @PreDestroy. this is similar to the DynamicInterceptor in the warning above.
  • web (including projects 1 and 3) - a simple page with an ice cover included in netbean.
  • facade and bean object (include project 1) - several objects + 1 generated facade from netbean seem to use mbeanserver "JmxMBeanServer" in the warning above.

I checked from google, most of them just ignore the warning above, any potential problem for the warning, or why is the above message shown? Thanks.

+4
source share
1 answer

This is a known Glassfish bug ( https://java.net/jira/browse/GLASSFISH-17010 ). The question was presented almost two years ago, and it is still in the "Open" status, so I do not hold my breath, waiting for it to be fixed soon.

On the other hand, this does not affect functionality, and, as you said, you can safely ignore it.

0
source

Source: https://habr.com/ru/post/1432178/


All Articles