On 5/27/10 13:25, Ivanhoe Abrahams wrote:
Hi
Try adding it to org.osgi.framework.system.packages too. I am not sure if
that will help, but give it a try
Since the bundle appears to be importing the package, then it must be
added to system.packages since the import needs to be resolved. If you
do that, then it is not necessary to put in on boot delegation too.
-> richard
Ivanhoe
On Thu, May 27, 2010 at 6:45 PM, André Dietisheim<
[email protected]> wrote:
Hi!
I try to run Spring ldap in felix. Unfortunately spring ldap complains
about an unresolved dependency:
<snip>
ERROR: Error starting
inputstream:org.springframework.ldap-1.3.0.RELEASE.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.springframework.ldap [100]: package;
(&(package=com.sun.jndi.ldap)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.springframework.ldap [100]: package;
(&(package=com.sun.jndi.ldap)(version>=0.0.0))
</snip>
I found several references to issues of this kind (in spring but in felix
karaf, too) and I was told to add com.sum.* to the boot-delegation so that
all bundles have these packages ready. I therefore added the following
programmatically to my launcher-class:
<snip>
configProps.put("org.osgi.framework.bootdelegation", "sun.*,com.sun.*");
</snip>
I could do the same to the configuration properties like this:
<snip>
org.osgi.framework.bootdelegation=sun.*,com.sun.*
</snip>
Unfortunately either way does not help. I'd appreciate any hint a lot!!
Thanks in advance
André
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]