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
0answers
108 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
769 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
732 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
433 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
817 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
349 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. ...
6
votes
1answer
9k 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
1k 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
441 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 ...
1
vote
1answer
870 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
493 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
3k 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
948 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
2k 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
517 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?
3
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
487 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 ...
6
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
999 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
199 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 ...
1
vote
1answer
754 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
458 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 ...
13
votes
2answers
9k 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
970 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
812 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
865 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
6k 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
1answer
886 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
617 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 ...