| Summary: | [plug-in registry] Investigate possibility of reuse JMX spec in remote monitoring | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Jacek Pospychala <jacek.pospychala> | ||||||||
| Component: | Incubators | Assignee: | Wojciech Galanciak <wojciech.galanciak> | ||||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | caniszczyk, ws | ||||||||
| Version: | 3.5 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | stalebug | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 243439 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Jacek Pospychala
Assigning to Wojtek, our GSOC student working on pde monitoring efforts. Wojtek please post here your findings, pros/cons, and sample code that you worked on recently. Created attachment 136698 [details]
jmx test
I added jmx implementation. It is very simple agent which provides inforamtion about all bundles, services and extension points. You can use e.g. jconsole to check how it works. I wrote it to get familiar with jmx. and the first trouble with JMX is that it requires J2SE 5.0 Equinox monitoring server provides almost all required information to correct work of plugin registry: bundles – all information except exported packages and runtime libraries extension points – all required information services – there is information about plugins which registered it but has problem with multiple registers (when service is registered by more than one plugin we can get information only about one of them) It also delivers main operation on plugins: start stop uninstall There are no operations allow to install plugin from target location. I think that the best solution is to use server implementation of Equinox Monitoring. I don't see any sense in writing new server side. In the case of client side there is also some code that can be reused (mainly connection establishing and invoking remote operations). In existing client implementation there are some problems with connection (sometimes without any reason I lose connection with the server). I may be OK with this, this just ties us to Java 5, correct? Yes, it only requires java 1.5. Created attachment 141643 [details]
jmx plugin
This is first version of the jmx plugin. It also just like ecf plugin delivers new backend (JmxRegistryBackend) which is also jmx client. Plugin creates jmx server and register JmxRegistryHost MBean. If you want to check how it works you'll need org.eclipse.pde.runtime plugin from incubator with patch from this bug.
Created attachment 141644 [details]
patch for org.eclipse.pde.runtime
This is patch for org.eclipse.pde.runtime from incubator.
You can notice the plugin doesn't require java 1.5 because all jmx stuff is in separated plugin. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. This bug was marked as stalebug a while ago. Marking as worksforme. If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag. This bug has been marked as stalebug a while ago without any further interaction. If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag. |