Questions tagged [jetty-9]

Version 9 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets, SPDY protocols, JSR356 (from 9.1), HTTP/2 (from 9.3).

Version 9 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets, SPDY protocols, JSR356 (from 9.1), HTTP/2 (from 9.3).

Jetty versions

560 questions
0
votes
1 answer

Use of Jetty Request Statistics in Production

From the Jetty documentation - http://www.eclipse.org/jetty/documentation/current/statistics-handler.html, it looks like enabling Connector statistics should be very cautiously used and should NOT be enabled for production use. However, I wanted to…
codehammer
  • 727
  • 2
  • 8
  • 26
0
votes
1 answer

Two Jetty embedded Server instances in one process

My question is simple: is it perfectly safe to have 2 independent Jetty Server instances in one JVM process, listening on different ports with independent URL mappings and SSL/TLS setup? I'm not seeing odd behaviour but before deploying to live, I'd…
Erik Kaplun
  • 33,421
  • 12
  • 92
  • 102
0
votes
1 answer

How to run Jetty forked Mojo on unextracted war dependency while overlaying jar project?

I have a jar type project. This jar is an "extension module" which goes to WEB-INF/lib of a third party webapp (which is available on a public maven repo). In pom.xml, I have a war type dependency on that webapp. I would like to be able run mvn…
Andreas Steffan
  • 5,731
  • 2
  • 21
  • 25
0
votes
1 answer

Jetty - separate webapp on a different port

I use Jetty Server to run a simple servlet Web Application in a separate port '1288'. I am able to run the webapp if I place it in default 'webapps' folder and run in default '8080' location. But It throws exception if I try to run it in a different…
Dinesh Kumar P
  • 1,008
  • 1
  • 16
  • 30
0
votes
0 answers

Put mimetex.cgi on jetty 9

I try to run the mimetex.cgi on a jetty 9.1.2. I never use a .cgi file and haven't any knowledge on this topic. Now just mv mimetex.cgi to your cgi-bin/ directory, set permissions as necessary, and you're all done. (John Forkosh) I don't know…
phil
  • 1,139
  • 1
  • 11
  • 21
0
votes
1 answer

Jetty 9, AsyncResponse not working

I have a spring app which exposes REST API's implemented in CXF. I'm trying to implement long polling for which I used AsyncResponse Along with Suspended. If I run this peice of code in tomcat (maven plugin or standalone) it works. But if I run the…
high-voltage
  • 123
  • 5
0
votes
1 answer

No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty

I'm using annotation only configuration, server starts but when I access some page, error is shown: WARNING: No mapping found for HTTP request with URI [/WEB-INF/view/main.jsp] in DispatcherServlet with name …
Xdg
  • 1,526
  • 1
  • 20
  • 39
0
votes
1 answer

How to run jetty as a daemon

I've just downloaded jetty 9 and wanted to run it as a daemon. I've set some options in /etc/default/jetty, here they…
Dmitrii Mikhailov
  • 4,447
  • 6
  • 39
  • 62
0
votes
0 answers

Huge difference in number classes loaded into memory by Jetty 8 and Jetty 9

I am running jetty-distribution-8.1.5.v20120716 and jetty-distribution-9.1.2.v20140210 on a windows 7 machine. And i find that with Jetty 9 the number of classes loaded into memory are a lot more than the number of classes loaded by Jetty 8…
Sudarshan
  • 8,014
  • 10
  • 47
  • 70
0
votes
0 answers

Control The Count of Number of Transaction Per Seconds on Single HTTP Keep-Alive Request using org.eclipse.jetty.continuation.Continuation

How can we handle the number of count for Transaction Per Seconds of Single HTTP keep-Alive request using org.eclipse.jetty.continuation.Continuation Class. I have extended the org.apache.camel.component.http.CamelServlet and override its service…
0
votes
1 answer

JSTL resulting in "ERROR 500 absolute uri cannot be resolved" when executing website as a JAR file

I am having difficulties with getting JSTL to work when executing my website as a JAR (works fine if I use the class files directly). When I run mvn package the dependency directory and website-1.0-SNAPSHOT.jar are created in the target directory. I…
Tom
  • 59
  • 2
  • 10
0
votes
1 answer

How to override the default Host request header using Jetty HTTP Client v9?

I am using Jetty client v9 to issue requests to a server. The address of the server I specify has to be in the form of actual (numeric) IP address for various reasons not important for this question, but I would like to pass the assumed host name…
Learner
  • 1,015
  • 9
  • 23
0
votes
1 answer

java.lang.reflect.InvocationTargetException in jetty-web.xml when setting WebAppContext.configurationClasses

I'm trying to add org.eclipse.jetty.annotations.AnnotationConfiguration to the configurationClasses property of org.eclipse.jetty.webapp.WebAppContext but (when invoking Jetty with sbt containe:start), getting: [warn] Config error at
Erik Kaplun
  • 33,421
  • 12
  • 92
  • 102
0
votes
2 answers

Unable to get servlet to be hooked in with @WebServlet annotation in an SBT project using Jetty 9

I ran into the issue while working on an existing Java project which I'd converted to use SBT (was based purely on Eclipse before). There was a servlet (say org.my.FooServlet) that was not possible to be accessed via a web browser even though…
Erik Kaplun
  • 33,421
  • 12
  • 92
  • 102
-1
votes
1 answer

Spring Boot embedded Jetty 403 error

I'm having a strange issue on my webApp that when I enter url I get immediatly this error HTTP ERROR: 403 Problem accessing /PayingServiceWeb/. Reason: Forbidden But if i enter manually the the name of the page frontpage.jsp to the URL it will…
Oliver
  • 11
  • 3
1 2 3
37
38