Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341394

Summary: Remove 'Unavailable' JMX attributes of WebAppContext MBean
Product: [RT] Jetty Reporter: Michael Gorovoy <mgorovoy>
Component: serverAssignee: Michael Gorovoy <mgorovoy>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.3.1   
Target Milestone: 7.2.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael Gorovoy CLA 2011-03-30 13:02:43 EDT
The following JMX attributes and operations of WebAppContext MBean are marked as 'Unavailable':

attributes
classLoader
eventListeners
mimeTypes
setContextAttribute
Comment 1 Michael Gorovoy CLA 2011-03-30 13:42:53 EDT
These attributes have methods but these methods do not return objects that can be represented as MBeans: attributes, classLoader, eventListeners, mimeTypes.

The method ContextHandler.setContextAttribute(String, Object) appears to be disabled because there's no way to pass an Object reference to this method from JConsole.
Comment 2 Michael Gorovoy CLA 2011-06-23 13:16:04 EDT
This appears to be normal behavior of JConsole.