Questions tagged [undertow]

Undertow is a high performance non-blocking webserver that is the new web server in Red Hat's WildFly.

Website: http://undertow.io/

526 questions
3
votes
2 answers

Change WildFly 8 welcome-content to use myapplication.war

When using WildFly 8, pointing a browser at localhost:8080 results in the default welcome-content page being displayed. I want to change this behaviour so that myapplication.war is displayed instead. My standalone.xml file currently contains the…
cbl.adp
  • 244
  • 1
  • 4
  • 16
3
votes
2 answers

Wildfly: org.xnio.channels.FixedLengthOverflowException

Until now we used JBoss AS 7.1 which has a tomcat as front-server. We now upgraded to Wildfly (JBoss 8.0) which ships with undertow as a tomcat replacement. For our filedownloads, we are reading the input stream of the file, and writing this to the…
dognose
  • 20,360
  • 9
  • 61
  • 107
2
votes
1 answer

Undertow becomes unresponsive

We have just recently started experiencing a problem with the spring boot (v2.7.4) undertow server (which is version 2.2.22-Final). After running fine for sometime, the server becomes unresponsive to http requests. This is running in docker, based…
Forge_7
  • 1,839
  • 2
  • 20
  • 19
2
votes
1 answer

SpringBoot Openshift POST io.undertow.util.ParameterLimitException: UT000047: The number of parameters exceeded the maximum of 1000

I have a spring boot application that is deployed on RedHat OpenShift. Whenever I have a large POST request (~11000 lines) I get this message. java.lang.RuntimeException: io.undertow.util.ParameterLimitException: UT000047: The number of parameters…
Dani
  • 291
  • 3
  • 9
2
votes
1 answer

Migrating from Tomcat to Undertow org.springframework.web.servlet lib issues

I've searched Stack and google looking for an answer to no luck. So I'm hoping someone can help me here. I have a Spring Boot API which is currently using Tomcat, now I've read about some of the performance improvements in Undertow so I wanted to…
MetaCoder
  • 368
  • 5
  • 22
2
votes
0 answers

How to manage threads in WebSocket endpoint?

I am developing application with Web sockets on Wildfly. I do not know how Wildfly manages threads for Web socket. I guess that there is some thread pool but I noticed that one web socket endpoint has only one thread. Wildfly uses Undertow…
Mariusz
  • 1,907
  • 3
  • 24
  • 39
2
votes
0 answers

How to enable multiple tcp connections parallel in a springboot proxy simulator which uses OkHttpClient and undertow web-serverlet

@Bean UndertowServletWebServerFactory undertowServletWebServerFactory() { UndertowServletWebServerFactory factory = new UndertowServletWebServerFactory(); factory.addBuilderCustomizers( builder -> { …
AJ_222
  • 21
  • 2
2
votes
1 answer

WIldfly / Undertow UT010029 Stream is closed

running Wildfly 16 on jdk 9 and when repeatedly calling java StringReader, I get UT010029 Stream is closed. public void export(OutputStream out) throws Exception { ... while() { ... csvstream = new StringReader(csvcontent.toString()); try {…
user3757849
  • 199
  • 2
  • 14
2
votes
1 answer

How to configure Spring boot 2.4 server threads in undertow?

How to configure spring boot server threads (for both IO and Worker) for undertow embedded server? Thanks in advance.
S. Das
  • 93
  • 2
  • 10
2
votes
0 answers

undertow connection closed in spring boot project

I am working with spring boot project using undertow as web server. My client side application uses axios to make post request to my project. The request has json data type as parameter. However, I sometimes get error below about 5 times per day. My…
이재영
  • 51
  • 2
2
votes
1 answer

Error creating bean with name 'undertowServletWebServerFactory' when deploying Spring Boot application in JBoss EAP 7.1.0

I am trying to deploy a Spring Boot application in JBoss EAP 7.1.0. The Spring Boot application internally calls Apache Camel route and sends message to a JMS queue (provided by ActiveMQ Artemis embedded in JBoss EAP 7.1.0). The pom.xml is as…
Anirban
  • 925
  • 4
  • 24
  • 54
2
votes
1 answer

How can I set the Undertow MAX_ENTITY_SIZE in WildFly

I want to upload files directly as an InputStream body to a JAX-RS POST request. But the body is limited to 10MB by default, which is too small for some of my files. I found a configuration option MAX_ENTITY_SIZE, but how can I set those in WildFly?…
rü-
  • 2,129
  • 17
  • 37
2
votes
0 answers

Reverse proxy support in Quarkus

I have Embedded Jetty running which has reverse proxy servlet mapped for a particular URL. For ex: http://url1/abc is reverse proxied to http://url2. This works great, whenever someone calls http://url1/abc, data is served from http://url2. I want…
NumeroUno
  • 1,100
  • 2
  • 14
  • 34
2
votes
0 answers

How to catch RequestTooBigException in Spring Boot

I have request that exceeds max-request-size: 15MB. I would like to handle that exception instead of getting no response, or just printing stack trace. If you have solution, please let me know. java.lang.IllegalStateException:…
Rakoc
  • 29
  • 4
2
votes
0 answers

How to implement websocket/sse with OpenId on Quarkus?

Hi everyone, I'm using Quarkus 1.2.0 Final, and I want to implement a websocket and sse events with security. I'm using the oidc extension of quarkus which autenticate my users with the Authorization header. I don't know how to implement security…
Dorian Maliszewski
  • 821
  • 1
  • 10
  • 14