Questions tagged [jetty]

Eclipse Jetty is a widely-used async Java-based HTTP server and servlet engine supporting HTTP/1.0, HTTP/1.1, HTTP/2, HTTP/3, WebSocket, UnixSocket, and FastCGI protocols.

Jetty is a pure Java-based HTTP (Web) server and servlet engine with additional support for WebSockets, HTTP/2, HTTP/3, FastCGI, and many other integrations.

For list of all versions of Jetty, see Jetty Documentation: What Jetty Version?

Current versions are:

Jetty Version Java Min Version Servlet Supported?
Jetty 12 17 6.0 & 5.0 & 4.0 Pre-release / Supported
Jetty 11 11 5.0 Stable / Supported
Jetty 10 11 4.0 Stable / Supported
Jetty 9 8 3.1 End of Life
Jetty 8 6 3.0 End of Life
Jetty 7 5 2.5 End of Life
7156 questions
2
votes
1 answer

Displaying a startup message to the user after jetty:run startup

I have a maven profile which starts up a Jetty server using jetty:run. I'm trying to find an elegant way of informing the user that they need to visit a given URL after jetty:run has completed, e.g. 2012-03-06 10:49:14.513::INFO: Started…
skaffman
  • 398,947
  • 96
  • 818
  • 769
2
votes
1 answer

Has anyone successfully deployed Sonar on Jetty 7?

I am trying to deploy Sonar (automatic code monitoring tool) on a Jetty 7 servlet container. I would like to use the default config first (embedded Derby DB) as a POC and transition to a production grade DB later. So far I have tried various ways…
dimdm
  • 1,121
  • 1
  • 9
  • 13
2
votes
2 answers

How can I step through jetty's source to see how it processes a typical servlet request?

I want to step through the jetty source code as it responds to a typical servlet request. How can I do this? Do I need to download the source code? Where is the entry point where I should be setting the breakpoint?
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
2
votes
2 answers

How to see GWT Jetty devmode from another machine?

When I fire up Jetty, it gives me the standard URL: http://127.0.0.1:8888/index.jsp?gwt.codesvr=127.0.0.1:9997 Great. I can see this URL from my machine. However, I cannot access this URL from other machine, and replacing the 127.0.0.1 with my…
kidcapital
  • 5,064
  • 9
  • 46
  • 68
2
votes
2 answers

Jetty (mis)configuration: it wont respond from an external machine... why?

I installed jetty on an ubuntu 11 machine by sudo apt-get install jetty afterwards I configured the context, the war file and the NO_START variable. All works OK when I test it on the same machine, e.g. curl http://localhost:8080/ However, when I…
Dan
  • 1,163
  • 14
  • 34
2
votes
2 answers

Stream closed before the program finishes

I am using jetty server to receive calls from http clients. I am using BufferedWriter object to write a log file for debugging. The server is always running in order to receive calls. How can i tell the program to only close the stream…
Michael A
  • 5,770
  • 16
  • 75
  • 127
2
votes
1 answer

Jetty in Windows

I have a java application that opens a browser and browses to a remote servlet that performs a few redirects. Additionally, the java application instantiates a Jetty Server on an open port and waits for the servlet to redirect the browser to it. …
hatboyzero
  • 1,929
  • 1
  • 21
  • 44
2
votes
3 answers

web app started by jetty runner not working with jstl tags?

Used this command to start the web app using jetty-runner java -jar prject123/web/target/dependency/jetty-runner.jar project123/web/target/*.war The jstl code I have is as simple as this: , the source code I get from…
Bobo
  • 8,777
  • 18
  • 66
  • 85
2
votes
3 answers

Best Approach to Set Up External Dependency in Maven

I hope I'm explaining this as accurately as possible, and I want to know if I set up the maven dependencies correctly, or if there's a better way to do it. Most of my development team's projects rely on a home-grown jar that is deployed at server…
limc
  • 39,366
  • 20
  • 100
  • 145
2
votes
2 answers

Getting the Jetty instance from Spring Web Service

I am creating a web service with spring + jetty + cxf using the following:
Paul
  • 4,812
  • 3
  • 27
  • 38
2
votes
2 answers

Embedding an web application inside an desktop application with jetty

I have an war file with runs under tomcat i need to make it as an desktop application and most of them recommend to embedded an jetty server as an desktop application can any one explain how to do it with an example. I am little confused how to do…
Ramesh
  • 2,295
  • 5
  • 35
  • 64
2
votes
1 answer

How to set Jetty's document root?

I want my existing folder to be jetty's document root? Where can I set it?
SQC
  • 591
  • 3
  • 9
  • 18
2
votes
1 answer

Is it possible to use socket.io.js with Jetty?

I'm trying to use socket.io.js for the client to connect to a Jetty server with a Jetty WebSockets plugin. It appears that socket.io.js is specifically designed to be used only with a node.js implementation. Is it possible to configure…
Darrell Brogdon
  • 6,843
  • 9
  • 47
  • 62
2
votes
1 answer

Jetty 8 WebSocket and Session

im building a little web app that uses jetty 8 as server and websockets. On client (browser) side: the user opens with his browser my index.html and that opens and establishes a new WebSocket connection with my jetty server. On server side, i have a…
sockeqwe
  • 15,574
  • 24
  • 88
  • 144
2
votes
2 answers

how to debug gwt app server side code?

i have a maven gwt application with maven-jetty plugin, i tried to to debug the code with 'mvn jetty:run-war' and 'mvn gwt:debug', it start the application in gwt dev mode so i can debug the client side code but not the server side, how can i debug…
user468587
  • 4,799
  • 24
  • 67
  • 124
1 2 3
99
100