Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329487 - trigger bundle refresh via JMX
Summary: trigger bundle refresh via JMX
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: unknown (show other bugs)
Version: 2.1.0.RELEASE   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.5.0.RELEASE   Edit
Assignee: Chris Frost CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 327538
Blocks:
  Show dependency tree
 
Reported: 2010-11-04 16:16 EDT by Kostas Kougios CLA
Modified: 2012-06-22 11:56 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kostas Kougios CLA 2010-11-04 16:16:09 EDT
Build Identifier: 2.1.0

The pickup directory is a convenient way to deploy bundles during development but you can't specify the orders in which the bundles should be loaded. This results in exceptions thrown if virgo loads bundles in the wrong order from that directory.

Also it is a bit slow because it is periodically scanned: frequent scans means using resources, less frequent scans means the developer will have to wait longer for the bundle to be refreshed.

A way to ease bundle development should be provided:

1. allow plans to point to bundles anywhere in a filesystem : https://bugs.eclipse.org/bugs/show_bug.cgi?id=327538

2. virgo should have a method callable via JMX which will take 1 parameter: the full path to the bundle to be refreshed.

#1 will allow virgo to load bundles in the correct order during startup
#2 will allow tools to trigger a bundle refresh whenever required and in the desired order.



Reproducible: Didn't try
Comment 1 Kostas Kougios CLA 2010-11-04 16:17:19 EDT
please also look at this forum post:

http://www.eclipse.org/forums/index.php?t=msg&th=199016&start=0&S=28419a9e33d4e6b9f696fec4edd4dd76
Comment 2 Glyn Normington CLA 2010-11-05 11:32:10 EDT
Thanks for raising this Kostas.
Comment 3 Chris Frost CLA 2012-06-22 11:56:09 EDT
Virgo now includes Gemini Management which allows this to be done. Will be available in the next release due out in about a month.