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

560 questions
29
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
  • 785
  • 2
  • 10
  • 28
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
  • 21,153
  • 8
  • 50
  • 77
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
  • 3,756
  • 3
  • 30
  • 35
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
  • 633
  • 6
  • 20
12
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
  • 25,324
  • 9
  • 56
  • 86
11
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
  • 785
  • 2
  • 10
  • 28
11
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,010
  • 6
  • 48
  • 80
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
  • 668
  • 7
  • 18
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
  • 1,546
  • 4
  • 23
  • 38
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
  • 251
  • 8
  • 22
7
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
  • 774
  • 1
  • 8
  • 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
  • 983
  • 9
  • 16
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
  • 1,793
  • 1
  • 7
  • 17
6
votes
1 answer

System environment variables in Jetty application

How to configure system environment variables inside one Jetty application? e.g. For database connection details, putting it in file and checking it into cvs is bad idea. For that reason using system environment is one way to go. While the system…
Pranaya Behera
  • 535
  • 1
  • 8
  • 24
1
2 3
37 38