1 Reply Latest reply on Jul 14, 2009 11:39 AM by Dave Stanley

    sun.security.provider

    Peter Chandler Master

      I am getting the follow error:

       

      org.osgi.framework.BundleException: Unresolved constraint in bundle 337: package; (package=sun.security.provider)

       

      My java.security file has:

      security.provider.1=sun.security.provider.Sun

       

      rt.jar has:

      sun.security.provider.Sun

      in it.

       

      So why in I getting Unresolved constraint?

       

      What I tried:

       

      Here is my config.properties:

      org.osgi.framework.bootdelegation=sun.,com.sun.management,sun.security.provider.* 

      org.apache.servicemix.security.providers=sun.security.provider

       

      Error at ServiceMix Start-up.

      Unable to register security provider: java.lang.ClassNotFoundException: sun.security.provider

       

      Peter.

       

      Edited by: pchandler on Jul 9, 2009 10:46 PM