Jetty is a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

learn more… | top users | synonyms

5
votes
0answers
41 views

Is this Kerberos/AD setup possible?

We have a slightly complicated IDAM setup: I.e. the end user's machine and browser sit in one network with the parent AD, and our Jetty-based application and the AD that it can talk to (local AD) ...
0
votes
0answers
10 views

WARNING: No mapping found for HTTP request with URI in my vps

The Spring MVC config map the request to "/test/api" Everything works fine at local, I can visit "localhost:8080/test/api" and get JSON results {"status":"ok"} But I deploy the code with Jetty in ...
-2
votes
1answer
28 views

Need to run httpd and jetty on the same centos7 server

I have a VPS with CentOS7 with httpd + php running on 80 port and let's say with domainOne.tld. All of the web files are in /var/www/html. Now I need to run a java application on jetty on another ...
0
votes
1answer
14 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
231 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 ...
1
vote
0answers
23 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:...
0
votes
0answers
17 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, ...
1
vote
1answer
123 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
110 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. ...
0
votes
1answer
33 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 ...
0
votes
0answers
51 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 ...
0
votes
0answers
37 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
9 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....
0
votes
0answers
331 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 ...
0
votes
0answers
22 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
241 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
50 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
1answer
174 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
322 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 ...
2
votes
1answer
768 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
185 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 ...
0
votes
1answer
803 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: ...
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 ...
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
170 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 ...
1
vote
0answers
1k 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
656 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:...
2
votes
2answers
790 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 ...
1
vote
0answers
404 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
844 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) ...
-3
votes
1answer
326 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
2answers
746 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 http://...
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 # ============================...
1
vote
1answer
513 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 - ...
1
vote
0answers
128 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
2k 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
2answers
856 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
314 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.
3
votes
1answer
8k 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 http://192.168.1.5:...
0
votes
1answer
390 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
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 ...
0
votes
3answers
643 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 ...
1
vote
1answer
53 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
300 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 java.util.zip.ZipFile.ensureOpen(ZipFile....
0
votes
1answer
292 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
617 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
608 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
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 ...