Default vm is :
-Djetty.home=jettyhome
-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-selector.xml,etc/jetty-ssl.xml,etc/jetty-https.xml,etc/jetty-deployer.xml
issue console:
May 10, 2017 9:04:07 AM org.eclipse.jetty.server.AbstractConnector doStart
Info: Started ServerConnector@e288054{HTTP/1.1,[http/1.1]}{localhost:8089}
May 10, 2017 9:04:07 AM org.eclipse.jetty.server.AbstractConnector doStart
Info: Started ServerConnector@3afbff94{SSL,[ssl, http/1.1]}{localhost:8443}
Should be:
-Xbootclasspath/p:alpn-boot.jar
-Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn
-Djetty.home=jettyhome
-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-ssl-context.xml,etc/jetty-http.xml,etc/jetty-alpn.xml,etc/jetty-http2.xml,etc/jetty-https.xml
console output :
May 10, 2017 12:25:53 PM org.eclipse.jetty.server.AbstractConnector doStart
Info: Started ServerConnector@738fdb56{SSL,[ssl, alpn, h2, h2-17, h2-16, h2-15, h2-14, http/1.1]}{localhost:5443}
May 10, 2017 12:25:53 PM org.eclipse.jetty.server.AbstractConnector doStart
Info: Started ServerConnector@35ff325e{HTTP/1.1,[http/1.1, h2c, h2c-17, h2c-16, h2c-15, h2c-14]}{localhost:5080}
It's a hard tweak by me.
Link:
And alpn-boot-8.1.11.v20170118.jar (default) works fine under jdk u131 from 2017-5-2 .
Thanks to Hiep lq
Joseph
-- idempiere-server.bat---