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
0
votes
2 answers

HTTPS in Undertow

I have a web service that runs on Tomcat and decided to try using Undertow instead. Generally, it's quite good, but I need HTTPS support and cannot enable it. Here is some helloworld code: DeploymentInfo servletBuilder = deployment() …
goldaniga
  • 113
  • 1
  • 1
  • 9
0
votes
1 answer

Make undertow/wildFly support non-English content

I am using WildFly9, but it seems support English encoding only! Browser content of Chinese characters: '我们', changes to '₩ネム¦ᄏᆲ' in server side! I am looking for configuration help or even an undertow patch ! Can anyone help?Great thanks!
happyyangyuan
  • 179
  • 3
  • 14
0
votes
0 answers

How to restrict a programmer to use a dependency in the pom.xml for spring boot?

For example Undertow(Spring boot - using Undertow container) Jetty(Spring boot - using Jetty container) org.springframework.boot spring-boot-starter-web
0
votes
0 answers

How to add/use self-signed certificate with Undertow to serve https?

I've generated a self-signed certificate using the following command: subj="/C=US/ST=Denial/L=Home/O=Student/CN=data.com" # -nodes flag provides no passphrase entry openssl req \ -x509 \ -nodes \ -days 365 \ -newkey rsa:2048 \ -keyout…
lucidquiet
  • 6,124
  • 7
  • 51
  • 88
0
votes
2 answers

failed undertow deployment wildfly 8.2 final UT010009

I'm migrating from Jboss 7.1.1 final to Wildfly 8.2 final and I get the following error when I try to start my servlet. Failed to start service jboss.undertow.deployment.default- …
0
votes
1 answer

Wildfly 8.2/Undertow - properties placeholder does not seem to work for alias attribute in host configuration

I'm trying to generalize Wildfly (8.2 Final) XML configuration in order to have a single configuration XML file with references of system properties (${what.ever.value.key.from.proerties}) in order to distinguish dev. and prod. env. by different…
Korvin
  • 35
  • 1
  • 7
0
votes
0 answers

Huge garbage created at regular intervals in Wildfly 8.2.0.Final

Huge garbage is created in wildfly every couple of minutes. Though Full GC is able to reclaim memory, this causes frequent full gcs, as heap is getting occupied due to the increase in number of objects created . We can reproduce this issue in 60…
Srivathsan
  • 49
  • 1
  • 7
0
votes
1 answer

Closing MYSQL Connections on Undertow

I have the following code that connects to a remote MYSQL server from Undertow. static DataSource newDataSource(String uri, String user, String password) { GenericObjectPool connectionPool = new GenericObjectPool(); …
AngryPanda
  • 1,261
  • 2
  • 19
  • 42
0
votes
1 answer

Very Slow MySQL Read Performance

I have the following table in MySQL: CREATE TABLE tweetdb( tweetid BIGINT(18) UNSIGNED NOT NULL, userid INT(10) UNSIGNED NOT NULL, timestamp CHAR(14), tweet TEXT, score TINYINT, PRIMARY KEY(tweetid,…
AngryPanda
  • 1,261
  • 2
  • 19
  • 42
0
votes
2 answers

undertow multiple webservices url

I want something like this on my address. How I can bind servlet1, servlet2, servlet3 to localhost:8080 so I can have different url to call such as localhost:8080/servlet localhost:8080/servlet1 localhost:8080/servlet2 localhost:8080/servlet3 I…
olyjosh
  • 431
  • 7
  • 15
0
votes
0 answers

add more servlet in undertow to servlet builder

I have this code that add servlet, and the url DeploymentInfo servletBuilder = deployment() .setClassLoader(ServletServer.class.getClassLoader()) .setContextPath(MYAPP) …
olyjosh
  • 431
  • 7
  • 15
0
votes
1 answer

When and Why do i have to go for Spring Boot?

When and Why do i have to go for Spring Boot ? Based on my reading till now, it helps me to boot-strap a spring based application pretty fast, I don't have to sit and create lot of xml configurations,deal with multiple dependencies, jars..etc.…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
1 answer

Setting worker threads for undertow server

I am trying to optimize the undertow server and I wanted to try setting the I/O threads (WORKER_IO_THREADS and WORKER_TASK_CORE_THREADS) for my HttpListener. Could you please help me with the required steps? Undertow server =…
pm2014
  • 11
  • 1
  • 4
0
votes
1 answer

Is there a way to force a character encoding on Immutant 2/Undertow in Clojure?

Is there any way to force a character encoding on Immutant 2/Undertow in Clojure? I am using Immutant 2 (2.0.0-alpha2) for my web application that serves web pages in Japanese in UTF-8, and, although the application runs perfectly fine in REPL on…
meriken2ch
  • 409
  • 5
  • 15
0
votes
1 answer

Creating virtual hosts in Wildfly/Undertow programmatically

I am building an application (deployed on Wildfly) that needs to create virtual-hosts based on how customers signup for the service. For e.g. the default application/service runs on a host called main.exampledomain.com. When customer A signs up for…
GPN
  • 53
  • 1
  • 7