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:
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:
For bundles that contain a Spring application context, the admin console now also contains initial support for viewing the context's beans:
Similar Posts
- SpringSource dm Server Admin Console
- The dm Shell
- dm Server 2.0 M3
- dm Server 2.0.0.M5
- dm Server 2.0.0 released







Mahesh says:
Added on August 7th, 2009 at 12:30 amI just started configuring DM Server 2.0.0.M4, and deployed the Petclinic Sample Slices Host and Slice appointmnets. The server was not able identify the appointmnet slice (I did configuration of Slices in bundles/subsystems, conf/kernel.properties), but is is working fine with 2.0.0.M3
Andy Wilkinson (blog author) says:
Added on August 7th, 2009 at 3:02 am@Mahesh, 2.0.0.M4 introduced some changes to the deployer which necessitated some changes to the Slices codebase. Are you using a recent build of Slices? If not, you can now download Slices ready-built.
Mahesh says:
Added on August 7th, 2009 at 4:38 am@Andy, Yes I used recent build of slices, now I am using latest slices from the link that you have provided, its working fine, when we can expect the integrated DM Server with slices.
Mahesh says:
Added on August 7th, 2009 at 4:54 amsorry, I have not checked the functionality, the server is giving
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sliceFactoryMonitor' defined in URL [bundleentry://101.fwk2614099/META-INF/spring/module-context.xml]: Invocation of init method failed; nested exception is java.lang.ClassCastException: com.springsource.osgi.slices.core.internal.webapp.WebAppSliceFactory cannot be cast to com.springsource.osgi.slices.core.internal.deployer.SliceFactory
for this I used the latest slices night build, can you please help me in this
Andy Wilkinson (blog author) says:
Added on August 7th, 2009 at 4:59 am@Mahesh, Thanks for trying the latest build of Slices.
I see you also raised a JIRA for this (https://issuetracker.springsource.com/browse/DMS-1281) to which I've added your latest comment. Let's continue this discussion on the JIRA.
lsw says:
Added on August 20th, 2009 at 1:02 ami want to download the sourcecode of dm-server-2.0.0M4
but i don't konw the svn address
can you tell me?
tks!
Andy Wilkinson (blog author) says:
Added on August 20th, 2009 at 2:41 amThe code is now stored in Git. Details of the repositories are available here: http://blog.springsource.com/2009/07/15/git-migration/
Forex says:
Added on September 16th, 2009 at 5:01 amGreat news! dm Server 2.0 M4 looks very nice..Going to try it out.
Lachelle Pherigo says:
Added on June 16th, 2011 at 2:41 amHallöle schöner Aufsatz.Meine Wenigkeit hatte das gleiche Problem weil ich bis vor kurzem noch mehr als nötig für mein Viskosgas bezahlt habe.Doch dann stieß meine Wenigkeit auf eine ausgesprochen kompetente Firma mit dem Namen Knittel. Da gibt es allerdings nicht nur Flüssiggas sondern auch preiswerte Pellets aus Holz in praktischen Tüten. Da meine Wenigkeit in Zeiten von der Wende in der Atompolitik ebenso über einen Wandel meines Stromanbieters nachdenke, kommt mir das aktuellste Angebot von Knittel besonders entgegen da sie seit neuestem sauberen Strom im Angebot aufweisen. Für den Herbst bin ich auch reichlich gewappnet da ich nicht mit jedem verbrauchten Liter Bammel um mein Vermögen haben muss. Denn die Heizöle von Knittel sind nicht nur besonders günstig sondern auch von außerordentlicher Qualität!Ich hoffe ihr könnt der nächsten Kälte Woge ebenso cool entgegeblicken wie meine Wenigkeit dank der Homepage http://www.knittel.de