Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341394 - Remove 'Unavailable' JMX attributes of WebAppContext MBean
Summary: Remove 'Unavailable' JMX attributes of WebAppContext MBean
Status: RESOLVED WORKSFORME
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.3.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 13:02 EDT by Michael Gorovoy CLA
Modified: 2011-06-23 13:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.