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

learn more… | top users | synonyms

2
votes
0answers
218 views

How do I enable digest auth for Jetty fronting Elastic Search

We've gotten Jetty running the HTTP front end of Elastic Search with BASIC authentication. We would like to use DIGEST authentication instead, but the Jetty documentation is hard to reconcile with the ...
2
votes
2answers
598 views

Silencing Jetty's initial console logging

I've got jetty set up to boot on login using the standard init script in CentOS 6.3 - my problem is that it decides to log a few messages to the console before redirecting it to it's own log files, ...
0
votes
1answer
110 views

Multicore in Apache solr 4.3

I downloaded Apache Solr 4.3.0 from http://lucene.apache.org/solr I want to have an install with multiple cores with the basic Jetty server. However, I never succeed. If I start the example server, ...
1
vote
0answers
35 views

Does Jetty have a way to PRE-pend folders to an war's classpath?

I have an app.war which contains app.conf file which I load using ClassLoader.getResource(...) all works well in development, in production I would like to place a different kind of app.conf file ...
0
votes
2answers
1k views

jetty.state issue when starting Jetty

I rent a CentOS 6 VPS and wish to install Jetty on it so I can use Solr for a project I've been working on. I've been following this jetty tutorial to install Jetty on my VPS, however when I try to ...
0
votes
1answer
160 views

Getting a HTTP 400 error on a jetty application

