Skip to content

Instantly share code, notes, and snippets.

@hgomez
Created July 22, 2014 15:56
Show Gist options
  • Select an option

  • Save hgomez/f4ebbfd7afec0b5409e2 to your computer and use it in GitHub Desktop.

Select an option

Save hgomez/f4ebbfd7afec0b5409e2 to your computer and use it in GitHub Desktop.
Flight Recorder error
java.lang.RuntimeException: Could not register the Mission Control MBean in the MBeanServer.
at com.jrockit.mc.flightrecorder.controlpanel.ui.FlightRecorderProvider.refresh(FlightRecorderProvider.java:109)
at com.jrockit.mc.browser.views.JVMBrowserView$1.run(JVMBrowserView.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.UnsupportedOperationException: Could not register the Mission Control MBean in the MBeanServer.
at com.jrockit.mc.rjmx.services.internal.ServiceFactoryManager$UnsupportedInvocationHandler.invoke(ServiceFactoryManager.java:60)
at com.sun.proxy.$Proxy36.getAvailableRecordings(Unknown Source)
at com.jrockit.mc.flightrecorder.controlpanel.ui.FlightRecorderProvider.refreshRecordings(FlightRecorderProvider.java:124)
at com.jrockit.mc.flightrecorder.controlpanel.ui.FlightRecorderProvider.refresh(FlightRecorderProvider.java:98)
... 8 more
Caused by: com.jrockit.mc.rjmx.services.CouldNotCreateServiceException: Could not register the Mission Control MBean in the MBeanServer.
at com.jrockit.mc.rjmx.services.flr.internal.FlightRecorderServiceFactory.verifyFlightRecorderAvailability(FlightRecorderServiceFactory.java:41)
at com.jrockit.mc.rjmx.services.flr.internal.FlightRecorderServiceFactory.getServiceInstance(FlightRecorderServiceFactory.java:30)
at com.jrockit.mc.rjmx.services.flr.internal.FlightRecorderServiceFactory.getServiceInstance(FlightRecorderServiceFactory.java:1)
at com.jrockit.mc.rjmx.services.internal.ServiceFactoryManager.createService(ServiceFactoryManager.java:101)
at com.jrockit.mc.rjmx.internal.DefaultConnectionHandle.getService(DefaultConnectionHandle.java:394)
at com.jrockit.mc.rjmx.internal.DefaultConnectionHandle.getServiceOrDummy(DefaultConnectionHandle.java:374)
at com.jrockit.mc.flightrecorder.controlpanel.ui.FlightRecorderProvider.refreshRecordings(FlightRecorderProvider.java:123)
... 9 more
jmxremote.access is :
monitorRole readonly
controlRole readwrite \
create com.sun.management.*,com.oracle.jrockit.* \
unregister
reader readonly
admin readwrite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment