Questions tagged [jetty-8]

Version 8 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

Version 8 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

122 questions
1
vote
0 answers

How to run Jersey 2 and Jetty

Trying out the latest Jersey-2 release. I need to run it with Jetty embedded. I have a resource that worked fine with Jersey 1.15. Tried the following code bu can't reach my Resource. ServletContextHandler sh = new…
YaOg
  • 1,748
  • 5
  • 24
  • 43
1
vote
1 answer

What to do when Jetty EndPoint.flush(ByteBuffer b) returns false?

i'm using Jetty 9 EndPoint for the first time. But i'm stuck as to how to use the EndPoint.flush(ByteBuffer) method returncode. Should i loop indefinitly until the call succeeds ? Javadoc just says Returns: True IFF all the buffers have been…
Houtman
  • 2,819
  • 2
  • 24
  • 34
1
vote
1 answer

Hot deployment using jetty server

I am using standalone jetty server in my application. I want to do a hot deployment for a jar. When I browsed through net I found the below settings in jetty.xml
user2404813
  • 11
  • 1
  • 2
1
vote
1 answer

Jetty and JUnit - sending stub responses over http

I need to send a stub response over http to a requesting client from Jetty. It works when I run the Junit test independently, implies, I get the correct XML response .. but it fails when I run the same thing from maven. The error I see is…
Aravind Datta
  • 327
  • 4
  • 6
  • 17
1
vote
1 answer

Excessive "-INFO...RenameUtil - Renaming file..." in Jetty8 stderrrout with Logback RequestLogImpl

My app runs in Jetty8 and is leveraging Logback's RequestLogImpl (which is just great, by the way). Recently we discovered that if logback has a problem rolling over files, the logging message that would have alerted us to that appears nowhere…
Bob Kuhar
  • 10,838
  • 11
  • 62
  • 115
1
vote
1 answer

Sharing sessions between webapps in Jetty 8

I am looking into migrating from Tomcat to Jetty 8 for a custom web application that will essentially be a portal (though it won't be using a JSR-168 or similar portal container). The key concept for the purposes of this post is that the user will…
1
vote
1 answer

Enabling authentication realm in jetty 8

I tried to follow the offical tutorial to enable MD5 authentication for my only web-app running on jetty. Nginx manages ssl and redirects to jetty I placed
Jerec TheSith
  • 1,932
  • 4
  • 32
  • 41
1
vote
0 answers

Jetty 8; conguration file - enable REST Web Services

I have a jetty 6 instance with some rest web services. It's configured to deploy pojo services from specific packages. 1
lpinto.eu
  • 2,077
  • 4
  • 21
  • 45
1
vote
1 answer

intellij11 error when redeploying static files to jetty

all. I got exactly same scenario like this one - Jetty Maven Plugin is ignoring custom webdefault.xml the only difference is that I try to deploy my app to local jetty8 inside intellij11 on windows 7 the error is Error copying…
kamiseq
  • 593
  • 4
  • 17
1
vote
0 answers

Embedded Jetty 8 with Servlet 3.0 support

How to configure Jetty to work with annotated servlets? The answer from here: Servlet 3.0 support in embedded Jetty 8.0 by Jeff Miller haven't helped. Without his proposed line (context.setConfigurations..) the web app inside provided war file is…
Kamil
  • 2,158
  • 2
  • 18
  • 19
1
vote
1 answer

Serve only one subdomain out of several with jetty

Multiple domains and subdomains are pointing to my server. I want to serve only one or two of them with jetty over 8080 the rest should be ignored by jetty. Is there a way to do this? (OK, I am sure there is one but I could not figure out how) I am…
Mike Mitterer
  • 6,810
  • 4
  • 41
  • 62
0
votes
0 answers

Jetty Server based RestServiceJerseyExecutorProvider stuck while reading payload from an HTTPS request

I am having a REST Service based on Jetty HTTPS Connector. When I am hitting this service using SOAP UI for 200 Total Runs with Just 1 thread, a couple of request get timed out intermittently as java.net.SocketTimeoutException: Read timed out on…
0
votes
1 answer

How to I get rid of extra / in http://localhost:8080/test/ in Jetty?

I want any user trying to access http://localhost:8080/test/ to be redirected to http://localhost:8080/test. I want to remove the extra '/' after test. I tried writing this in rewrite rules but it doesn't work for me.
0
votes
1 answer

ElasticSearch Code with elasticsearch-rest-high-level-client is not getting deployed in embedded Jetty 8

We are using ElasticSearch 6.8.2. Our application is written on Java. Previously we are using transport Client. It was working fine. But now we are upgrading to elasticsearch-rest-high-level-client. But after changing the code and removing all the…
0
votes
1 answer

Jetty fails to load startup page , throwing null pointer exception

On every hit of an URL it is throwing below null pointer exception. I am using Jetty version jetty-distribution-9.4.18.v20190429 java.lang.NullPointerException at…
Bhavesh Modi
  • 303
  • 6
  • 18
1 2 3
8 9