Still can't resolve this :confused:

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

Again this package is in the rt.jar Any other ideas?

Peter.


Jeremias Maerki-2 wrote:
> 
> You might need to enable boot delegation (as indicated in my other mail)
> for
> that package if your own bundle has a hard dependency on it. By default,
> OSGi only provides java.*, not anything else.
> 
> On 09.07.2009 01:14:48 Peter Chandler wrote:
>> 
>> 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?
>> 
>> Peter. 
>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/sun.security.provider-tp24401095p24401095.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/sun.security.provider-tp24401095p24419054.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to