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
4 views

Configuring Jetty for FastCGI has worked, but how to add virtual hosts?

On CentOS 7 Linux I have successfully followed the guide Configuring Jetty for FastCGI. However the $JETTY_BASE/webapps/jetty-wordpress.xml file in the guide serves a single Wordpress installation ...
0
votes
2answers
101 views

Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?

On CentOS 7 Linux (acting as LAMP - and not "firewall/gateway") I have created a custom systemd service for running embedded Jetty at port 8080 as user nobody: [Unit] Description=WebSocket Handler ...
3
votes
2answers
4k 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 ...
0
votes
1answer
1k 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 ...
2
votes
2answers
2k 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: java....
2
votes
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: http://...
1
vote
1answer
1k 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 WebAppContext@15ddf5@15ddf5/webapp,null,/path/to/jetty-distribution-7.0.1.v20091125/webapps-...
1
vote
0answers
20 views

Redirect jetty request to apache

I am centos 7. I have two servers running apache and jetty. Jetty at port 8080 and apache at 80. Now I have to redirect all request from jetty to apache home page like. if a user type http://my-ip:...
44
votes
6answers
141k views

Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18

Apache is receiving requests at port :80 and proxying them to Jetty at port :8080 The proxy server received an invalid response from an upstream server The proxy server could not handle the request ...
0
votes
0answers
12 views

Jetty : server is getting redirected to 302 instead of HTTP 500

We are doing a service call running on Jetty which has a expected behavior to fail with HTTP response=500 and gives a redirection url in the response location ( header ). In the subsequent call, ...
5
votes
2answers
5k 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
112 views

how to increase Apache mod_proxy Jetty 5minute timeout

we use Apache and Jetty to do install components behind a firewall. Some actions take a while ( 10-15 minutes ). Apache is the proxy and Jetty is the proxy target on some machines. Everything works ...
0
votes
1answer
98 views

How to send a permanent (301) redirect from HTTP to HTTPS in Jetty 9

After following the suggestion on How to have Jetty redirect http to https, we were able to get our standalone Jetty deployment to redirect all HTTP requests to HTTPS. The redirect however is a 302. ...
2
votes
2answers
1k 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
29 views

haproxy/jetty - redirect all unknown path_beg

i have configured valid domains and paths e.g. http://submdomain.host.com/validpath1 http://submdomain.host.com/validpath2 this is identified redirected by: acl url_monitor path_beg /Monitor/ ...
0
votes
0answers
10 views

Performance Impact of a SSD on Jetty

I was wondering if anyone has experience or data if the overall performance of a request is impacted by a SSD when using e. G. Jetty with all necessary data loaded to the RAM. I would expect no ...
2
votes
2answers
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. ...
0
votes
0answers
47 views

Geoserver (a java based webapp) returns 404 for some clients after a bit of use. Rebooting the Ubuntu instance temporarily fixes it

Geoserver returns 404 for some clients after a bit of use. Rebooting the Ubuntu instance temporarily fixes it. It seems to happen to clients of mine on xfinity more than others. The service will ...
14
votes
2answers
12k 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 ...
2
votes
2answers
826 views

Any reference / book on setting up Jetty on Linux box? [closed]

I have purchased a vps system recently for Java web development recently. However, I need to setup everything, configure apache, email etc. Are there any guide/reference book I can study to get these ...
0
votes
0answers
34 views

How to use shibboleth IDP under proxy?

Say I have a java web application which is configured to work with Shibboleth identity provider. Now I'm adding some another server on dfferent host which proxies requests to java web application. ...
0
votes
0answers
8 views

Increase the artifact size for Archiva 2.2?

I have successfully configured Archiva 1.3.x to accept artifacts which are larger than the default setting via the struts.multipart.maxSize property in archiva/apps/archiva/WEB-INF/classes/struts....
2
votes
3answers
1k 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
0answers
293 views

Apache/2.2.3 - 502 proxy error the proxy server received an invalid response from an upstream server

I am using apache as web server and Jetty as application server. One of my particular request always returns back 502 proxy error. Same request with different/broader search parameters works fine. I ...
-1
votes
2answers
115 views

Keep jar running on server after ssh disconnect [closed]

How can I keep a jar, that I started via ssh, running on a server after disconnect my ssh?
0
votes
0answers
20 views

Can't connect to opennms machine on vpn

I'm connected to a VPN that has some machines in it, 2 of those have opennms and I can access both of them through ssh, so I know I have visibility, but when I try to log via web, I can only connect ...
3
votes
0answers
227 views

Creating SSL certificate signed by a self-signed CA certificate in Jetty

I'm trying to configure a jetty-distribution-9.3.1.v20150714 backend running on Java 1.8.0_45-b14 with a certificate signed by a self-signed CA certificate, for SSL pinning. Following Apple's guide, ...
0
votes
0answers
48 views

apache2 ProxyPass to port 4004

I'm trying to run a small clojure application on my friend's web server, he has kindly given me access so I can set my app. It runs on ring which basically compiles to a jetty server. So the ...
0
votes
0answers
122 views

Jetty horizontal scaling guide need

I am writing a web service with embedded jetty. I also want to use this example to test jetty horizontal scalability, but I don't know how to do that, and have no similar experience on horizontal ...
0
votes
1answer
147 views

Configure Jetty to host simple HTML page

On my Azure VM I have a Jetty server that is hosting my Java servlet which is deployed on /opt/jetty/webapps/myservlet.war pointing to example.cloudapp.net/myservlet. In addition I want to host a ...
1
vote
2answers
304 views

Redirecting nginx to another internal port not working

I have an nginx instance running on port 80 and another app (embedded jetty) running on the same machine on port 4567. I'm trying to redirect any request that includes /api/ in the URL, to the server ...
4
votes
1answer
2k 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 # ============================...
2
votes
1answer
737 views

Jetty 9 support for TLS_FALLBACK_SCSV

I've been trying to get that A+ on the SSL Server Test @ SSL Labs. However, I can't figure out how to pass the "downgrade attack prevention" test: I'm running Jetty 9.3.0.v20150612 alongside ...
1
vote
1answer
174 views

Run two web servers at the same port (jetty, grunt)

I want to run two web server at the same port. I know you can do this with tomcat and apache for entire domains. But what I'm looking for is a way for jetty to forward traffic to a specific directory ...
3
votes
2answers
20k views

Jetty 7 gives HTTP ERROR: 503 - service unavailable

I am getting the error 503 when I try to start Jetty. Does anyone know what this might mean. I am running Jetty 7 and starting it with the start.jar file. If anyone knows how to configure Jetty to ...
1
vote
1answer
1k views

https to http reverse proxy on Jetty 9

Okay, so basically what I want to do is set up a reverse proxy to serve https pages on nginx and redirect them to Jetty using http. The problem is that the servlet actually requires https and ...
2
votes
2answers
768 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
1answer
709 views

Session lost in Jetty using Apache as proxy [closed]

I have an application based on eXist-db. It's basically a Java web application that uses Jetty. It runs on the remote Linux server behind Apache proxy. I use the following Apache configuration: ...
3
votes
1answer
2k 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
1answer
59 views

same port opened - one on the asterisk (*) address and one on localhost

running on Mac with two jetty instances i've arrived to this peculiar situation: ~$ lsof -ni :9905 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 40320 ******* 394u ...
1
vote
2answers
163 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
3answers
2k 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?
2
votes
3answers
3k 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
0answers
953 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 ...
1
vote
1answer
628 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 content:...
7
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?
0
votes
2answers
3k 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 ...
1
vote
0answers
390 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
820 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 ...
1
vote
1answer
1k 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) ...