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
3answers
1k views

How to enable Jetty to support cometd/reverse ajax while let it listen to port 80?

I would like to use cometd / reverse ajax capability of Jetty 7. I tried to configure it so it listen to port 80, instead of 8080. However, according to ...
0
votes
3answers
276 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 ...
2
votes
2answers
984 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: ...
1
vote
2answers
380 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 ...
0
votes
2answers
95 views

Why can I not connect to jetty webserver on Ubuntu within AWS EC2 instance

Unable to connect from my webbrowser to my Jetty Server running on Ubuntu Linux SMP in Amazon Webservices EC2. I can connect using localhost whilst logged in from the machine itself i.e curl ...
0
votes
2answers
248 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. ...
4
votes
1answer
36 views

Solr4 installation with Jetty

I am trying to install Solr4 latest and want to run it with Jetty (servlet container). JAVA_HOME=/usr/lib/jvm/jre JAVA_OPTIONS="-Dsolr.solr.home=/opt/solr4/solr $JAVA_OPTIONS" ...
2
votes
1answer
626 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. ...
1
vote
1answer
6 views

Setting up Jetty SessionHandler

I am trying to set up persistent sessions on Jetty 9.2.3 on a linux machine running Java8. I have added jetty-web.xml file to my app under ${jetty.home}/webapps/app/WEB-INF/ with the following ...
1
vote
1answer
189 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?
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: ...
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 ...
1
vote
1answer
622 views

Jetty + SSL + Linux=timeouts, disconnects. Is it production ready?

We are experiencing various reliability problems with a setup that includes Jetty on CentOS 5 running predominantly SSL. There are unexplained disconnects and time-outs and occational looping, ...
0
votes
1answer
188 views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ...
0
votes
1answer
68 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
157 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
126 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
1answer
181 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
426 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
338 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
105 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, ...
0
votes
1answer
327 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
410 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
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 ...
2
votes
0answers
189 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 ...
2
votes
0answers
54 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 ...
1
vote
0answers
51 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
630 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 ...
1
vote
0answers
32 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 ...
1
vote
0answers
288 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
0answers
331 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 ...
1
vote
0answers
103 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 ...
0
votes
0answers
34 views

Unable to do “big” POST request with Apache2 and ProxyPass

I have an apache2 server, configured with proxypass to access a servlet which runs under Jetty. Now I have a problem with large POST request (600KB). The configuration is as follows: <Location ...
0
votes
0answers
34 views

Can't figure out how to place a context file in Jetty

I'm on a Google Compute Engine running Debian. I'm trying to write a simple context file for jetty. My file is like: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC ...
0
votes
0answers
25 views

Jetty URL rewrite according to accept-language?

Here is the scenario, I'm running multiple WAR web application in Jetty with VirtualHost setting, besides this web application I also have some website that only contains static pages. For the sake ...
0
votes
0answers
50 views

Jetty and IIS on same server, different IPs

I have Windows Server 2012 R2, fresh install and I am running there IIS for .NET applications, now for many different reasons I want to run Jetty on a same server. IIS is setup to listen only on (for ...
0
votes
0answers
86 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
78 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
41 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
0answers
227 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
0answers
93 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 ...