Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] alpn on Ubuntu

I'm trying to go from 9.3.3 to 9.4.1, drop-in works fine on MacOS, but on Ubuntu with the same Java version it can't get over alpn:

java.lang.IllegalStateException: Unable to register module: ${jetty.home}/modules/._alpn.mod
        at org.eclipse.jetty.start.Modules.registerModule(Modules.java:221)
        at org.eclipse.jetty.start.Modules.registerAll(Modules.java:192)
        at org.eclipse.jetty.start.Main.processCommandLine(Main.java:300)
        at org.eclipse.jetty.start.Main.main(Main.java:75)
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:298)
        at org.eclipse.jetty.start.Module.<init>(Module.java:152)
        at org.eclipse.jetty.start.Modules.registerModule(Modules.java:206)
        ... 3 more

$ 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)

Exists: /ops/jetty-distribution-9.4.1.v20170120/modules/alpn-impl/alpn-1.8.0_60.mod

My run script:

#JETTY_HOME=/ops/jetty-distribution-9.4.1.v20170120
JETTY_HOME=/ops/jetty-distribution-9.3.3.v20150827

java -Xmx3048M \
    -jar $JETTY_HOME/start.jar \
    jetty.home=$JETTY_HOME \
    jetty.base=/ops/jetty-base

I don't see anything apropos in the archives. I did some sleuthing on the same issue trying to go to 9.3.9, but got no response:

http://jetty.4.x6.nabble.com/Jetty-Release-9-3-9-v20160517-td4965602.html#a4965607

By the way, I'm not using https in case not needing security somehow will allow me to sidestep the issue.

Perhaps it's worth filing a bug on an unhelpful exception?

Thanks,

Bill



Back to the top