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
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 ...
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 ...
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 ...
0
votes
3answers
1k 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?
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 ...
6
votes
2answers
2k 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?
2
votes
0answers
390 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
432 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 ...
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 ...
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 ...
1
vote
2answers
845 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
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 ...
2
votes
1answer
4k 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
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, ...
1
vote
0answers
415 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
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
596 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 ...
4
votes
1answer
4k 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
663 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
7k 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
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
318 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 ...
1
vote
1answer
3k 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
853 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
724 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
407 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
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
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 ...
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. ...
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
6k 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
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
753 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
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 ...
2
votes
2answers
724 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
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: ...
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?
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
482 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
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
2answers
341 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
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 ...