Questions tagged [embedded-jetty]

Jetty is a widely used web container (server) written in Java and produced by Eclipse.

Jetty is a widely used web container written in Java. Jetty has a slogan, "Don't deploy your application in Jetty, deploy Jetty in your application."

What this means is that as an alternative to bundling your application as a standard WAR to be deployed in Jetty, Jetty is designed to be a software component that can be instantiated and used in a Java program just like any POJO. Put another way, running Jetty in embedded mode means putting an HTTP module into your application, rather than putting your application into an HTTP server.

You can find extra information for Jetty at Codehaus.

1375 questions
-1
votes
1 answer

How can we "disable" thread pooling in Jetty

Can Jetty Server be configured not to pool threads, but to create/terminate a Thread every time? I at first thought to create a simple ThreadPool class, but it didn't look like... We're aware that it's not very good for performance, and we are…
Dai MIKURUBE
  • 125
  • 1
  • 1
  • 13
-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
votes
1 answer

500 internal server error with spark servlet

The issue I am having is that when I send the post request , the data are added to the data base , but the response I have is internal server error . When I check the database everything is added , but the error is still showing up after the…
TheLetch
  • 375
  • 1
  • 4
  • 15
-1
votes
1 answer

Jetty Server : Memory consumption issue.

We are running a JAVA web application with the help of jetty runner on a customize device board. The device board has some limitation like "SWAP disable"[RAM of 1GB], so whenever we start our JAVA webapplication with jetty, the memory consumption…
prashantr
  • 20
  • 5
-1
votes
1 answer

Unable to Compile class for JSP - embedded jetty 9

I am trying to setup a embedded jetty 9.3.9 server, have configured the JSP support for the Jetty server - not very well experienced with this stuff, however, whenever I try to load any JSP page, I receive - Unable to compile class for JSP: ||An…
devop
  • 49
  • 2
  • 12
-1
votes
1 answer

How to add a jar to a war application and start the App.java inside the in the jar which has jetty config?

I have a java application packaged into App.jar which has App.java class when ran as Java application starts the jetty server and exposes REST services, now I want the Jar to be embedded in to a WAR project with and when the WAR is deployed in to…
-1
votes
1 answer

Jetty client: send request with a large payload

I am trying to send POST request with a large payload using Jetty client 9.3.3 But seems like my jetty client is not sending the whole payload. Is there a payload size limitation by default? How can I make it able to send a large payload? [EDIT]…
sabrina2020
  • 2,102
  • 3
  • 25
  • 54
-1
votes
1 answer

jetty not accessible using internal ip address(192.168.1.134) but works with localhost/127.0.0.1

I am trying to run embadded jetty using eclipse. below is the code snippet. Server server = new Server(4269); ContextHandler context = new ContextHandler(); context.setContextPath("/abc"); server.start(); server.join(); I can see following in…
Kartik Patel
  • 479
  • 1
  • 4
  • 19
-1
votes
1 answer

gwt requestbuilder returns 404 NOT_FOUND error while trying to access xml-file with eclipse jetty

iam working with gwt2.4 and iam trying to access a simple xml file with the gwt requestbuilder. iam using eclipse and the embedded jetty-server. project structure: myfooApp war person.xml and iam using places and activities. i dont know why…
Pero
  • 774
  • 3
  • 15
  • 34
-2
votes
1 answer

Restful Jetty HTTP ERROR 404 accessing not found

Here is my url; http://localhost:2222/test1/test1/home/hello This url causes the error below. HTTP ERROR 404 Problem accessing /test1/test1/home/hello. Reason: Not Found And main servlet starter and resource class below ResourceConfig config =…
Mert Serimer
  • 1,217
  • 2
  • 16
  • 38
1 2 3
91
92