One of the jetty applications in my workplace, which runs on an Ubuntu Server, is unresponsive (users which are going to http://[PATH_TO_MY_APP]/ are waiting and waiting and after a long while they ...
2
votes
0answers
57 views

Scaling large numbers of small customer J2EE webapps

We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE. I'd like to be able to scale customer webapps across our ...
0
votes
2answers
130 views

UltraESB throwing HTTP 503 or UnsupportedClassVersionError exception depeneding upon the JDK version

I am testing UltraESB 1.7.1 and have been following the quickstart guide in order to do this. Part of the quickstart is to send a message through UltraESB via these instructions. I have followed the ...
2
votes
1answer
1k views

Enable SSL with Jetty 8

I received certificates from GoDaddy an I'm trying to enable SSL with Jetty but receive an error 107 SSL protocol error when connecting to https://server.com:8443 I generated the keystore using these ...
0
votes
2answers
2k views

configuring jetty to accept connections from only certain IP addresses

I am using the jetty that is shipped with Apache Solr to run Solr. I would like to configure jetty such that it only accepts connections from certain IP addresses. I know I can bind jetty to 127.0.0.1 ...
0
votes
2answers
6k views

503 error (Service Unavailable) in the jetty server

What is the solution of 503 error (Service Unavailable) in a Jetty server. I am using jetty with the eclipse IDE besides the GWT as front end tool. At the same time my one module is running good, but ...
2
votes
2answers
1k views

Starting jetty service from SSH

I am trying to start jetty service from ssh using the command: ssh -t myhost "sudo /sbin/service jetty6 start" All works well, service comes up but after the command terminates and the connection ...
0
votes
1answer
55 views

Configuring the jetty shipped with Solr

How do I change the configuration for the Jetty that is shipped with Apache Solr? Where are the configuration files located? I want to restrict the IP address that can connect to that instance of Solr ...
9
votes
3answers
11k views

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 ...
2
votes
1answer
1k views

Why is my Jetty server logging DNS error?

I have a Xen virtual machine where I've installed a Jetty 7.4.5, to run an instance of Hudson. It was working fine for about a month. Today we've noticed that Hudson was not able to generate builds. ...
1
vote
2answers
684 views

Jetty interprets JETTY_ARGS as file name

I'm running Jetty (version "null 6.1.22") on Ubuntu 10.04. It's running fine until I need JSP support. According to several blog posts I need to set the JETTY_ARGS to OPTIONS=Server,jsp. However, if I ...
0
votes
1answer
644 views

What is wrong with this SSL certificate?

I'm running a Java servlet application with Jetty. Now i wanted to make it more user friendly and require a certificate. After importing (see above) the browser (FF) still reclaims an unsecure ...
1
vote
2answers
426 views

CLOSE_WAIT sockets burst - perhaps because of iptables settings?

I have an Ubuntu 12.04 server virtual box where basically the installed software and configuration are the default ones, plus the installation of a jetty 6 server which servers a few websites. To keep ...
2
votes
2answers
771 views

Any reference / book on setting up Jetty on Linux box?

I have purchased a vps system recently for Java web development recently. However, I need to setup everything, configure apache, email etc. Are there any guide/reference book I can study to get these ...
1
vote
0answers
312 views

(35) Unknown SSL protocol error in connection to localhost:8443

I've followed some instructions at: http://docs.codehaus.org/display/JETTY/How+to+configure+SSL I can serve requests over http (http://localhost:8080/ping), but I can't hit (https://locahost:8443). I ...
1
vote
1answer
333 views

Overhead of multiple Java servlet containers

I am setting up a development server for a team I am working with. They develop JavaEE applications, which are deployed and run as WAR files. They will inevitably need to run one or two instances of ...
3
votes
1answer
1k views

adding response header to Jetty config file

I am trying to add a response header to the Jetty configuration the following command, Access-Control-Allow-Origin: * Ok so this Jetty webserver is the base on which Geoserver is running. I asked ...
0
votes
2answers
119 views

How to deploy web pages on EC2 when new instances are getting created dynamically?

We've got a site where the pages need to get updated every once in a while. The site has approximately 8 EC2 instances running at any moment, but occasionally it gets much larger. We use a load ...
2
votes
1answer
1k views

nginx + Jetty - thousands of connections stuck in LAST_ACK

I have a FreeBSD machine with jails -- two in particular, one that runs nginx and another that runs a Java program that accepts requests via Jetty (embedded mode) Jetty receives upwards of 500 ...
1
vote
0answers
354 views

TeamCity sends inadequate responses after Selenium tests

I have a TeamCity 7.0.2 at CentOS 6.2 server without X Server. I've installed x11-fonts*, xvfb, firefox, xauth, extracted env. variable DISPLAY=localhost:1, and started xvfb. After that I could start ...
2
votes
1answer
661 views

Jetty (HTTP Servlet Server in Java) unexpectedly shuts down

A Jetty application is deployed on a server of mine, but keeps on terminating, with little understandable evidence as to why. Any help in resolving this would be greatly appreciated. Details: OS: ...
0
votes
3answers
3k views

JDK not found on CentOS 6 x64

I installed jetty on a CentOS 6 server, but when i try to reach a WAR example of jetty I get this error : org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK ...
1
vote
1answer
496 views

Jetty + Nginx + SSL in Debian

I'm going to use SSL with my webapp. If I have nginx as proxy for Jetty, do I have to configure Jetty to use SSL or can I redirect SSL traffic from nginx to Jetty as HTTP traffic?
0
votes
1answer
1k views

Inserv warning missing LSB tags and overrides

I installed Jetty 8 to my Debian server. When I added jetty to update-rc.d, it gives following warning. What is this and should I care about it? insserv: warning: script 'jetty.sh' missing LSB tags ...
0
votes
2answers
843 views

Proxying from nginx to Jetty

I'm proxying request from nginx to Jetty, but I have problem with request that Jetty receives. Jetty requests shows that request IP address is 127.0.0.1. But I want real server IP and my site has ...
21
votes
3answers
60k views

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 ...
3
votes
1answer
159 views

Two applications bind to the same socket?

C:\Users\bacadmin>netstat -anov | find ":80 " TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3976 TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3808 TCP [::]:80 [::]:0 LISTENING 3976 The one with the process id of 3976 ...
1
vote
1answer
486 views

Should Jetty always be behind another webserver (eg nginx, apache) to improve security?

For a long time I've always run nginx in front of jetty to do load balancing. However, I have a new project where I will be using HAProxy to do the load balancing and was wondering if I should have ...
1
vote
1answer
292 views

Jetty Vs Tomcat for a JSF based social networking & sharing website [closed]

I need to host my JavaServerFaces application which is a sort of networking & sharing website. Which amongst Jetty & Tomcat is recommended for my app? Need easy scalability, better ...
0
votes
2answers
392 views

WebApp accessible via localhost but not 127.0.0.1

i'm running a webapp on Jetty (Java application server) on my machine (Win7 pro X64) and i'm experiencing some weird problems: when i try to open it on my browser - it's accessible via localhost but ...
2
votes
3answers
467 views

Configuring a Unified Communications Certificate for many virtual hosts running in Jetty

I have a single IP with Jetty serving up X sites on port 80. Basically you can sign up for our service, then point your domain www.mycompany.com to that IP, and Jetty will serve up your custom site. ...
0
votes
1answer
705 views

proxying ip from nginx to jetty/gwt

Good morning! I have nginx setup in front of jetty 6, which is running a GWT application. I am trying to forward the ip address, and all the answers I find on the internet tell me to do this: ...
1
vote
1answer
637 views

Jetty + SSL + Linux=timeouts, disconnects. Is it production ready?

We are experiencing various reliability problems with a setup that includes Jetty on CentOS 5 running predominantly SSL. There are unexplained disconnects and time-outs and occational looping, ...
-1
votes
2answers
91 views

Keep jar running after disconnect [closed]

How can I keep a jar running on a server after disconnect that I start via ssh?
1
vote
1answer
179 views

What is the --daemon option?

I was installing Solr with Jetty using these instructions. Basically, those instructions made you download the Jetty startup script and copy it to /etc/init.d/jetty. But it was not working. Each time ...
2
votes
1answer
602 views

Monitoring and autorestarting Jetty if it runs out of memory

How can I monitor health of Jetty instance and automatically restart instance, if it runs out of memory?
0
votes
1answer
650 views

How do I restart Jetty on a Jenkins slave node?

I am trying to deploy a .war on a Jenkins slave node that is running Jetty using an execute shell build step. To do this I am running the following in my shell command. /etc/init.d/jetty restart ...
0
votes
1answer
344 views

Problems hosting a Jetty application on the same server as IIS.

I am a .Net programmer, lately developing a website in Jsp, using Jetty. I use Eclipse and the Maven-Jetty plugin. I have a virtual private server, which has IIS installed and is serving .NET ...
2
votes
1answer
2k views

“Keep-Alive” response header for Jetty Web server

How to enable "Keep-Alive" response header for Jetty Web server? Jetty web server - version 7
1
vote
1answer
895 views

How to simply host a webpage with Jetty?

How can I host a single "index.html" through Jetty? My idea is to put a webpage that calls an application with JNLP I really don't know how to serve the page at the first place! (or if it is ...
1
vote
0answers
105 views

how to get good logging for solr? and why sometimes it didn't accomplish the indexing process?

I have installed solr (lucidworks-enterprise-installer-1.7.jar) [jetty] on my server (Ubuntu 9.10), and created a cron job to build FULL index everyday morning 30 3 * * * curl ...
1
vote
1answer
3k views

Installed Jetty via Yum (CentOS), but can't find start.jar to run it

<UPDATE>/etc/init.d/ doesn't appear to contain any relevant entry (retrieved via ls -A): abrtd certmonger firstboot irqbalance mysqld nscd portreserve rpcidmapd ...
2
votes
1answer
603 views

How to configure jetty to listen to multiple ports?

I just want to configure jetty to listen to more than one port. I don't want multiple instances nor multiple webapps, just one jetty, one webapp, but listening to 2 or more ports. The default way ...
2
votes
2answers
681 views

Ubuntu Daemon Best Practices?

I have a RingoJS webserver (runs atop Jetty) that is part a an Apache reverse proxy setup. I would like multiple Ringo processes to run autonomously in the background, startup automatically on ...
0
votes
1answer
421 views

How should I deploy my JVM-based web application on ubuntu?

I've developed a web application using clojure/compojure (JVM based) and while developing I tested it using embedded jetty that runs on 0.0.0.0:8080. I would now like to deploy it to run on port 80 on ...