Questions tagged [jetty-9]

Version 9 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets, SPDY protocols, JSR356 (from 9.1), HTTP/2 (from 9.3).

Version 9 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets, SPDY protocols, JSR356 (from 9.1), HTTP/2 (from 9.3).

Jetty versions

594 questions
31
votes
5 answers

Jetty-9 warning: badMessage: 400 Illegal character

I am using jetty-9.2.2 with CometD-3.0.1. I am seeing below warning in my setup. It comes ~4,5 times in a day.: 2014-08-28 08:50:53.712:WARN:oejh.HttpParser:qtp607635164-15194: badMessage: 400 Illegal character for…
Anuj Khandelwal
  • 835
  • 2
  • 15
  • 31
18
votes
4 answers

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

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…
Kof
  • 23,893
  • 9
  • 56
  • 81
14
votes
1 answer

Jetty: Redirect HTTP to HTTPS for static content

I have set up Jetty 9.3 with two XML context configurations. One for static content:
Silveri
  • 4,836
  • 3
  • 35
  • 44
13
votes
1 answer

Jetty WebSocket api vs the standard JSR 356 API

Jetty 9 supports both it's own Jetty Websocket API as well as the standard JSR 356 API, for what I assume are historical reasons (Jetty's API precedes the final JSR 356). I've looked over the basic documentation of both APIs, as well as some…
Malt
  • 28,965
  • 9
  • 65
  • 105
12
votes
1 answer

Is it possible to set session cookie path in Google App Engine?

I'm looking for something that can be done like this setting in Tomcat: ...
Kumar
  • 1,023
  • 1
  • 10
  • 23
12
votes
3 answers

Jetty IdleTimeout

I am migrating from jetty7.6 to jetty-9.2. I am seeing that default value of idletimeout for jetty connections is reduced 10 times. In jetty-7.6 300000 In jetty-9.2:
Anuj Khandelwal
  • 835
  • 2
  • 15
  • 31
12
votes
2 answers

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

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…
will
  • 4,799
  • 8
  • 54
  • 90
10
votes
2 answers

Is Jetty websocket client class WebSocketClient thread safe?

Jetty 9.3 Java 8 Is org.eclipse.jetty.websocket.client.WebSocketClient thread safe. Can multiple threads use a single instance of this class to create a websocket session (with the connect method) ?
benbenw
  • 723
  • 7
  • 20
10
votes
1 answer

Jetty startup delay due to scanning

Context and setup information: Jetty 9 with the eclipse jetty plugin Spring 4.1.1.RELEASE with Spring Security 3.2.3 Spring Java Configuration (no web.xml) Problem description Starting jetty 9 is very slow in a project where Spring's JavaConfig is…
9
votes
4 answers

Jetty 9 Server has no start() method

I am trying to embed a Jetty server in an application and am seeing a really strange problem: According to documentation, a simple server (which I am building as a test) can be started up using the following code: import…
Factor Three
  • 2,094
  • 5
  • 35
  • 51
9
votes
2 answers

jetty 9 + JDK 8 + spring 4 Annotations

After upgrading to JDK 8 , the jetty 9 is no longer able to scan the spring annotations : I get the following error : MultiException[java.lang.RuntimeException: Error scanning file ApplicationInitializer.class, java.lang.RuntimeException: Error…
SurMan
  • 271
  • 10
  • 22
8
votes
2 answers

NullPointerException In Send Https Request With jetty Http Client

I am using Jetty HTTP Client (v9.2.5) To Send HTTP Request It is Work Fine For HTTP Request {Post,Get,...} But When I send HTTPS Request Post I See This java.util.concurrent.ExecutionException: java.lang.NullPointerException at…
Ali Kianinejad
  • 965
  • 1
  • 9
  • 17
7
votes
3 answers

Debugging Jetty https

I am setting up a standalone (not embedded) jetty 9.2.1 with https. I played a bit with a self-signed certificate on my local box and all went fine. Now I am setting up a uat server (similar to what I'll get in production), and I'm failing at…
Daniele
  • 1,053
  • 10
  • 17
6
votes
1 answer

Unstable behavior with Jackson Json and @JsonAnySetter

I am working on a Java web project using Jackson for Json serialization and deserializtion. I am using Jetty as a web server I am trying to deserialize a generated class at build time: /** *Generated class at compile time **/ …
Ismail
  • 2,322
  • 1
  • 12
  • 26
6
votes
1 answer

Jetty Server 9.4.10 - Timeout Exception - Idle timeout expired

I am using jetty server 9.4.10 via dropwizard 1.2.6. I am seeing an exception related to idle timeout like below ERROR [2018-07-20 07:51:46,726] [U:224,F:832,T:1,056,M:1,820] vnera.restapilayer.CustomerResource:[ManagementResource:uploadBundle:2434]…
tuk
  • 5,941
  • 14
  • 79
  • 162
1
2 3
39 40