Hi,

> -----Original Message-----
> From: [email protected] [mailto:jetty-users-
> [email protected]] On Behalf Of Konstantin Preißer
> Sent: Saturday, October 19, 2013 3:54 AM
> To: [email protected]
> Subject: [jetty-users] How to set a non-SSL SPDY/3 connector with Jetty 9.1.x
> 
> Hi all,
> 
> I would like to set up a non-SSL SPDY/3 connector with Jetty 9.1.0.RC0, to be
> able to test a non-SSL based SPDY/3 client. Unfortunately I have almost no
> experience with Jetty and its configuration.
> 
> With Jetty 8.1.13, I could do this by placing the following in etc/jetty-
> spdy.xml:
> 
>     <Call name="addConnector">
>         <Arg>
>             <New class="org.eclipse.jetty.spdy.http.HTTPSPDYServerConnector">
>                 <Set name="Port">8444</Set>
>                 <Set name="defaultAsyncConnectionFactory">
>                     <Call name="getAsyncConnectionFactory">
>                         <Arg>spdy/3</Arg>
>                     </Call>
>                 </Set>
>             </New>
>         </Arg>
>     </Call>
> 
> and adding "spdy" to the OPTIONS list in start.ini, and then running jetty 
> with
> npn-boot-1.1.6.v20130911.jar on the classpath.
> 
> However, since Jetty 9 the configuration seems to have changed and I have
> no idea how to set a non-SSL SPDY/3 connector with Jetty 9.1.0.RC0. Can
> anyone give me an example configuration?

As the Jetty 9.1.0 docs have an example of a non-SSL SPDY configuration that 
looks like the above one [1], I think the only problem here is how to add the 
SPDY packages to the classpath, as I always get a ClassNotFoundException with 
this configuration:
    java.lang.ClassNotFoundException: 
org.eclipse.jetty.spdy.http.HTTPSPDYServerConnector in 
file:/C:/jetty9/etc/jetty-spdy.xml

However, since the format of start.ini has changed, placing an OPTIONS=... list 
(or adding "--module=spdy") does not seem to work here, and I couldn't found a 
hint for this in the SPDY docs for Jetty.
Any idea how to do this in Jetty 9.1.x?


[1] 
http://www.eclipse.org/jetty/documentation/current/spdy-configuring-proxy.html


Thanks,
Konstantin

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to