This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Absolutely. dm Server uses Equinox under the covers so this should just work once a DS implementation is available in the server.

To make a DS implementation available, to begin with at least, I'd just place it in the pickup directory. Once dm Server's installed and started the DS implementation (you'll see console output to this effect), you can then copy the bundle(s) of your DB-based application into the pickup directory too.

Comment

I've managed to deploy equinox DS service. For that I put two bundles into the pickup directory:

org.eclipse.equinox.util_1.0.0.v20080414.jar

org.eclipse.equinox.ds_1.0.0.v20080427-0830.jar

BTW, is it possible to replace Eclipse OSGI bundle (lib/org.eclipse.osgi-3.4.2.R34x_v20080826-1230.jar) with a newer version? I tryed just replacing the file - and the system failed to start stating some missing classes in trace - it seemed like it didn't load that new bundle.

After I put one of my bundles into pickup dir - DS actually managed it, and registered a service according to component.xml of that bundle. But it managed none of the others. Maybe there are some missing constraints (although "ss" command in the console states that everything is fine and all bundles are "active"). But I see no output from any of the bundles anywhere (all the bundles use slf4j as logging facade), so I can't figure it out for now. Anyway - can I find slf4j's output somewhere or maybe It requires some configuration?

When running applications from within Eclipse it is possible to configure "tracing" of particular components (including DS one) - that allows seeing some verbose output. I haven't looked yet how it is done, but maybe there's an easy way of doing so with dm Server?