Engineering
Releases
News and Events

dm Server 2.0 M4

dm Server 2.0.0.M4 has been released, and is now available for download.

We’ve made a lot of progress since 2.0.0.M3, adding a number of new features upon which the users tracking the nightly builds have already given us some excellent feedback. Take a look at the M4 release notes if you’re interested in seeing everything that we’ve been working on. Please keep your feedback coming as comments on our blog, in the forums, and on JIRA.

New and noteworthy

dm Server now embeds Medic: our OSGi serviceability project

As part of the work on M4, we’ve moved dm Server’s serviceability support out into a separate ASL-licensed project called Medic. As part of this move, we’ve also taken the opportunity to make some significant improvements:


  • The logging support is now based on LogBack which means that users now have complete control over the format of log output and have the complete range of LogBack’s appenders available to them.
  • Support for serviceability dumps is now fully extensible. User code running in dm Server can now contribute to serviceability dumps simply by publishing a DumpContributor implementation to the service registry.
  • Event log support (the coded messages that are output to the console) is also available to user code. Event log entries can be generated using an EventLogger which can be obtained from the service registry.

We’ll be blogging more about Medic, covering how to use it both in dm Server and in plain OSGi, in the coming weeks.

Support for deploying properties files

Properties files can now be deployed to dm Server, either through the admin console, or by dropping them into the pickup directory. When a properties file is deployed, a ConfigurationAdmin Configuration is created with a pid derived from the name of the properties file. For example deploying a properties file named com.foo.bar.properties will create a Configuration with the pid com.foo.bar.

Admin console enhancements

We’ve some significant improvements to the admin console in M4. Chris already covered some of these in his recent blog.

In addition to the enhancements that Chris mentioned the admin console now include support for viewing ConfigurationAdmin Configurations:

configadmin

Support for navigating OSGi state, both in the live system and the state captured in a serviceability dump, including details of imports and exports and how packages are wired together:

package-wiring

For bundles that contain a Spring application context, the admin console now also contains initial support for viewing the context’s beans:

spring-context

comments powered by Disqus