Filippo,

Yeah, that would be the right solution here, I guess.  We already have that
package in the list of boot delegation packages, but if your bundle has an
explicit import for the package, you really have to add it to
etc/jre.properties as well for the bundle to get resolved.


Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/


On Tue, Aug 9, 2011 at 3:19 PM, Filippo Balicchia <[email protected]>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
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
>

Reply via email to