I tried this one-line change:
-----------------------
#!/bin/bash
#JETTY_HOME=jetty-distribution-9.3.3.v20150827
JETTY_HOME=jetty-distribution-9.3.9.v20160517
java -Xmx3048M \
-jar $JETTY_HOME/start.jar \
jetty.home=$JETTY_HOME \
jetty.base=jetty-base
------------------------
Result:
org.eclipse.jetty.start.graph.GraphException: Unable to register
module: ${jetty.home}/modules/._alpn.mod
org.eclipse.jetty.start.graph.GraphException: Unable to register
module: ${jetty.home}/modules/._alpn.mod
at
org.eclipse.jetty.start.Modules.registerModule(Modules.java:205)
at
org.eclipse.jetty.start.Modules.registerAll(Modules.java:186)
at
org.eclipse.jetty.start.Main.processCommandLine(Main.java:293)
at org.eclipse.jetty.start.Main.main(Main.java:74)
Caused by: java.nio.charset.MalformedInputException: Input length
= 1
at
java.nio.charset.CoderResult.throwException(CoderResult.java:281)
at
sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at
java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at
java.io.BufferedReader.readLine(BufferedReader.java:324)
at
java.io.BufferedReader.readLine(BufferedReader.java:389)
at org.eclipse.jetty.start.Module.process(Module.java:282)
at
org.eclipse.jetty.start.Module.<init>(Module.java:103)
at
org.eclipse.jetty.start.Modules.registerModule(Modules.java:200)
... 3 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
---
$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
$ uname -a
Linux 3.13.0-042stab111.11 #1 SMP Tue Sep 1 18:19:12 MSK 2015
x86_64 x86_64 x86_64 GNU/Linux
Upgrade from a dev version to this one went smoothly on my mac.
This link doesn't seem to apply
https://devtidbits.com/2015/06/23/jetty-9-3-http2-dependancy-issue-with-ubuntu-14-04/
, because I have
jetty-distribution-9.3.9.v20160517/modules/alpn-impl/alpn-1.8.0_60.mod
I note that it has:
[files]
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.5.v20150921/alpn-boot-8.1.5.v20150921.jar|lib/alpn/alpn-boot-8.1.5.v20150921.jar
But I don't find that jar on my system. One odd thing:
$ file jetty-distribution-9.3.9.v20160517/modules/._alpn.mod
jetty-distribution-9.3.9.v20160517/modules/._alpn.mod: AppleDouble
encoded Macintosh file
Not sure if that means anything.
Thanks,
Bill
On 5/19/16 7:47 PM, Greg Wilkins wrote:
Jetty release 9.3.9.v20160517 is now available from the
eclipse download
page and in the
maven
central repository. This release fixes several
important issues including some edge-case CPU spins, deadlocks
and file system issues. It is
highly recommended that
all jetty 9.3.x users upgrade to 9.3.9, specially those
on windows platform.
jetty-9.3.9.v20160517 - 17 May 2016
+ 436 Migrate Jetty Documentation
+ 437 updates to NPE prevention
+ 501 clear continuation initial on undispatch
+ 510 Module [depend] property expansion should support eg foo/${bar}/${bar}-xxx
+ 514 Allow ExecutionStrategy to be configurable
+ 518 jarfile fix for springboot
+ 519 Disable SSL session caching
+ 521 Separate usage of the Server and the ServerConnector Executors
+ 525 Spin in HttpInputOverHttp.blockForContent with malformed HTTP-Request
+ 526 Headers set from RequestDispatcher.include() not showing up in response
+ 529 Start property for non standard JRE versions
+ 533 Do not hide file resource exception
+ 534 Deadlock in MongoSessionManager
+ 546 Guard concurrent calls to ExecutionStrategy.execute()
+ 547 ExecuteProduceConsume (EWYK) does not exit low threads mode
+ 552 Improve HTTP/2 idle timeout handling
+ 553 Abort HttpChannel if response has wrong content-length
+ 556 Improve Resource.getAlias() checks on Windows
+ 557 Review ThreadPool.isLowOnThreads()
+ 558 HTTP/2 server hangs when thread pool is low on threads
+ 560 Jetty Client Proxy Authentication does not work with HTTP Proxy tunneling
+ 561 Fixed test timer
+ 567 NPE in ErrorPageErrorHandler debug
+ 570 URIUtil.encodePath does not always encode utf8 chars
+ 571 AbstractAuthentication.matchesURI() fails to match scheme
+ 572 Don't reject HTTP/2 requests without body in low threads mode
+ 486530 Handler added to WebAppContext prevents ServletContext initialization
--
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users