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
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 ...
1
vote
2answers
430 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 ...
1
vote
2answers
687 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
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 ...
2
votes
1answer
3k views

Configure keep alive timeout on Jetty 6.1.19

How do you set the timeout on keep alive connections to the Jetty web server (in my case v6.1.19)? I would like to configure how long Jetty keeps connections open when a client requests keep alive. ...
2
votes
2answers
607 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, ...
1
vote
0answers
358 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 ...
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
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
498 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 ...
4
votes
1answer
3k views

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 ...
1
vote
1answer
489 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 ...
8
votes
4answers
5k views

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: <New id="redirect" ...
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
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
393 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
1answer
2k views

Jetty Service on Windows Server 2008 using Procrun: Missing service ImageFile

Xe want to run Jetty as a service on a Windows 2008 Server Virtual Machine. Therefore, I configured Jetty as a Windows Service using Apacke Procrun, following this short description: ...
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
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
603 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
346 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 ...
0
votes
1answer
651 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
2answers
854 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 ...
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. ...
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
3
votes
5answers
4k views

Why is solr admin panel not showing?

I have downloaded solr from here and untar'd it. Then went to the example directory in apache-solr-3.1.0/solr/example and ran this command java -jar start.jar But when I open ...
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
607 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 ...
1
vote
1answer
902 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 ...
2
votes
2answers
682 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 ...
2
votes
1answer
664 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: ...
4
votes
1answer
7k 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?
2
votes
3answers
2k 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/
1
vote
1answer
439 views

Server-specific environment variables - /etc/profile or /etc/profile.d

I need to setup some system-wide environment variables for my Jetty server. But where to put them? There seem to be 2 choices /etc/profile or /etc/profile.d? Which are the differences between the ...
0
votes
2answers
1k views

Configuring Jetty as a service - how?

As I'm using Debian, and as the packages in the package manager aren't quite up-to-date, I'm forced to do a manual installation. I downloaded the latest version as a .tar.gz file, and extracted it to ...
1
vote
1answer
917 views

SSL Configuration Problem

I've generated an SSL certificate with keytool: keytool -keystore keystore -alias mySite -genkey -keyalg RSA -keysize 2048 I got this configured and working fine, but obviously it wasn't signed by ...
0
votes
2answers
277 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. ...
0
votes
1answer
1k views

Creating a configuration based virtual directory in WEB-INF

Within a web application I want to create a "virtual directory" that lives under the WEB-INF directory. In effect what I am trying to accomplish is the same effect as creating a soft link in the ...
2
votes
1answer
2k views

Jetty Virtual Hosts

I'm trying to configure Jetty with multiple domains, the problem I'm facing is that Jetty is running withing another server product called SmartfoxServer, so I'm not really sure if i can actually ...
2
votes
2answers
1k views

jetty server executing php

I want to configure so that jetty runs PHP files, but have been unsuccessful so far. I have Jetty WTP tools installed in my Eclipse IDE. When I start up the Jetty server. I got the exception: ...
0
votes
1answer
450 views

Check pid of GeoServer running with Jetty

I have installed GeoSerer running with Jetty. I use monit to monitor GeoServer is running or not and I need pid in the process. Anyone can tell me how to do that?
2
votes
2answers
2k views

Deploy Jetty as port 80 daemon on Linux

I'm curious what techniques you Linux admin gods are using to manage your Jetty deployments. I come from a Windows Server background so I'm still getting used to all of this. I've been looking for a ...
3
votes
1answer
1k views

Apache2 + Solr: Tomcat or Jetty?

I have an (Ubuntu 10.4) server running Apache2 web server. So far so good, I have a few extensions setup just the way I hoped for, I'm happy. But now I'd like to try out Apache Solr because I'd ...
0
votes
1answer
1k views

How do I configure Jetty (via jettyrunner) so that it names a character set in the Content-Type response header?

I use Jetty (via the oh-so-handy Jetty Runner) for day-to-day web application testing. One thing I've recently stumbled on is the fact that I don't get a character set called out in the "Content-Type" ...
0
votes
1answer
3k views

howto configure mod_proxy for apache2, jetty

This is how I have setup my environment, atm. An apache2 instance on port 80. Jetty instance on the same server, on port 8090. Use-Case: When I visit foo.com, I should see the webapp, which is ...
1
vote
2answers
464 views

How do I expose a webapp on :8090, even though firewall allows only :80 and :22

I am a noob in Server related stuff, so bear me. I use amazon webservices (EC2) on which I have a webapp running on jetty, which runs on port 8090. I deploy the webapp through the usual method of ...