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]