Hi Try adding it to org.osgi.framework.system.packages too. I am not sure if that will help, but give it a try
Ivanhoe On Thu, May 27, 2010 at 6:45 PM, André Dietisheim < andre.dietish...@trialox.org> 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: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > >