openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <>
Subject Re: For adventurous: first run of OSGified OpenEJB *seems* running fine
Date Wed, 28 Oct 2009 17:48:24 GMT
On Wed, Oct 28, 2009 at 5:38 PM, Jean-Louis MONTEIRO
<> wrote:

> First of all, i went to Felix-Karaf 1.0.0 which is a bit for user friendly

I've been wondering what Karaf was having seen it in use in Geronimo
osgification. I'm glad you used it so I'm encourage to do so if it
gets things easier.

> 1. For some strange reasons, installing osgi bundles using Pax mvn url
> handler didn't run fine (not able to find my proxy settings).

Why did you have to use it at all? Was it as a replacement for
installing bundles from maven repos using http?

> 2. I played with information from your mail. It was useful but too heavy.

It will get easier when I (or someone else) prepare appropriate config
file and the necessary bundles get installed automatically. Anyway,
I'm all ears to hear how the process can get simpler.

> 3. To eases installation i started changing some stuff either in OpenEJB or
> in your OSGI module.
> The result is a set of features. But, i'm facing an issue with
> openejb-loader and openejb-core.
> Basically, we have openejb-core depending on openejb-loader.
> And openejb-loader declares a required bundle: openejb-core. I would be nice
> to get rid of this dependency.

+1 if it gets the osgification simpler. Having a bundle required is
just a way to link bundles together and they can get installed by not
started. Starting a bundle resolves imports so it's not a cyclic
dependency because only openejb-core has to be started.

> With features, you just need to do:
> features:addUrl
> mvn:org.apache.openejb/openejb-core-osgi/3.1.2-SNAPSHOT/xml/features
> features:list outputs
> karaf@root> features:list
> State         Version          Name                   Repository
> [uninstalled] [5.0-2         ] javaee-api             repo-0
> [uninstalled] [3.1.2-SNAPSHOT] openejb-loader         repo-0
> [uninstalled] [3.1.2-SNAPSHOT] openejb-api            repo-0
> [uninstalled] [3.1.2-SNAPSHOT] openejb-javaagent      repo-0
> [uninstalled] [3.1.2-SNAPSHOT] openejb-jee            repo-0
> [uninstalled] [3.1.2-SNAPSHOT] ejb31-api-experimental repo-0
> [uninstalled] [3.1.2-SNAPSHOT] openejb-core           repo-0
> [uninstalled] [3.1.2-SNAPSHOT] openejb-core-osgi      repo-0
> [uninstalled] [2.5.6.SEC01   ] spring                 karaf-1.0.0
> [uninstalled] [1.2.0         ] spring-dm              karaf-1.0.0
> [uninstalled] [1.0.0         ] wrapper                karaf-1.0.0
> [uninstalled] [1.0.0         ] obr                    karaf-1.0.0
> [uninstalled] [1.0.0         ] http                   karaf-1.0.0
> [uninstalled] [1.0.0         ] webconsole             karaf-1.0.0
> [installed  ] [1.0.0         ] ssh                    karaf-1.0.0
> [installed  ] [1.0.0         ] management             karaf-1.0.0

I don't understand it yet - it looks karaf-specific which I would
avoid unless it's required. Could you explain what it is for?


Jacek Laskowski
Notatnik Projektanta Java EE -

View raw message