Ticket #711 (closed Task: worksforme)

Opened 9 years ago

Last modified 9 years ago

Build DM 4.4 Karaf Distro

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.4.1
Component: DeepaMehta Karaf Distribution Version: 4.4
Keywords: Cc: dgf, Malte
Complexity: 3 Area:
Module: deepamehta-assemblies


There is no Karaf Distro for DM 4.4. This has to do with the Pax Web replacement. Meanwhile Constantin provided the changes necessary for the config files. A Karaf Distro will be available for DM 4.4.1 which is about to be released very soon. (There will be no Karaf Distro for DM 4.4)

Change History

comment:1 Changed 9 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 9 years ago by jri

  • Milestone set to Release 4.4.1

comment:3 Changed 9 years ago by jri

Hi dgf!
I would appreciate very much if you could help building the DM Karaf distro.
Since DM 4.4 we have no Karaf distro anymore because of crucial dependency changes: DM 4.4 relies on Jetty 8, Servlet API 3.0, OSGi 5, Felix 4.4 and, in particular, Felix HTTP Jetty is replaced by Pax Web.

Currently the DM Karaf distro built as usual (mvn clean install -P dist) is not functional anymore as the javax.servlet package (version>=3.0.0) is missing.

Meanwhile Constantin made 2 changes in DM's feature.xml regarding the dm4-standard feature:

  • Added 2 features
  • Removed the org.apache.felix.http.jetty bundle

For him this works. However Constantin does not use the DM Karaf distro but runs an independent Karaf (3.0.2) installation and installs the dm4-standard feature manually.

However the DM Karaf distro is currently not functional (see above). At the first sight it might be because it installs a Jetty 7 which supports only Servlet API 2.5 and we need 3.0. (The DM 4.4 standard distro on the other hand deploys Pax Web 3.1.2 which bundles a Jetty 8.)

So, I would appreciate very much if you could adapt the dm4-assemblies module so it will build a functional DM 4.4.1 Karaf distro again. (For DM 4.4 there will be no Karaf distro.)

  • Are we forced to update to Karaf 2.4 (due to OSGi 5)? Currently we use Karaf 2.2.9 (OSGi 4.2).
  • What Jetty version is installed by the Karaf's http feature? We need a Jetty 8.
  • Is it possible to stay at JDK 6 (which I would prefer)?


comment:4 Changed 9 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to worksforme

As decided with dgf a DM Karaf based distro will be maintained here:

This supersedes the dm4-assemblies module in

The dm4-assemblies module will be removed soon.

comment:5 Changed 9 years ago by jri

In e266dbd9e4371f05ce73ab45e9323924ee12267e:

Drop dm4-assemblies module (#711).

Meanwhile a DM Karaf based distro is maintained here:

See #711.

comment:6 Changed 9 years ago by Jörg Richter <jri@…>

In 3fab3076e21de08c55ea5cf48c3f91de2cb0d68d/deepamehta:

Add dm4-features module for Karaf users (#711).

Maven coordinates:

groupId: de.deepamehta
artifactId: deepamehta-features
version: 4.5


dm4-platform # The sole DM platform, including Webclient, but without standard applications
dm4-standard-distribution # The DM platform including the standard apps: Notes, Contacts, Webbrowser, Geomaps

Deployed at Maven Central.

See #711.

comment:7 Changed 9 years ago by jri

Thank you, dgf, for the dm4-features module!

comment:8 Changed 9 years ago by Jörg Richter <jri@…>

In 66ba67478675939405b07dc4beeabc54bb20d33d/deepamehta:

dm4-features: bump version number (#711).

... to 4.6-SNAPSHOT

See #711.

Note: See TracTickets for help on using tickets.