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
0answers
11 views

Putting Axis2 web service running under jetty 9.1.3 behind apache proxy with SSL

I have an axis2 application running under jetty 9.1.3 and behind an apache2 proxy Apache2 and jetty communicate via http and I set the ProxyPreverseHost directive, so the wsdl get the right hostname ...
0
votes
0answers
8 views

Is Jetty immune to Slow HTTP Denial of Service attacks (e.g., slowloris)?

After a security scan, our webserver was found to be vulnerable to "slow HTTP denial of service" attacks. We are currently on an older version of Jetty (6.1.22). I'm not sure if the scan actually ...
0
votes
0answers
14 views

How to enable authentication for cargo webapp in jetty container? (docs does not work for me)

It looks like I'm stuck with a simple and well documented issue, but nevertheless. I'm trying to enable basic authentication in cargo web-app deployed to the Jetty server. I'm following this document ...
1
vote
0answers
67 views

How to have Jetty redirect http to https on the same port?

This question is related to How to have Jetty redirect http to https and Jetty 9 - redirect http to https but not answered in either location. Basically, we run our app at some port, say 8085. We ...
0
votes
2answers
66 views

Jetty Server High CPU Load

Sometimes jetty loads our server for 100% - every thread for 100% of 1 core. We have jetty 9 and JDK 1.7 (at Jetty 6 and JDK 1.7 - this doesn't appears). Jetty now running on default settings, ...
0
votes
1answer
26 views

Session clustering with Jetty-runner 8.1.14.v20131031

I'm using Jetty-runner 8.1.14.v20131031 and I would like to know what's the easiest way to achieve session clustering between multiples running instances.
0
votes
1answer
176 views

nginx is running but not serving?

I've been trying to set up nginx as a proxy to jetty. I have one laptop running ubuntu server. Now I made jetty working at localhost:8080 and it serves the home page for the app at ...
0
votes
0answers
11 views

Jetty interpreting multiple JAVA_OPTIONS as one system property

I am trying to launch Jetty and specify multiple system properties for my app on the command line. Here is how I am launching it: sudo -E bash -c 'export ...
0
votes
1answer
79 views

Jetty only serving static files

For some weird reason I can not get jetty to properly deploy my gwt project. I have put the war folder in the webapps folder and renamed it to root after that i can start jetty and it recognizes the ...
0
votes
1answer
682 views

ERROR: JETTY_HOME not set

I have tried installing Jetty server on my Ubuntu 12.04 following this steps. But when I start my server I get the following error, service jetty start ** ERROR: JETTY_HOME not set, you need to set ...
0
votes
3answers
153 views

jetty crash trouble shooting

Recently I switch to amazon ec2 + jetty9 + oracle jdk7_u45 for cost saving. I found the jetty server is very unstable. It crash randomly without any jvm dump file. Tried to enable stdout with the ...
0
votes
0answers
99 views

Jetty - 401 Unauthorized when using basic authentication

I am running SOLR on jetty in Ubuntu (a bitnami VM, if that helps) and am trying to lock down access to both the admin pages and the update/delete/etc. pages using basic authentication. When I ...
0
votes
1answer
23 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
71 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 ...
0
votes
1answer
63 views

Jetty Rewrite NoSuchMethodException

I tried to configure jetty rewrite rules. I used code from the example here: http://www.eclipse.org/jetty/documentation/current/jetty-handlers.html#d0e10798 but when I try to run it I get: 2013-09-29 ...
0
votes
0answers
75 views

Jetty 9 - redirect http to https

I'd like to force use of https in Jetty 9. Apparently: <Set name="confidentialPort">443</Set> no longer works in jetty 9. How should I do it properly?
0
votes
0answers
65 views

archiva/jetty with nginx ssl proxy: getting http responses

I've been banging my head against this for awhile now. I have an archiva repository server I'm trying to proxy through nginx with ssl offloading. archiva has a jetty server built in that is listening ...
0
votes
1answer
132 views

Jetty: How to redirect base url?

Scenario: I'm using a jetty server. I have a webapp running on: myip/myWebApp Question: How to redirect base url to base url/something ie. http://190.23.30.1/ --> http://190.23.30.1/mywebapp So ...
0
votes
1answer
365 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 ...
0
votes
0answers
46 views

Deploying GWT on a web server vs Tomcat/Jetty

Can anyone who has experience break down the pro's and con's of having servlets running from apache tomcat/Jetty vs hosting the output of GWT over a web server?
1
vote
1answer
394 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
217 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
149 views

Error enabling DIH on SOLR4

I'm a bit stuck here. I had Solr4.4 working without too many issues. I wanted to enable the DIH so I firstly added these lines to the solrconfig.xml: <lib dir="../contrib/dataimporthandler/lib" ...
0
votes
0answers
120 views

Installing Solr in Jetty

I've been unable to install Solr4 into Jetty9. Jetty seems to be running fine, and this is the steps I took to install solr: # SOLR cd /opt wget -O - $SOLR_URL | tar -xzf - cp ...
0
votes
1answer
61 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: ...
0
votes
0answers
43 views

How to make Jetty wait for mongodb and elasticsearch

My servlet which runs in Jetty requires mongodb and elasticsearch to be started before it can operate. If one of those parts are missing then there is a big crash and nothing works. This is a problem ...
1
vote
0answers
124 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 ...
0
votes
1answer
84 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
24 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
0answers
70 views

Intermittent timeouts from app engine cron job, but server is up?

I have a jetty instance running on a machine I own (v7.6.9 on windows xp...) Then I have an app engine app - it has a cron job which just calls an endpoint on the jetty instance every 15 minutes to ...
0
votes
2answers
748 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
81 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
52 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
92 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
833 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
43 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
1answer
145 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?
1
vote
2answers
1k 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 ...
5
votes
1answer
1k 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?
1
vote
0answers
208 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
197 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 ...
1
vote
0answers
307 views

Nginx vs jetty for static file serving - benchmark [closed]

I've seen quite a few articles/blog posts on how to set up nginx (together with varnish as well) as a front end to jetty (or any servlet container for that matter) for serving static data. Is there ...
1
vote
1answer
536 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
293 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
538 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
107 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 ...
0
votes
0answers
87 views

How to set maximum number of processes for Jetbrains YouTrack

I run YouTrack on a small server. By default it launches a lot of processes that take all available memory. Manipulations with Java parameters don't help, so as I see, the only way to reduce memory ...
2
votes
1answer
917 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
2k 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
314 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, ...