Update: I tried to deploy jetty-spdy in M3 to Karaf, it works well.
Thanks. -----Original Message----- From: jetty-users-boun...@eclipse.org [mailto:jetty-users-boun...@eclipse.org] On Behalf Of Hugues Malphettes Sent: Tuesday, September 25, 2012 2:22 PM To: JETTY user mailing list Subject: Re: [jetty-users] Jetty SPDY use split package? Too many typos, let's try again: Hi Guofeng, We just updated the generation of the OSGi manifests for jetty-9. SPDY in OSGi is still a work in progress. The npn library does not have an OSGi header. At runtime, it must be loaded in the bootclass loader of the JVM [1]: java -Xbootclasspath/p:<path_to_npn_boot_jar> The jetty-spdy-server-http is the only module that depends on npn-api. At the moment, we chose to be flexible: the jetty-spdy-server-http lists an optional import for the package org.eclipse.jetty.npn We suspect it should not be listed in the OSGi manifest at all. Let us know how it goes. Hugues [1] http://wiki.eclipse.org/Jetty/Feature/NPN On Tue, Sep 25, 2012 at 2:17 PM, Hugues Malphettes <hmalphet...@intalio.com> wrote: > Hi Guofeng, > > We just updated the generation of the OSGi manifests for jetty-9. > > We have not tested SPDY in OSGi is still a work in progress. > > Regarding the npn library, it does not have an OSGi header. > At runtime, it must be loaded in the bootclass loader of the JVM [1]: > java -Xbootclasspath/p:<path_to_npn_boot_jar> > > We are completely decided what is the best way to handle this situation. > At the moment, we chose to be flexible: the jetty-spdy-server-http > lists an optional import for the package org.eclipse.jetty.npn We > think we should eventually not import it at all in OSGi. > > Let us know how it goes. > Hugues > [1] http://wiki.eclipse.org/Jetty/Feature/NPN > > On Tue, Sep 18, 2012 at 11:15 AM, Guofeng Zhang <guof...@avaya.com> wrote: >> Hi, >> >> >> >> These days I learning how Jetty support SPDY. I found that spdy-core >> and spdy-jetty use the same package name. the SPDY modules and npn >> module has no OSGi headers defined. >> >> >> >> My question is: >> >> will these modules support OSGi in the future, and if so, is there >> not any issue for the split package in the OSGi environment? >> >> >> >> Thanks, >> >> >> >> Guofeng >> >> >> >> >> _______________________________________________ >> jetty-users mailing list >> jetty-users@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/jetty-users >> _______________________________________________ jetty-users mailing list jetty-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/jetty-users _______________________________________________ jetty-users mailing list jetty-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/jetty-users