Use this tag for version specific questions about WildFly 12 - the lightweight, managed application runtime. When using this tag also include the more generic [wildfly] tag.
Questions tagged [wildfly-12]
36 questions
4
votes
2 answers
Keycloak invalid_token Didn't find publicKey for specified kid
I am using keycloak to secure my rest service and I am able to get the token , but when I am using this token for to get my rest service response, getting following error:
HTTP/1.1 401 Unauthorized
Cache-Control: no-cache, no-store, must-revalidate,…

Pathak
- 183
- 5
- 21
2
votes
1 answer
could not get to increase the max post size in wildfly 12 above 250 MB
14:55:23,465 ERROR [stderr] (default task-1) io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 209715200
14:55:23,465 ERROR [stderr] (default task-1) at…

gsakthivel
- 365
- 3
- 17
2
votes
0 answers
Wildfly Websocket Endpoint returns 404
I want to setup a WebSocket Connection to upload a lot of very small files (1kb-50mb) to a web-application.
My Web-App runs in Wildfly, and the rest/https based components work fine, however my Websocket connection returns 404 everytime or 200 when…

Saggex
- 3,390
- 3
- 22
- 37
2
votes
0 answers
Caused by: org.jboss.modules.ModuleNotFoundException: org.quartz
I am adding quartz-2.2.1 scheduler to my application and on deploying it on WildFly 12 the below error is thrown.
Caused by: org.jboss.modules.ModuleNotFoundException: org.quartz
at org.jboss.modules.Module.addPaths(Module.java:1221)
at…

santoshM
- 237
- 6
- 24
2
votes
1 answer
What is the Wildfly infinispan web cache container for?
I'm using Wildfly 12.
The default configuration of the infinispan subsystem defines a cache-container named "web". I tried to find out why this container is defined and who uses it, but could not find any explanation in the documentation or anywhere…

JayTheKay
- 1,463
- 12
- 22
2
votes
1 answer
Groovy JsonBuilder classloading error in Wildfly-Camel 12
I am invoking JsonBuilder.toString() in Groovy code inside a Camel route. This Camel route runs inside Widlfly Camel 12.0. The code looks like so:
def builder = new JsonBuilder()
builder {
'myField': myFieldVal
}
return builder.toString()
The…

sanjbh
- 45
- 1
- 6
2
votes
1 answer
Programmatic access to password from Elytron credential-store
I am using Elytron on WildFly 12 to store a datasource password encoded.
I use the following CLI commands to store the password:
/subsystem=elytron/credential-store=ds_credentials:add( \
location="credentials/csstore.jceks", \
…

André
- 464
- 4
- 17
1
vote
0 answers
Deploy java project on Wildfly server-error "WFLYSRV0177:Error getting reflective information for class org.glassfish.jersey.servlet.ServletContainer"
I am trying to deploy my project on wildfly and got the error below
14:50:07,843 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 104) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./Prj:…

F.Ali
- 21
- 1
- 8
1
vote
0 answers
How to fix Unchecked throwable in managedConnectionReconnected() in Wildfly?
We see in our logs a big amount of these errors (1k per second)
ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper]
(EE-ManagedScheduledExecutorService-default-Thread-1)
javax.resource.ResourceException: IJ000457: Unchecked throwable in
…

Nikita Sokolov
- 55
- 6
1
vote
0 answers
Unable to inject HttpServletRequest inside thread in Wildfly 12.0
In my Java Web Application with RESTful WebService, I was using Wildfly 8.2 which had weld 2.2.6. I am injecting HttpServletRequest object in thread and reading parameters from it. After upgrading to Wildfly 12.0 with weld 3.0.3, using instance of…

Manjusha Nair
- 21
- 3
1
vote
0 answers
Why is the java.exe is consuming more CPU due to “org.xnio.nio” threads?
We are running WildFly 12 with JDK 1.8 version. We faced the portal down / slowness issue in our web application due to high CPU usage (90% above) of java.exe. Then, we have taken a thread dump using JStack and most of the high CPU threads are…

mathiyarasu.T Arasu
- 71
- 7
1
vote
1 answer
Tell Wildfly to redirect to HTTPS after login instead of HTTP when behind HTTPS wildfly undertow-balancer
We have a load-balancer sitting in front of two wildfly servers. The load-balancer handles the SSL handshake and forces all traffic over https (http requests are redirected to https requests), the wildfly nodes do not have certificates on them and…

Pathak
- 183
- 5
- 21
1
vote
1 answer
How to configure Wildfly load balancing with redirect
I am working with wildfly undertow load balancer , and I added following configuration in standalone-load-balancer.xml but my request is not getting redirected?
I added reverse proxy handler and host to the Undertow subsystem as :
…

Pathak
- 183
- 5
- 21
1
vote
1 answer
WSS4JInInterceptor migrate to wildfly12
I'm planing to migrate jboss 5 to wildfly 12. There is a web service which is using org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor to validate access to the service. For that it uses configuration in jboss-cxf.xml as…

Nishanthi Wickramasinghe
- 165
- 2
- 15
1
vote
0 answers
Arquillian + ear + wildfly in remote container = NoSuchMethodError
I have an ear created with ShrinkWrap. I'm trying to run AQ tests on remote (dockered) wildfly 12 container. WF is deployed properly, necessary ports are opened and available. While trying to run tests I get:
16:05:42,922 TRACE [listener] Invoking…

bonzo
- 96
- 1
- 6