Top "Jetty" questions

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

Profiling jetty with visualvm is super slow

I have a wicket+spring+hibernate application running on Jetty. When I start CPU profiling it with VisualVM (jdk 1.7.0_9) it …

profiling jetty visualvm
How do I configure embedded Jetty to handle OPTIONS preflight requests?

I am working on a project which is using embedded Jetty (unfortunately I just "inherited" the server side of the …

jetty cors embedded-jetty http-options-method preflight
How to discover embedded Jetty port after requesting random available port?

Server server = new Server(0); (..) server.start(); // this returns _zero_ ?!?! int listeningPort = server.getConnectors()[0].getPort(); I'm using embedded Jetty 7 API. Passing …

java jetty
Java spark framework enable logging

I'm building a java application with Spark framework with embedded Jetty and handlebars template engine. But when i get an 500 …

java maven jetty embedded-jetty spark-framework
Bad version number in .class file

I am trying to deploy a webapp in my local Jetty with Maven. My Java -version in command line is …

maven jetty jdk1.5 unsupported-class-version
Jetty 8 + EJB 3.1 + JTA + CDI + JPA 2 stack?

Can anyone tell me if it is currently possible to "glue together" a partial Java EE 6 Web Profile over Jetty? …

java jetty java-ee-6 ejb-3.1 openejb
why is it necessary to return a Response object instead of String object to an http request in java?

I defined my REST method to return a String data type as a response to an http request. This is …

java rest jersey jetty embedded-jetty
Jetty startup delay due to scanning

Context and setup information: Jetty 9 with the eclipse jetty plugin Spring 4.1.1.RELEASE with Spring Security 3.2.3 Spring Java Configuration (no web.…

spring spring-security jetty maven-jetty-plugin jetty-9
ClassNotFoundException FreeMarkerConfigurationFactory

I have a big web application that uses FreeMarker. When I recently updated to Spring 3.2.4 and ran the web app …

java spring spring-mvc jetty freemarker
Increasing Jetty/Solr heapspace

I'm running Cygwin with Jetty and Solr431. Here's the contents of my .bat file I use to start Solr: @echo …

memory solr cygwin jetty heap-size