Questions tagged [jetty-10]

25 questions
2
votes
1 answer

Why there is no GzipContentEncoder in Jetty Client?

I can see org.eclipse.jetty.client.GZIPContentDecoder to decompress the compress response but unable to find any encoder to compress the request, is there any way to compress request using jetty Client library?
Vaibhav
  • 169
  • 6
2
votes
1 answer

How do I fix this SSL error when making a SQL request from a jetty server

I'm in the process of upgrading a java application. Originally, the application was built with jdk 8 and the server was jetty 9. Since upgrading to jetty 10 and jdk 11, I'm running into an issue when trying to make requests to our sql datasource.…
pbuchheit
  • 1,371
  • 1
  • 20
  • 47
2
votes
1 answer

What happened to addLifeCycleListener in Jetty 10?

We used to have code that would bootstrap Google Guice on the startup of our jetty embedded server. // add a lifecycle listener to bootstrap injector on startup svr.addLifeCycleListener(new AbstractLifeCycle.AbstractLifeCycleListener() { …
benstpierre
  • 32,833
  • 51
  • 177
  • 288
1
vote
0 answers

How to integrate stomp/websockets using spring boot messaging with Jetty 10?

Some backstory: I am working on a spring boot application which uses the spring-boot-starter-websocket library to update a frontend client with messages using STOMP. The setup is as per spring docs - using…
1
vote
1 answer

NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

I have used jetty 10 and java 11. Also added jsp module and its dependencies. Still while running jetty i'm getting below error. I have used custom classLoader. 2022-06-09 11:45:08.094:INFO :oejs.Server:main: jetty-10.0.8; built:…
1
vote
1 answer

Time taken by the request in jetty 10 logging

This is follow up question for configure jetty logging. Is there any attribute that gives the time taken by the request? 123.4.5.6 - - [27/Aug/2004:10:16:17 +0000] "GET /jetty/tut/XmlConfiguration.html HTTP/1.1" 200 76793…
Ashish Goyanka
  • 207
  • 3
  • 11
1
vote
2 answers

Configuring Jetty 10/11 Request Logs

I am going through the post jetty logging and trying to figure out what is meaning of every attribute that prints 123.4.5.6 - - [27/Aug/2004:10:16:17 +0000] "GET /jetty/tut/XmlConfiguration.html HTTP/1.1" 200 76793…
Ashish Goyanka
  • 207
  • 3
  • 11
1
vote
1 answer

Does Spring Boot 2.5.1 actually support HTTP/2 using Jetty 10?

Trying to use Jetty 10 with HTTP/2 (h2) in Spring Boot 2.5.1 results in a NoSuchMethodError: java.lang.NoSuchMethodError: 'void org.eclipse.jetty.server.SslConnectionFactory.(org.eclipse.jetty.util.ssl.SslContextFactory,…
1
vote
1 answer

jetty 10: Require-Capability: osgi.serviceloader; filter:="(osgi.serviceloader=org.eclipse.jetty.webapp.Configuration)"

I'm trying to migrate our embedded jetty 9.4.x to jetty 10. I'm having a couple of OSGi and dependency issues. To isolate the problem I created a simple OSGi Launch in Eclipse, having a couple bundles:
flavio.donze
  • 7,432
  • 9
  • 58
  • 91
0
votes
1 answer

Jetty 10 redirect http to https

I am trying to modify Jetty 10.0.15 to handle http to https redirection. I tried searching in their official Operations guide but i cant find anything. For example: http://localhost:8443/login?lang=en -> https://localhost:8443/login?lang=en or also…
Boco909
  • 73
  • 3
0
votes
1 answer

How to log the URL scheme (http or https) in Jetty request log?

How can I include the URL request scheme (HTTP or HTTPS) in Jetty 10 request log? Something similar with what can be done in Apache but for Jetty. I am using this setting: jetty.requestlog.formatString='%{client}a - %u %t "%r" %s %O "%{Referer}i"…
Óscar
  • 650
  • 1
  • 4
  • 16
0
votes
1 answer

Switch Spring Boot 2.7 to Jetty 10 with Gradle

Due to a NullPointerException recently introduced in Jetty v9.4.51, I wanted to take a look on how to switch to Jetty v10 which is also supported by Spring Boot v2.7. With Jetty v9 having reached its EOL almost 1 yr ago, it's also about time even…
joerg20
  • 38
  • 6
0
votes
0 answers

Jetty 10 server curl command failed

I run below command from terminal where jetty 10 server is running but getting below error. admin@provo-blond:~> curl -v localhost:9240 * Rebuilt URL to: localhost:9240/ * Trying ::1... * TCP_NODELAY set * Connected to localhost (::1) port 9240…
0
votes
1 answer

Application not starting on jetty v10

Application is not starting on https port - 8443, facing issue at client side (browser) and getting below stacktrace: oejs.HttpChannel:qtp2134607032-16: handleException /favicon.ico org.eclipse.jetty.http.BadMessageException: 400: Invalid SNI at…
Appu2506
  • 1
  • 2
0
votes
0 answers

Web sockets in Spring + Jetty 10: JettyWebSocketCreator not visible to WebAppClassLoader

I have a working websocket configured and running on Spring Web MVC 5.3.23 with Jetty 9.4.48. When I attempt to upgrade to Jetty 10.0.12, the server responds with 500 Server Error when clients try to open a websocket connection due to the following…
jaredjacobs
  • 5,625
  • 2
  • 27
  • 23
1
2