Some of the big changes in Jetty 9 that might be hurting you... Connectors overhaul. It is configured differently now.
There are no longer separate Connectors. There is a ServerConnector with a host / port / idleTimeout, with ConnectionFactory implementations declared underneath it. Examples (all found in the jetty-distribution): - jetty-http.xml<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty-http.xml>- standard http supported connection - jetty-https.xml<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty-https.xml>- standard https supported connection - jetty-ssl.xml<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty-ssl.xml>- the configuration for your SSL certificates - jetty-spdy.xml<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-spdy/spdy-http-server/src/main/config/etc/jetty-spdy.xml>- a connector supporting multiple connection factories (SPDY/3 SPDY/2 HTTP/1.1) Many concepts that used to be configured on the Connectors are now part of the HttpConfiguration<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-server/src/main/config/etc/jetty.xml#n68>object. Those are the biggest changes. Now, what specifically is causing you problems? -- 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 Mon, Apr 8, 2013 at 9:56 AM, Thomas Becker <[email protected]> wrote: > Hi Marty, > > could you please describe where you think the documentation doesn't match > the current code? Or describe which problems you actually have? That way we > can start fixing the documentation. > > Regarding an example jetty.xml, the distribution comes with a set of > working config files. Including a jetty.xml. So I'm not quite sure what > you're looking for?! > > Cheers, > Thomas > > Am 4/8/13 5:13 PM, schrieb Marty Stich: > > I'm trying to migrate my existing application to Jetty 9 and having a >> bear of a time trying to migrate my jetty.xml file. >> >> It appears the documentation is not be up to date relative to the code. >> Can anyone point me to some exemplar jetty.xml files which work with >> version 9? >> >> I can post my configuration file it that would be helpful. >> >> Regards, >> >> ____________________________ >> Marty Stich >> >> ______________________________**_________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users> >> >> > ______________________________**_________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users> >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
