Hi all,

I'm using Karaf 4.0.3, when deploying  org.apache.commons.lang
<http://karaf.922171.n3.nabble.com/file/n4044711/org.jar>   bundle it fails
to start with the following exception:

/Caused by: org.osgi.framework.BundleException: Could not resolve module:
org.apache.commons.lang [246]
  Unresolved requirement: Require-Capability: osgi.ee;
filter:="(&(osgi.ee=JRE)(version=1.1))"

        at
org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
        at
org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
        at
org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
        at
org.apache.karaf.bundle.command.Install.execute(Install.java:96)[24:org.apache.karaf.bundle.core:4.0.3]
        ... 11 more/

It seems to be caused by given bundle containing the following entry in its
MANIFEST.MF:

/Bundle-RequiredExecutionEnvironment: JRE-1.1/

I've tried to add JRE-1.1 in
etc/config.properties#org.osgi.framework.executionenvironment to no avail.

Any help would be appreciated.

Thanks & Regards,
Setya




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Bundle-fails-to-start-in-Karaf-4-0-3-caused-by-Require-Capability-tp4044711.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to