Questions tagged [jetty]

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

Jetty is a widely used java based http server and servlet engine with additional support for WebSockets and SPDY protocols.

Current versions are:

163 questions
1
vote
0 answers

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:8080/some-thing in browser, it should be redirected…
1
vote
1 answer

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 simple HTML page and point example.cloudapp.net to…
Arturo
  • 423
  • 3
  • 6
  • 20
1
vote
1 answer

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 to grunt. for example domain.com This is…
Icy Creature
  • 223
  • 2
  • 5
  • 11
1
vote
2 answers

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 the jetty.xml config file has been…
warren
  • 18,369
  • 23
  • 84
  • 135
1
vote
2 answers

How do I set up Jetty 6 & Jboss 4.0.5 virtual hosting?

I have 2 webapps deployed in the same JBoss/Jetty server. In Jetty 5.1.14 I had the following jetty-web.xml which configured one of the apps to run as a virtual host (on the same port):
1
vote
1 answer

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:
Kęstutis
  • 533
  • 1
  • 6
  • 16
1
vote
0 answers

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: ProxyPass http://127.0.0.1:8080/myservlet…
schube
  • 183
  • 3
  • 9
1
vote
1 answer

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 can connect via http://localhost:8983/solr/, but…
coneybeare
  • 621
  • 1
  • 7
  • 14
1
vote
1 answer

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) works, however when I click on a link, it falls back…
1
vote
1 answer

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 - less than 100 request a second (2). When I hit the…
Theis
  • 135
  • 5
1
vote
0 answers

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 -…
shabunc
  • 87
  • 1
  • 2
  • 12
1
vote
0 answers

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 have generally used HTTP to access this app. We've…
Splaktar
  • 111
  • 1
  • 5
1
vote
2 answers

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, previously we run it with JAVA_OPTIONS="-Xms4096m…
LLAlive
  • 135
  • 7
1
vote
2 answers

Deploying applications in Jetty (as a former Tomcat user)

I'm trying to deploy a GWT app with Jetty. I have a folder with both static content and servlets (including web.xml and java class files). In Tomcat I was able to simply move this folder into the webapps directory, and…
DLH
  • 1,115
  • 2
  • 10
  • 13
1
vote
1 answer

What is wrong with this SSL certificate?

I'm running a Java servlet application with Jetty. Now i wanted to make it more user friendly and require a certificate. After importing (see above) the browser (FF) still reclaims an unsecure self-signed certificate. Should this work right now or…
PeterMmm
  • 895
  • 16
  • 28