Ticket #711 (closed Task: worksforme)
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 |
Description
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:3 Changed 10 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
<feature>http</feature> <feature>eventadmin</feature>
- 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)?
Cheers,
Jörg
comment:4 Changed 10 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:
https://github.com/digitalmemex/distribution
This supersedes the dm4-assemblies module in
https://github.com/jri/deepamehta
The dm4-assemblies module will be removed soon.
comment:5 Changed 10 years ago by jri
In e266dbd9e4371f05ce73ab45e9323924ee12267e:
Drop dm4-assemblies module (#711).
Meanwhile a DM Karaf based distro is maintained here:
https://github.com/digitalmemex/distribution
See #711.