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
1answer
17 views

In Jetty 6.1.14, how can you get a basic file/we server running alongside a Java webapp?

HP Operations Orchestration 9.07 (now near EOL) runs in a Jetty 6.1.14 webapp on port 8443. How can I get Jetty 6.1.14 to run a separate, basic web/file server on port 80? What I have done so far in ...
0
votes
0answers
55 views

Why does chrome show a very long 'blocking' time (sometimes) when loading static files from Jetty 9

I'm seeing some strange behavior from Chrome when loading web resources from a Jetty 9.2.3 instance I'm setting up. In particular, I see some requests returning quickly, while others take a very long ...
0
votes
0answers
16 views

Jetty: set up general host

How can i force Jetty to open all deployed webapps starting from specific virtual host like test.localhost:8080/myapp instead of localhost:8181/myapp? Here's snippet from jetty.xml: <Call ...
1
vote
1answer
117 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
2answers
115 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/solr $JAVA_OPTIONS" JETTY_HOME=/opt/solr ...
0
votes
0answers
75 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 ...
1
vote
1answer
308 views

Monit cannot connect to Solr/Jetty instance

I have my Solr/Jetty up and running well on Ubuntu 12.04. I am trying to hookup my monit conf to monitor it, but it is having trouble connecting to the service. I have Solr running on port 8983 and ...
0
votes
0answers
63 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
1answer
316 views

https reverse proxy on http jetty

I have a jetty application on http. My web hosting runs a reverse proxy on apache on https, which proxies to my jetty application (http). browsing the first page (https://example.com/index.html) ...
-3
votes
1answer
66 views

debian - using apache virtual host as proxy [duplicate]

I have a server with debian 7.4 and apache2 installed. I have setup virtual hosts and all works well. Now instead of pointing the virtual host to a documentroot I need it to point to a port on the ...
0
votes
0answers
45 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
2answers
196 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
1answer
437 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
0answers
78 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 ...
1
vote
1answer
162 views

Apache not responding to all requests

Setup: I have around +1mio phones that are hitting my server. The server looks fine. Plenty of both CPU and RAM - the CPU is idle around 90% of the time (1) The database is not getting much load - ...
0
votes
0answers
94 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
106 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 ...
1
vote
0answers
56 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
792 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
329 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
110 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
705 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
65 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
173 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
2answers
1k 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
324 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
1answer
35 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
170 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
151 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 ...
1
vote
1answer
228 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
1answer
260 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
546 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
683 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 ...
1
vote
1answer
869 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
369 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
261 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
1answer
92 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: ...
2
votes
0answers
218 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
110 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
35 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
2answers
1k 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
160 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
57 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
130 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
2k 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
55 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
262 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
2k 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?
1
vote
0answers
312 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 ...