Undertow can use the Jetty provider, but it will use its own built in
approach by default. A big problem with the Jetty provider is that you
need to use the correct version for the version of the JDK you are
using. If the version is incorrect you will get errors like you are
seeing.
Stuart
On Fri, Feb 17, 2017 at 7:33 AM, Edgar Espina <espina.edgar(a)gmail.com> wrote:
I thought Undertow used the Jdk8 SSL Hack but yes the Jetty ALPN jar
is in
the boot classpath.
I need ALPN to run integration tests. Those integration tests run against
undertow, netty and jetty.
Local tests work perfectly on OSX, but not in Travis CI (ubuntu).
Do you think this is an alpn issue?
Thanks.
On Thu, Feb 16, 2017 at 5:06 PM Stuart Douglas <sdouglas(a)redhat.com> wrote:
>
> Are you using Jetty ALPN?
>
> Stuart
>
> On Thu, Feb 16, 2017 at 11:52 PM, Edgar Espina <espina.edgar(a)gmail.com>
> wrote:
> > Hi,
> >
> > Got this error using undertow 1.4.9.Final. on jre 1.8.0_121:
> >
> > Exception in thread "utow task-1" java.lang.NoSuchFieldError: DEFAULT
> > at
> >
> >
sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1482)
> > at
> >
> > sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1272)
> > at
> >
> > sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:1076)
> > at
> > sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:742)
> > at
> >
> > sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:225)
> > at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
> > at sun.security.ssl.Handshaker$1.run(Handshaker.java:966)
> > at sun.security.ssl.Handshaker$1.run(Handshaker.java:963)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1416)
> > at io.undertow.protocols.ssl.SslConduit$5.run(SslConduit.java:1034)
> > at
> >
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > at
> >
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > Thanks.
> >
> >
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/undertow-dev