$ java -version java version "1.7.0_10" Java(TM) SE Runtime Environment (build 1.7.0_10-b18) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
$ uname -a Linux petar-Inspiron-N5110 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux 2014-02-04 Joakim Erdfelt <[email protected]>: > What specific version of Java are you using? (be specific) > > The NPN support is Java version specific as we provide extra SSL support > not built-into Java itself in order to communicate SPDY. > > -- > Joakim Erdfelt <[email protected]> > webtide.com <http://www.webtide.com/> - intalio.com/jetty > Expert advice, services and support from from the Jetty & CometD experts > eclipse.org/jetty - cometd.org > > > On Mon, Feb 3, 2014 at 3:31 PM, Petar Tahchiev <[email protected]>wrote: > >> Hello everyone, >> >> I'm using Jetty version 8.1.14.v20131031 and jetty npn boot version >> 1.1.6.v20130911 and jetty npn api version 1.1.0.v20120525. I followed the >> documentation and declared 2 spdy connectors in my jetty.xml: >> -------------------------- >> <New id="sslContextFactory" >> class="org.eclipse.jetty.util.ssl.SslContextFactory"> >> <Set name="keyStore"><SystemProperty name="jetty.home" >> default="." />/src/main/resources/keystore</Set> >> <Set name="keyStorePassword">AAAA</Set> >> <Set name="keyManagerPassword">BBBB</Set> >> <Set name="trustStore"><SystemProperty name="jetty.home" >> default="." />/src/main/resources/keystore</Set> >> <Set name="trustStorePassword">CCCCC</Set> >> <Set name="protocol">TLSv1</Set> >> </New> >> <Call name="addConnector"> >> <Arg> >> <New >> class="org.eclipse.jetty.spdy.http.HTTPSPDYServerConnector"> >> <Set name="Port"><Property name="jetty.port" >> default="8111"/></Set> >> </New> >> </Arg> >> </Call> >> >> <Call name="addConnector"> >> <Arg> >> <New >> class="org.eclipse.jetty.spdy.http.HTTPSPDYServerConnector"> >> <Arg> >> <Ref id="sslContextFactory" /> >> </Arg> >> <Set name="Port">8112</Set> >> <Set name="statsOn">true</Set> >> </New> >> </Arg> >> </Call> >> ---------------------------------- >> I also declared the npn boot in my bootclasspath (I use maven jetty >> plugin) >> ----------------------------------- >> <jvmArgs>-Xmx1024m -Xms512m -XX:+CMSClassUnloadingEnabled >> -XX:MaxPermSize=512m -XX:PermSize=256m >> -Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${jetty.npn.boot.version}/npn-boot-${jetty.npn.boot.version}.jar</jvmArgs> >> ----------------------------------- >> When starting jetty I see the following in the logs: >> ----------------------------------- >> [WARNING] !RequestLog >> [INFO] Started [email protected]:8111 >> [INFO] SPDY support is experimental. Please report feedback at >> [email protected] >> [INFO] Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of >> [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] >> [INFO] Started [email protected]:8112 >> [INFO] SPDY support is experimental. Please report feedback at >> [email protected] >> [INFO] Started Jetty Server >> ----------------------------------- >> >> so it seems like the connectors are working. But when I go to >> http://localhost:8111/ chrome or firefox does not seem to detect that >> this is spdy!!! Also if I inspect with chrome developer tools the network >> traffic - indeed it is not spdy! And most bizzarly when I go to >> https://localhost:8112/ the page loads forever and never returns >> response so I have to kill the server. >> >> Any idea why? >> >> >> >> -- >> Regards, Petar! >> Karlovo, Bulgaria. >> --- >> Public PGP Key at: >> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 >> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 >> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/jetty-users >> >> > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > > -- Regards, Petar! Karlovo, Bulgaria. --- Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
