jetty-9

What is correct URL to specify ResourceBase of JAR “resources/webapp” folder for embedded Jetty?

我是研究僧i 提交于 2019-11-27 02:54:26
问题 We want a simple embedded Jetty servelet with the web resources inside a JAR-file's resources folder. We have some properties files in the JAR and load them using a resources path. We want to specify the Jetty Resource Base to be: resources/ webapp set: resource_handler. setResourceBase ( "webapp" ) Via the correct URL to point to that resource in the JAR file. Folder in the JAR file. This is a bare bones JAR file (not WAR, no frameworks, without Spring, as vanilla as we may ). Initial tests

ECDHE cipher suites not supported on OpenJDK 8 installed on EC2 Linux machine

帅比萌擦擦* 提交于 2019-11-26 11:10:29
问题 When starting jetty-distribution-9.3.0.v20150612 with openjdk 1.8.0_51 running on an EC2 Amazon Linux machine, is prints that all configured ECDHE suites are not supported. 2015-08-12 16:51:20 main SslContextFactory [INFO] Cipher TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 not supported 2015-08-12 16:51:20 main SslContextFactory [INFO] Cipher TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 not supported 2015-08-12 16:51:20 main SslContextFactory [INFO] Cipher TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384