Romain,
Thank you for replying.
Building from the source didn't work, as
http://svn.apache.org/repos/asf/tomee/karafee/trunk is looking for
4.5.2-SNAPSHOT, while the one provided by
http://svn.apache.org/repos/asf/tomee/tomee/trunk/pom.xml

may be I can dig in svn and find the correct versions to match, but I
decided to go with tweaking the jre imports like you said. I prefer this
option any way.

I tried to copy the configurations from
karafee/apache-karafee/src/main/filtered-resources/etc  to MyKARAF/etc

but no luck (even features command is gone).

How can I tweak these configuration to get a plain karaf to install openejb
and be able to deploy bundles and inject the contained EJBs as OSGI
services ??
I am using Karak 2.3.1

Thank you.





On Sat, Jun 15, 2013 at 3:06 AM, Romain Manni-Bucau
<rmannibu...@gmail.com>wrote:

> Hi
>
> KarafEE is just a Karaf + OpenEJB feature + optional rebranding + some
> config.
>
> Last trunk is here
> http://svn.apache.org/repos/asf/tomee/karafee/trunk/(should work with
> openejb 4.5.2).
>
> If you look karafee resources you see jre imports needs to be tweaked. That
> what you didnt do i think.
>  Le 15 juin 2013 00:03, "Mansour Al Akeel" <mansour.alak...@gmail.com> a
> écrit :
>
> > I downloaded karaf 2.3.1.
> > I added openejb features from
> >
> >
> http://repo1.maven.org/maven2//org/apache/openejb/openejb-feature/4.5.0/openejb-feature-4.5.0-features.xml
> >
> >
> > Then tried :
> >  features:install -v openejb-core
> >
> > and
> >
> > features:install -v openejb-server
> >
> > In both cases I am getting the following error:
> >
> > ...
> > Installing bundle mvn:org.apache.openejb/openejb-javaagent/4.5.0
> > Installing bundle mvn:org.apache.openejb/openejb-jee/4.5.0
> > Installing bundle mvn:org.apache.openejb/openejb-loader/4.5.0
> > Installing bundle mvn:org.apache.openejb/openejb-core-osgi/4.5.0
> > Installing bundle mvn:org.apache.openejb/openejb-karaf-commands/4.5.0
> > Error executing command: Could not start bundle
> > mvn:org.apache.geronimo.specs/geronimo-jaxb_2.2_spec/1.0.1 in feature(s)
> > javaee-api-6.0-5, javaee-api-6.0-4: Unresolved constraint in bundle
> > org.apache.geronimo.specs.geronimo-jaxb_2.2_spec [307]: Unable to resolve
> > 307.0: missing requirement [307.0] osgi.wiring.package;
> > (&(osgi.wiring.package=javax.xml.namespace)(version>=1.0.0))
> > karaf@root>
> >
> >
> > I am looking to be able to deploy bundles containing ejbs and expose them
> > as OSGI services.
> >
> >
> > Is there a way to install OpenEJB on karaf without using a prepackaged
> > karaf or openejb  ?
> >
> > Thank you.
> >
>

Reply via email to