Skip to main content
Jump to: navigation, search


< Virgo
Revision as of 09:15, 4 August 2010 by (Talk | contribs) (2.5 or 3.0 Release)

This page summarises the Virgo plan and notes design ideas for future Virgo features.

Virgo Plan

The following plan is subject to change and depends on how much resource is available as the project evolves.

2.1.0 Release

Theme: migration from SpringSource dm Server 2.0.x.

Schedule: October 2010


  • Contribute to Eclipse and address IP issues
  • Startup performance improvement
  • Upgrade Logback to 0.9.24 (bug 312209)
  • Upgrade Tomcat to 6.0.28 (bug 319395)
  • Upgrade Spring to 3.0.4 (bug 314282)
  • Critical bug fixes

2.5 or 3.0 Release

Theme: Eclipse RT integration

Schedule: June 2011


  • Jetty support (bug 321726)
  • Use Equinox config admin instead of that of Felix (bug 310217)
  • Use Equinox log service instead of that of Felix (bug 310218)
  • Use Equinox event admin instead of that of Felix (bug 310219)
  • Critical bug fixes

Future Releases

The following features are not currently in plan:

  • Integration server
  • Batch server
  • p2 repository in the repository chain (bug 309778)
  • Equinox 3.6 upgrade
  • Rebase region support on OSGi RFC138
  • Upgrade from Spring DM to Gemini Blueprint (bug 317943)
  • Admin console administration of remote Virgo instances
  • Multiple user regions
  • Tomcat 7/servlet 3.0

Future Features

Jetty Support

Note that Jetty support may be provided mostly in Virgo's sister project Gemini Web. The Tomcat-based Virgo Web Server integrates Gemini Web and a Jetty-based variant may do the same.

Ideally this will allow arbitrary versions of Jetty (and preferably also Tomcat) to be swapped in. This seems feasible for Jetty but perhaps not for Tomcat. For Jetty, we need to make sure we use stable APIs which will be continue to work as Jetty evolves.

Bootstrapping Jetty

Jetty already supports bootstrapping inside OSGi. The Jetty bootstrapping bundle 'org.eclipse.jetty.osgi.boot' can easily be included in the list of initial artifacts automatically deployed into the user region during Virgo startup.

Deploying Web Bundles

Jetty already supports deployment of OSGi web applications.

After Jetty is bootstrapped in the OSGi framework, web bundles may be deployed directly to Jetty using the whiteboard pattern.

A ContextHandler service must be registered with appropriate service properties. Presumably the bundle registering the service is the web bundle itself, although this is not clear from the Jetty documentation above which refers to the registering bundle as a 'contributor'. It is not clear whether the contributor is a bundle which is contributing some other web bundle or whether the contributor is the web bundle itself (in which case why should it be called 'contributor'?).

Assuming that the contributor is the web bundle itself, Virgo will need to create a ContextHandler service each time a web bundle starts.

If deployment of the web application fails, the failure must be reported back on the thread which initiated deployment. A problem with the whiteboard pattern is that errors are not easily detected. Perhaps Jetty provides some way to listen for successful or failed deployment of a particular web bundle?

Deploying WAR Files

Jetty supports deploying WAR files by installing the WAR file as a bundle using the "war:" URL scheme. However, Virgo supports deploying WAR files via all its standard deployment mechanisms which ultimately drive the deployer API. We could either drive installation using the "war:" scheme or, for consistency with Virgo's existing support for WARs including the way errors are detected and handled, we could continue to transform WARs into web bundles using the transformation support in Gemini Web.

Class Loading

Need to ensure correct class loading and resource lookup in the single bundle case as well as the case of a web bundle inside a scoped plan.

Need to support class loader customisation, throw-away class loaders, etc. as in the current Virgo web support.


Need to ensure Jetty's logs feed in to the appropriate Virgo Medic logs.

Also need to support per-application logging.

Back to the top