Project

General

Profile

Jetty9 4 support » History » Version 8

Henning Blohm, 03.01.2018 22:39

1 3 Henning Blohm
h2. Jetty 9.4 Support (#1993)
2 1 Henning Blohm
3
As Jetty 9.3 cannot run Java 9 code (in particular due to "ASM problems #1785":https://github.com/eclipse/jetty.project/issues/1758), we need to upgrade to Jetty 9.4.8, the first Java 9 compatible version.
4
5 4 Henning Blohm
h2. References
6 1 Henning Blohm
7 2 Henning Blohm
* [[Java9_Support]]
8 1 Henning Blohm
* "Supporting JDK9 #487":https://github.com/eclipse/jetty.project/issues/487
9
* "ASM problems #1785":https://github.com/eclipse/jetty.project/issues/1758
10
* "Upgrading 9.3 to 9.4":http://www.eclipse.org/jetty/documentation/current/upgrading-jetty.html#_upgrading_from_jetty_9_3_x_to_jetty_9_4_0
11 4 Henning Blohm
12 5 Henning Blohm
h2. How to Retrieve Dependencies
13 4 Henning Blohm
14 5 Henning Blohm
Clone or copy POM of "jetty-home":https://search.maven.org/#artifactdetails%7Corg.eclipse.jetty%7Cjetty-home%7C9.4.8.v20171121%7Cpom
15 6 Henning Blohm
16
Use "mvn install dependency:sources"
17 7 Henning Blohm
18
h2. How to Upgrade
19
20
# Update all Jetty Server JARs (from the distribution) and integrate source JARs from maven central (see above)
21
# Update optional modules (as far as supported in Z2 already):
22
** annotations
23
** apache-jsp
24
** apache-jstl
25
** CDI
26
** http2
27
** JNDI (actually mail and JTA)
28
** spring
29
** websocket
30
# Review upgrade information on module config changes
31 8 Henning Blohm
32
h2. Noteworthy
33
34
* An environment split to reduce duplication in (e.g.) sample environments might be advised
35
* Include a test with webServer local config / properties files refered from Jetty config.