Hi Freeman,

if i put com.sun.net.ssl.internal.ssl to jre.properties work for me.
But I' don't understand what you suggest ?
Do you suggest to put it in config.properties ?

If yes how could you send me, please a simple example ?

Yes I use servicemix 4.3

--Filippo


2011/8/9 Freeman Fang <[email protected]>:
> Hi,
>
> Does add com.sun.net.ssl.internal.ssl to jre.properties work for you?
> We already have com.sun.* for org.osgi.framework.bootdelegation  in
> etc/config.properties so I think we needn't add it in jre.properties to let
> system bundle 0 to export this package.
>
> Btw, you're using apache servicemix 4.3, right?
> Freeman
> On 2011-8-9, at 下午9:19, Filippo Balicchia wrote:
>
>> I have add com.sun.net.ssl.internal.ssl
>> to jre.propertis.
>> Do you see any contraindications ?
>>
>> Thanks
>>
>> --Filippo
>>
>> 2011/8/9 Filippo Balicchia <[email protected]>:
>>>
>>> Hello,
>>> You i right the bundle was not  a OSGi friendly bundle.
>>> I have add the import package but when I try to start it
>>> I get
>>> to resolve 222.0: missing requirement [222.0] package;
>>> (package=com.sun.net.ssl.internal.ssl)
>>> is This an internal jre package no ?
>>>
>>> Who can export that package ?
>>>
>>> Thanks for help
>>>
>>> --Filippo
>>>
>>>
>>> 2011/8/9 Freeman Fang <[email protected]>:
>>>>
>>>> On 2011-8-9, at 下午7:42, Filippo Balicchia wrote:
>>>>
>>>>> Hello,
>>>>> I use servicemix 4.3 and when i try to use a third party bundle I get
>>>>> the following error
>>>>>
>>>>> filetransfer.jar version=4.2
>>>>> Java version=1.6.0_26
>>>>> OS architecture=amd64
>>>>> VM vendor=Sun Microsystems Inc.
>>>>> OS=Linux
>>>>> Class com.xxx.FileTransferxx throws a Throwable.
>>>>> java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket
>>>>
>>>> Hi,
>>>>
>>>> Is filetransfer.jar OSGi friendly bundle?
>>>> Does it already import javax.net.ssl package?
>>>> You can use
>>>> osgi:headers bundle_id_for_filetransfer.jar
>>>> to get the osgi metadata headers for iletransfer.jar
>>>>
>>>> Freeman
>>>>>
>>>>> my servicemix jre.properties is stardard version
>>>>>
>>>>> Could you help me, please, to address this problem ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> --Filippo
>>>>
>>>> ---------------------------------------------
>>>> Freeman Fang
>>>>
>>>> FuseSource
>>>> Email:[email protected]
>>>> Web: fusesource.com
>>>> Twitter: freemanfang
>>>> Blog: http://freemanfang.blogspot.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:[email protected]
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
>
>
>
>
>
>
>
>
>
>

Reply via email to