You have a lot to change.

For example:
http://download.eclipse.org/jetty/stable-9/apidocs/index.html
These 2 classes do not exist in Jetty 9:

  org.eclipse.jetty.server.nio.SelectChannelConnector
  org.eclipse.jetty.server.ssl.SslSocketConnector

This change was made to support all of the next gen protocols (SPDY/2,
SPDY/3, and soon HTTP/2.0).

Jetty 9 now has a ServerConnector with options underneath.
http://www.eclipse.org/jetty/documentation/current/jetty-maven-plugin.html#configuring-jetty-container
The default distribution has examples of ways to configure this.

The Common HTTP configuration
object<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty.xml#n63>
.
The HTTP connection for the
ServerConnector<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty-http.xml#n23>
.
The HTTPS connection for the
ServerConnector<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty-https.xml#n24>
.
The SSL Certificate configuration for HTTPS and
SPDY<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty-ssl.xml>
.
The SPDY + HTTPS connection for the
ServerConnector<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-spdy/spdy-http-server/src/main/config/etc/jetty-spdy.xml#n53>
.


--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Fri, Apr 12, 2013 at 7:32 AM, pether sorling <[email protected]>wrote:

> Hi all,
>
> Currently using jetty 8 and start jetty with jetty-maven-plugin as below.
>
> --
>       <plugin>
>         <groupId>org.mortbay.jetty</groupId>
>         <artifactId>jetty-maven-plugin</artifactId>
>         <version>8.1.10.v20130312</version>
>         <configuration>
>           <connectors>
>             <connector
> implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
>               <port>8080</port>
>               <maxIdleTime>60000</maxIdleTime>
>             </connector>
>             <connector
> implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
>               <port>8443</port>
>               <maxIdleTime>60000</maxIdleTime>
>               <keystore>jetty-keystore</keystore>
>               <password>pwd</password>
>               <keyPassword>pwd</keyPassword>
>               <truststore>jetty-keystore</truststore>
>               <trustPassword>pwd</trustPassword>
>             </connector>
>           </connectors>
>           <stopPort>9966</stopPort>
>           <stopKey>stop</stopKey>
>           <scanIntervalSeconds>0</scanIntervalSeconds>
>           <webAppConfig>
>             <contextPath>/</contextPath>
>           </webAppConfig>
>         </configuration>
>       </plugin>
> ---
>
> I want to upgrade to jetty 9 but when I start up with the same config but
> changes
>
> --
>         <groupId>org.eclipse.jetty</groupId>
>         <artifactId>jetty-maven-plugin</artifactId>
>         <version>9.0.1.v20130408</version>
> --
>
> the application starts up on port 8080 but ignores any ssl config.
>
> So anybody that has a working jetty-maven-plugin ssl config for  jetty 9.x
> ?
>
> Best regards
> Pether
>
>
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to