tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Date Mon, 03 May 2010 06:27:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234

--- Comment #3 from chamith buddhika <chamibuddhika@gmail.com> 2010-05-03 02:26:58 EDT
---
Created an attachment (id=25390)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25390)
catalina.connector-descriptor

Package: org.apache.catalina.connector

This patch adds some attributes missing in mbeans descriptor for
CoyoteConnector mbean which are present in the underlying Connector object.

Issues related to the this package

So far I have identified following issue with regards to the mbean usage in
this package.

Currently mbean method invocation delegation happens as follows.

ConnectorMBean --> Connector 

Now if the connector object is not having the asked property it delegates to
the corresponding ProtocolHandler implementation in order to find whether the
property is present in that class. (via get/setProperty methods in Connector). 
Currently there are two ProtocolHandler implementations as I noticed
(Http11Protocol & AjpProtocol). Both these implementations are having different
sets of properties. Currently CoyoteConnector mbean tries to describe both
scenarios with same set of attributes. So some attributes in the descriptor
doesn't make sense in one implementation or the other.

The solution for this issue, as far as I understood is to use separate mbeans
for these two implementations. Any suggestions in this regards are highly
appreciated.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message