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

learn more… | top users | synonyms

1
vote
1answer
44 views

Is it bad to have two webapps each on different servlet container than both on same, on a production server?

I need to run two webapps on a ubuntu VPS but one(my own webapp) prefers to run in Tomcat & other(Solr webservice) is preferable in Jetty. But I think running a separate server for each webapp ...
0
votes
1answer
230 views

Jetty - java.lang.IllegalStateException: zip file closed

I'm getting some error with some connection to our web server. We are getting this error randomly: java.lang.IllegalStateException: zip file closed at ...
2
votes
1answer
1k views

Password protect app in jetty

I am testing a webapp (.war) running in Jetty 7. For demo purposes I want to run this on a public URL, however I would like not to have the whole world (if they happen to come across the URL) be able ...
3
votes
2answers
3k views

Securing Apache Solr in production

I am setting up Apache Solr 4.1 that will be used to index data for a web app. Only the web app should have access to the Solr. Users and other clients will not talk directly to Solr. What are some ...
0
votes
1answer
855 views

Openfire Java Out of Memory Error - Any solutions?

I have huge problem with openfire crashing every now and then because of the lack of memory. In java log i have following error log. however problems are Openfire is 32 bit and i cant run it as 64 ...
2
votes
1answer
1k views

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.
0
votes
1answer
451 views

rewrite engine: How to test if URL on different server is reachable?

I am trying to use the rewrite engine of nginx to redirect requests. On the same machine I have a Jetty running on port 8080, which is delivering some content. I want to check if the content is ...
0
votes
1answer
121 views

Installed JDBC drivers into Solr

I am running Solr4 on Jetty9 and I am trying to include the JDBC drivers for both MySQL and PostgreSQL. I'm a little confused about how I do this. I believe these to be the two files I need: ...
2
votes
0answers
278 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
852 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
123 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
49 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
2k 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
234 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
63 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
164 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 ...
3
votes
1answer
2k 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
3k 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 ...
1
vote
2answers
8k 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
61 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
14k 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
2k 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
848 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
693 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
518 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
798 views

Any reference / book on setting up Jetty on Linux box? [closed]

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 ...
2
votes
0answers
393 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
435 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 ...
0
votes
2answers
123 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
2k 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
418 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
736 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
4k 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
597 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
2k 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
1k 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 ...
3
votes
1answer
170 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
667 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
319 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
433 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
470 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
854 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
votes
2answers
95 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
191 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
725 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
738 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
408 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
1k 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 ...