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

learn more… | top users | synonyms

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?
1
vote
1answer
886 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
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
1answer
398 views

Accessing jetty server on aws via internal ip

I've setup a solr server in aws. It's an ubuntu server and jetty is the webserver being used. I'm able to access the solr instance externally but my webserver can't access the solr instance via the ...
0
votes
1answer
632 views

NullPointerException on jetty 7 startup with jetty deployment descriptor

I'm getting the following error when I start Jetty: 2010-03-01 12:30:19.328:WARN::Failed startup of context ...
1
vote
1answer
411 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 ...
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 ...
3
votes
1answer
783 views

Configuring a Jetty web application on a different port

I'm brand new to Jetty. I'd like to ask if its possible to have Jetty listening on port 8080, however where specified, serve a specific web application under say /var/jetty/webapps/<appname> ...
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 ...
0
votes
1answer
427 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 ...
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" ...
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 ...
1
vote
2answers
460 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 ...
5
votes
1answer
1k views

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 ...
0
votes
2answers
794 views

Hot deployment in production of J2EE Web Application

How do I deploy my Java WAR file on a production server without any downtime. I currently use Apache2 -> Jetty6 when I need to update the web application I unzip the war into the directory then ...
0
votes
2answers
189 views

Jetty8 virtual hosts

I have a server JAR that is deployed once per customer, it is the API server for their software package. To that end, the port for each API instance must be the same, so that anything programmed ...
0
votes
1answer
529 views

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

Gerrit accessible from the IP address but not from the canonical URL

I just installed Gerrit on my Debian server (Linode) and can't get the canonical URL to work. Relevant log information (anonymized): [2010-09-13 17:48:06,550] INFO com.google.gerrit.sshd.SshDaemon ...
15
votes
5answers
2k views

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 ...
13
votes
2answers
7k views

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 ...
1
vote
2answers
2k views

Nginx as a proxy to Jetty

Pardon me, this is my first attempt at Nginx-Jetty instead of Apache-JK-Tomcat. I deployed myapp.war file to $JETTY_HOME/webapps/, and the app is accessible at the url: http://myIP:8080/myapp I did ...
0
votes
1answer
837 views

Does Tomcat or Jetty cache dynamic content?

I'm working on a Servlet app with contents that are updated periodically. Hence, between updates any dynamic pages generated by the Servlet can be cached. Does Tomcat or Jetty (or any Servlet ...
0
votes
1answer
751 views

Proxy Jetty to Apache

I have a site that is served by jetty on port 8080 and apache is on 80 redirecting requests to jetty. My problem is when ever I shutdown jetty for maintenance or restart and during the period any one ...
0
votes
2answers
2k views

jetty 6.x on ubuntu jaunty 9.04

I am a complete newbie - to sys admin. Actually, I don't know if I should ask this to developers or sys admins. I am trying to configure a 256mb slice on slicehost - intending to install Jetty 6/7. I ...
2
votes
2answers
831 views

Java hosting (jetty preferred)

I currently use PairOne/OddHost for hosting, does anyone recommend anyone else for good, cheap, reliable hosting? I would like to keep it below $100/year. Walter
1
vote
2answers
5k views

Deploying applications in Jetty (as a former Tomcat user)

I'm trying to deploy a GWT app with Jetty. I have a folder with both static content and servlets (including web.xml and java class files). In Tomcat I was able to simply move this folder into the ...
2
votes
2answers
15k views

Jetty 7 gives HTTP ERROR: 503 - service unavailable

I am getting the error 503 when I try to start Jetty. Does anyone know what this might mean. I am running Jetty 7 and starting it with the start.jar file. If anyone knows how to configure Jetty to ...
2
votes
1answer
853 views

Apache and jetty

I have a VPS in wiredtree where i would like to run a scala/lift application with jeety in a server that is running a LAMP stack. I want to use comet actors so i will be using the "long http hack" and ...
1
vote
2answers
611 views

How do I set up Jetty 6 & Jboss 4.0.5 virtual hosting?

I have 2 webapps deployed in the same JBoss/Jetty server. In Jetty 5.1.14 I had the following jetty-web.xml which configured one of the apps to run as a virtual host (on the same port): <Configure ...