db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3435) Add an MBean for monitoring and managing the Network Server
Date Fri, 07 Mar 2008 19:11:46 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John H. Embretsen updated DERBY-3435:
-------------------------------------

    Attachment: d3435_NetworkServerMBeanTest_v01.diff

Attaching patch d3435_NetworkServerMBeanTest_v01.diff which implements a new test class for
the NetworkServerMBean and adds it to the management test suite:

M      java/testing/org/apache/derbyTesting/functionTests/tests/management/MBeanTest.java
A      java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
M      java/testing/org/apache/derbyTesting/functionTests/tests/management/_Suite.java

All attributes are tested, although testing of the actual attribute values could be improved
(see code comments). Attribute names and return types are always tested.

I ran into some issues when testing the ping() operation, so I ended up including it as a
test case, but the operation will only be invoked when running with classes (not when running
with jars). This is due to security manager issues, and is explained in code comments. I hope
this can be fixed at some later point in time.

Please review - it would be great to get this in before a new branch is cut.

> Add an MBean for monitoring and managing the Network Server
> -----------------------------------------------------------
>
>                 Key: DERBY-3435
>                 URL: https://issues.apache.org/jira/browse/DERBY-3435
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JMX
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>             Fix For: 10.4.0.0
>
>         Attachments: d3435_NetworkServerMBeanTest_v01.diff, d3435_v01.diff, d3435_v01.stat,
derby-3435-live-data-fix-v0.zip, derby-3435-live-data-fix2-v0.diff, derby-3435-live-data-v0.diff,
derby-3435-live-data-v0.stat, derby-3435-live-data-v1.zip, derby-3435-live-data-v2.zip
>
>
> Most functionality of and information about a running instance of the Network Server
is currently only available from the host running the Network Server, using the NetworkServerControl
API.
> With a JMX Management and Monitoring service in place utilizing JMX (DERBY-1387), it
is possible to expose some of the Network Server functionality and information through an
MBean that is specific to the Network Server, to both local and remote users (JMX clients),
subject to security restrictions. Access to Derby libraries on the client side is not even
a requirement, potentially making a server administrator's job a lot easier.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message