Questions tagged [jetty]

Jetty is a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

Jetty is a widely used java based http server and servlet engine with additional support for WebSockets and SPDY protocols.

Current versions are:

164 questions
92
votes
6 answers

Proxy Error 502 "Reason: Error reading from remote server" with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18

Apache is receiving requests at port :80 and proxying them to Jetty at port :8080 The proxy server received an invalid response from an upstream server The proxy server could not handle the request GET /. My dilemma: Everything works fine normally…
Martin
16
votes
4 answers

How do we increase the maximum allowed HTTP GET query length in Jetty?

We are using Jetty to run an Apache Solr index. We've had some queries that have grown way beyond the previously expected maximum length, and are now having issues where most queries are not returning any data because the server doesn't respond…
Michael Moussa
  • 309
  • 1
  • 4
  • 10
15
votes
5 answers

Alternatives to Apache

Our current stack is Apache + Tomcat + MySQL, using ProxyPass AJP to fire requests from Apache to Tomcat. We also run PHP for Wordpress on the same sites, and so need working .htaccess files. In response to an annoying problem (see this Stack…
Marcus Downing
  • 778
  • 10
  • 18
15
votes
2 answers

Configuring Jetty to accept connections from all hosts on Ubuntu Lucid

I want Jetty to serve connections from any host on port 8080. My /etc/default/jetty file has: - NO_START=0 JETTY_HOST= JETTY_PORT=8080 The server is an EC2 small instance based on a Lucid Lynx 32 bit server AMI. APT is configured with multiverse…
Jim Downing
  • 381
  • 1
  • 2
  • 10
13
votes
4 answers

How to have Jetty redirect http to https

I want to redirect all requests for http to https using Jetty (6.1.24). For some reason (my ignorance) this is eluding me. This is what I have:
Noel Kennedy
  • 131
  • 1
  • 1
  • 5
10
votes
2 answers

Is this Kerberos/AD setup possible?

We have a slightly complicated IDAM setup: I.e. the end user's machine and browser sit in one network with the parent AD, and our Jetty-based application and the AD that it can talk to (local AD) sit in the other. There is a two-way trust between…
Rob Grant
  • 103
  • 6
9
votes
2 answers

Apache ProxyPass ignore static files

Having an issue with Apache front server connecting to a Jetty application server. I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but for some reason that is not happening in my case,…
virtualeyes
  • 665
  • 3
  • 10
  • 28
9
votes
2 answers

How can I enable GZIP compression in Jetty?

I have a Jetty server which does not have compression enabled (I tested this here). How can I enable compression?
yazz.com
  • 6,743
  • 14
  • 37
  • 38
8
votes
1 answer

nginx is running but not serving?

I've been trying to set up nginx as a proxy to jetty. I have one laptop running ubuntu server. Now I made jetty working at localhost:8080 and it serves the home page for the app at http://192.168.1.5:8080/my-webapp-0.1.0-standalone/. I configured…
Zeynel
  • 181
  • 1
  • 1
  • 6
7
votes
2 answers

How can I setup SPDY with Jetty behind Amazon's ELB?

I want to deploy SPDY, but I'm using Amazon's ELB TCP routing. The ELB also handles the secure connections for us. How can this be configured on the jetty side?
arturnt
  • 173
  • 1
  • 5
7
votes
2 answers

How can I make Nginx return HTTP 503 when my proxied app server is down?

I have an nginx web server sitting in front of a Jetty Java app server running a web application. I'd like to configure nginx to return a HTTP 503 if the proxied Jetty server is down. This way when I bring the app server down for maintenance, of if…
Richard Nichols
  • 259
  • 3
  • 7
7
votes
2 answers

Jetty - Virtualhosting - SSL Certificates

I want to have different SSL certificates for different domains that I am hosting in a single Jetty instance. I do not want to front my Jetty application server with Apache. I am running Jetty 6.1.22. So far, I have only seen configurations with a…
Walter White
6
votes
1 answer

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ======================================================== # jetty.conf…
djo
  • 397
  • 2
  • 4
  • 12
5
votes
0 answers

Why does chrome show a very long 'blocking' time (sometimes) when loading static files from Jetty 9

I'm seeing some strange behavior from Chrome when loading web resources from a Jetty 9.2.3 instance I'm setting up. In particular, I see some requests returning quickly, while others take a very long time, with Chrome reporting the time to be…
Matt Sheppard
  • 1,559
  • 2
  • 11
  • 10
5
votes
1 answer

Disable Connection:keep alive in Jetty 9

How do you disable keep-alive in Jetty 9? Running under 64 bit CentOS if it makes a difference. An XML config solution is preferred.
flavian
  • 625
  • 1
  • 6
  • 9
1
2 3
10 11