Questions tagged [jetty-10]

25 questions
0
votes
1 answer

Where is the best location for the keystore in Jetty 10

I'm setting up a jetty application that needs to communicate with a sql server. I have successfully generated the keystore, but I'm not sure where the best location is to actually put the file. The default is $JETTY_BASE/etc . If I do that I'm going…
pbuchheit
  • 1,371
  • 1
  • 20
  • 47
0
votes
1 answer

Datasource injection problems in Jetty 10

I'm in the process of migrating a jetty web app from jetty 9 to jetty 10. We are using google guice to do dependency injection. Currently the guice module looks like this: public abstract class GuiceModule extends AbstractModule { @Provides …
pbuchheit
  • 1,371
  • 1
  • 20
  • 47
0
votes
1 answer

How to turn off the scan for the war files in Jetty10

I am working with Jetty10 and by defalut, war scan is enabled and the scan interval is set to 1 second. It means Jetty scans the complete web apps directory every 1 sec. Please correct me if I am wrong. the below code is in the…
Ashish Goyanka
  • 207
  • 3
  • 11
0
votes
1 answer

Is this correct way of adding contexts in jetty 9 and 10?

I am using embedded jetty and loading contexts through xml file. In my application, following contexts were deployed in my jetty 6.1.7 version:
0
votes
1 answer

NPE while using Custom Logging in Jetty 10/11

I am implementing Custom logging in Jetty11 and getting the null pointer exception for the below code while fetching anything from the request object. I know the reason but do not the solution to it. The reason is: calling the request object methods…
Ashish Goyanka
  • 207
  • 3
  • 11
0
votes
1 answer

In CustomAbstracthandler, Modify Httpfield is not working in jetty server 11 version

Getting header Connection: close, upgrade from Client, so I am trying to change connection header from connection: close, upgrade to connection: Upgrade. I modified httpfield in CustomAbstractHandler, but not working in Jetty 11…
0
votes
1 answer

client Connection refused by jetty server-version11.0.0

MainClass import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.servlet.ServletContextHandler; import…
0
votes
1 answer

How to modify jetty-home-11.0.6\etc\*.xml files

I am updating Jetty9 to Jetty11 and Understood the concept of Jetty-Home and Jetty-Base directory. and my question is how to modify the below files as Jeety-Home is the read-only directory and should not update in the Jetty-Home…
0
votes
1 answer

Low Level Http2(H2) Client and Server Implementation

I am looking for sample examples implementing all the features of HTTP/2(Client-Server) like STREAMS,FRAMES PUSH_PROMISE,HPACK with detailed configuration using JETTY EMBEDDED(Jetty 10/Jetty 11) ? It should be able to run at localhost and also if…
Zipperz
  • 11
  • 1
-1
votes
1 answer

Custom attributes are logging in new line while using Custom Logging in Jetty 10

I am implementing Custom logging in Jetty10 to add the custom attributes with the request and I am able to do it using the below code. I have hardcoded userId, username, lastName, etc params for readability but it will be fetched at the…
Ashish Goyanka
  • 207
  • 3
  • 11
1
2