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
4
votes
1 answer

Can I use servlet api 3.0 and jetty 8?

I want to use 3.0 servlet-api with Jetty 8. Currently 2.4 servlet-api is defined in my web.xml. And in the webdefault.xml 2.5 servlet-api is defined. Someone else set this up so they very well might have done something wrong. Which servlet-api…
user2029910
  • 41
  • 1
  • 1
  • 3
4
votes
1 answer

Memory leak on Jetty 8 server

I have taken the memory dump, analysed it with memory analyzer. It showing 73% of memory taken by java.lang.ref.finalizer object. I went to see what is inside this very big object. I found it looks like recursive trail of objects. which looks like…
hridayesh
  • 1,123
  • 1
  • 14
  • 36
3
votes
1 answer

Jetty SSL configuration Apache karaf

I am trying to configure the jetty to work with SSL in Apache Karaf OSGI container. http works, but https does not work. What could be the problem? My configuration details below: etc/jetty.xml
Srikanth Hugar
  • 385
  • 5
  • 22
3
votes
1 answer

Gradle issue - Trying to do some JAX-RS 2 with Jetty and Resteasy - ClassNotFoundException: javax.servlet.AsyncListener

I use: Jetty 8.1.11 Resteasy 3.0.1.Final Gradle 1.6 - jettyRun task - Running on windows 7 -> This is the culprit Update: If I deploy my war directly in Jetty, it works fine, but if I start with the gradle jettyRun task, it fails. so it is related…
unludo
  • 4,912
  • 7
  • 47
  • 71
3
votes
1 answer

Is it possible to run a main Servlet and a ProxyServlet within :8888 in webdefault.xml?

I have a webapp that runs within a jetty servlet. When it starts, it runs on localhost:8888/ I'm using a separate Ruby / Sinatra process to manage my assets (js, css, images). This runs on localhost:3000/ Ideally, I would like a Jetty ProxyServlet…
Joshua F. Rountree
  • 1,462
  • 2
  • 14
  • 30
3
votes
3 answers

Solr 4 with basic authentication

I am trying to connect to solr using solrj. My solr instance runs in jetty and is protected with basic authentication. I found these links that contain relevant…
Dash
  • 33
  • 1
  • 4
3
votes
1 answer

How to Log HTTP Request and Response using Jetty Http Client

I am using Jetty's HttpClient to send requests. Looking for a way to log the request and response in Trace - to be enabled for troubleshooting. Any ideas how to do this?
YaOg
  • 1,748
  • 5
  • 24
  • 43
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

Can we use Jetty8.x with Java 1.8?

I am developing an eclipse RCP application with Eclipse Juno (4.2.2) that comes with Jetty 8.1.3. I have bundled the product with Java SDK 1.8. The RCP application runs fine but Help -> Help Contents gives below error. (Note that this works fine if…
2
votes
1 answer

Is it possible to know, when running jetty server started?

I would like to know when my jetty server started. is there any command/any other way, that can show, when the running jetty server started?
Ramesh
  • 340
  • 1
  • 7
  • 21
2
votes
1 answer

$http post request is not adding specified headers

I am making request to my server using $http to my backend for login purpose but even after specifying the headers properly its pre-flighting my request and also adding headers which I never asked it too. This is the request that I make to the…
S. Patel
  • 182
  • 1
  • 10
2
votes
2 answers

How to set jetty.home in Ubuntu 16.04 for CKAN

I'm following the "Installing CKAN from source" guide. And in the step to start the jetty service: sudo service jetty start. But it doesn't work, it prints "Failed to start jetty.service: Unit jetty.service not found". Now, if instead that command,…
marcorodnav
  • 21
  • 2
  • 4
2
votes
1 answer

Could not find resource path for Web UI: org/apache/spark/ui/static While creating a Spark application

I am creating a java API using spark-cassandra-connector.When it is running on eclipse it is working fine. Then i created a runnable jar file and executed it through the command line , its giving me following error. 15/02/17 14:56:41 INFO…
Justin
  • 735
  • 1
  • 15
  • 32
2
votes
1 answer

how to deploy spring-boot war to debian jetty8

How to deploy spring-boot war to prodaction debian jetty 8 ? Fast develop and test with spring-boot and javasonfig like with https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-jetty8 how to deploy war…
Atum
  • 1,211
  • 1
  • 12
  • 14
2
votes
0 answers

Jetty: war + additional classpath dir

I'm running a war file a.war with jetty using such code: WebAppContext context = new WebAppContext(); context.setWar("a.war"); context.setContextPath("/controller"); handlers.addHandler(context); I need to add a system-wide directory with keystore…
dbf
  • 6,399
  • 2
  • 38
  • 65
1
2
3
8 9