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

learn more… | top users | synonyms

0
votes
2answers
5k 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
897 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
46 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 ...
0
votes
1answer
160 views

gracefully stopping Apache Solr from command line

I using using jetty to run Solr using the following cmd line: java -jar start.jar & how can I stop this instance of solr gracefully?
9
votes
3answers
10k 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
492 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
581 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
618 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
333 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
738 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 ...
6
votes
1answer
1k views

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?
1
vote
0answers
248 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
247 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 ...
1
vote
0answers
371 views

Nginx vs jetty for static file serving - benchmark [closed]

I've seen quite a few articles/blog posts on how to set up nginx (together with varnish as well) as a front end to jetty (or any servlet container for that matter) for serving static data. Is there ...
3
votes
1answer
703 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
110 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 ...
0
votes
0answers
89 views

How to set maximum number of processes for Jetbrains YouTrack

I run YouTrack on a small server. By default it launches a lot of processes that take all available memory. Manipulations with Java parameters don't help, so as I see, the only way to reduce memory ...
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
294 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
2answers
1k views

How to change base path of Solr example?

I've followed the Solr tutorial, but the URL they make you use is: http://localhost:8983/solr/ What is the most simple way to change this URL to: http://localhost:8983/foobar/
2
votes
2answers
570 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
443 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
720 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 ...
20
votes
3answers
46k 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
153 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
430 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
274 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
346 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 ...
1
vote
0answers
66 views

Jetty Server not starting in Citrix environment [closed]

I am having problems with Jetty running on Citrix. I use the Eclipse IDE and Jetty Server. When I choose Run as Java Application, goes to waiting state and waits until the other person using Jetty ...
2
votes
3answers
460 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
603 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
585 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, ...
0
votes
0answers
108 views

why is my webapp not working?

I've finally installed jetty on my machine. I then got the sample web app code from jodconverter and used the "mvn package" command as instructed here: ...
-1
votes
2answers
86 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
165 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
480 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
577 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
295 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
1k 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
621 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
102 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
2k 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 ...
1
vote
1answer
508 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
635 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
405 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 ...
0
votes
2answers
657 views

how to enable access to port from network in ubuntu?

when i "netstat -an | grep LISTEN" i have line: tcp6 0 0 127.0.0.1:24030 :::* LISTEN i want it to be tcp6 0 0 ::24030 :::* ...
0
votes
2answers
224 views

Help with Jetty crash log

Greetings, I am currently using solr as the backend behind a log aggregation and search system my team is developing. All was well and good until I noticed a test server crashing quite unexpectedly. ...
3
votes
1answer
6k views

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?