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

jetty 8 - websockets : how do I get the client IP address?

Simple task. I'm using the websockets server implementation by jetty, and I have to get the client IP address, but I don't know how.
Doua Beri
  • 10,612
  • 18
  • 89
  • 138
2
votes
1 answer

Invoking filter programmatically inside servlet (Created using jetty/spark)?

I'm trying to create a lightweight, self-contained webservice using the spark microframework ( http://www.sparkjava.com/readme.html ). I need to work with multi-part forms (I want to receive both a file, and some key-value data). Jetty (on which…
Marcin
  • 48,559
  • 18
  • 128
  • 201
2
votes
1 answer

Missing Jetty SVN trunk directory

m2e in minutes video references the Jetty SVN trunk directory which does not exist. What is the correct value to use at this time?
CW Holeman II
  • 4,661
  • 7
  • 41
  • 72
2
votes
1 answer

How do I create a new eclipse project for jetty from a tomcat based project and versioned with svn/subclipse?

Is there a simple way to solve the following problem? I have an eclipse workspace with a dynamic web project shared in svn using subclipse plug-in. The project is based on tomcat7. Now I would like to move the project to jetty8, leaving the source…
maxqua72
  • 391
  • 1
  • 9
  • 25
2
votes
1 answer

how to run cxf jax-ws without build-in jetty (use tomcat instead)

every time when i run with the following inside tomcat, cxf build-in jetty is up and serving the request. is there…
zhoubig
  • 23
  • 1
  • 4
2
votes
3 answers

Running CGI on Jetty

I'm starting Jetty from inside the Java program itself. I'm simply trying to get it to point at a cgi-folder that I've placed underneath the package directory (/src/package/cgi-bin) The problem is that every time I start up the server, it complains…
joslinm
  • 7,845
  • 6
  • 49
  • 72
2
votes
3 answers

Anyway to replace IntelliJ with vim/emacs + commandline?

I was looking to replace some of the most frequently used settings I have for IntelliJ with vim (or emacs, if needed) & command line tools. I use Auto-import of libraries Deployment of various services in Jetty with debugging (I use breakpoints a…
prafulfillment
  • 911
  • 2
  • 11
  • 26
2
votes
2 answers

Getting my server address - Jetty web server

I am using jetty server (from org.mortbay.jetty.Server) Server server = new Server(8080); How do i get my server address so i can send messages to it for testing? Thanks.
Michael A
  • 5,770
  • 16
  • 75
  • 127
2
votes
2 answers

Low latency web server/load balancer for the non-Twitters of the world

Apache httpd has done me well over the years, just rock solid and highly performant in a legacy custom LAMP stack application I've been maintaining (read: trying to escape from) My LAMP stack days are now numbered and am moving on to the wonderful…
virtualeyes
  • 11,147
  • 6
  • 56
  • 91
2
votes
2 answers

embedded jetty forward from servlet to jsp

Im try to get my embedded jetty servlet to do some processing and then pass control over to a JSP which will generate a result page. The servlet gets mapped and called correctly however it fails to find the JSP. Since Im using embedded jetty I…
Rob McFeely
  • 2,823
  • 8
  • 33
  • 50
2
votes
1 answer

Jetty Http Client logging

I am using Jetty Http Client v7.5.4. The problem is that all Warn messages are coming on the console. I understand that Jetty uses sl4j. Since my app uses log4j, I have placed slf4j-api-1.6.4.jar and slf4j-log4j12-1.6.4.jar in the classpath. Is…
Dunxton
  • 408
  • 1
  • 8
  • 21
2
votes
1 answer

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):
Boom King
  • 55
  • 6
2
votes
1 answer

What's up with console colors in Eclipse?

When launching application with run-jetty-run plugin, it writes full output in Console only in red (error color). How to make it write in right normal color?
Plastic Rabbit
  • 2,859
  • 4
  • 25
  • 27
2
votes
2 answers

jetty guice illegalaccessError

I'm seeing odd behavior in my application running on standalone jetty. Starting the application throws an error: 2011-12-14 16:46:20.634:WARN::Error starting handlers java.lang.IllegalAccessError: class sun.reflect.GeneratedConstructorAccessor2…
Steve B.
  • 55,454
  • 12
  • 93
  • 132
2
votes
1 answer

OSGi, Jetty and CometD/Bayeux

I have got Jetty and Bayeux working well together to allow me to use comet with dojo. However, I now need to move to an OSGi jetty environment and am struggling to get it working. In the non-OSGi environment, the following line works and lets me…
EdJ
  • 1,296
  • 1
  • 11
  • 16
1 2 3
99
100