Use this tag for version specific questions about Wildfly 21 - the lightweight, managed application runtime. When using this tag also include the more generic [wildfly] tag.
Questions tagged [wildfly-21]
19 questions
7
votes
1 answer
WildFly 21 - No routing provider found for default-server; using legacy provider based on static configuration
I got this warning while I run wildFly server
16:54:56,327 WARN [org.wildfly.clustering.web.undertow] (ServerService Thread Pool -- 77) WFLYCLWEBUT0007: No routing provider found for default-server; using legacy provider based on static…

Mina Fawzy
- 20,852
- 17
- 133
- 156
3
votes
0 answers
Need to add security-realms in Wildfly 26
I am migrating from Wildfly 21 to Wildfly 26.1.0
I need to add
…

Pent Terry
- 101
- 9
1
vote
2 answers
WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-metrics-smallrye' are not available:
I am trying to migrate WildFly 21 to 24 .
I have these errors in the console. Server can not running it is stopped.
14:11:19,550 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource…

emresahin
- 33
- 11
1
vote
1 answer
Deploying an MDB to listen to Kafka on Wildfly erros: WFLYEJB0383: No message listener of type fish.pay....KafkaListener found in resource adapter
I am trying to use the [JCA resoruce-adapters][1] to use an MDB to connect to kafka.
Following are the entries in the standalone-full.xml to configure the kafka resoruce adapter and the related ejb-mdb definition :
Note that the i have deploying…

Tarun Patel
- 243
- 9
- 22
1
vote
1 answer
How to get cluster nodes information on Wildfly 21?
I am trying to get the cluster information (esp nodes list) with the below Application code.
MBeanServer server = ManagementFactory.getPlatformMBeanServer();
String clusterMembers = (String) (server.getAttribute(new…

Sumanth
- 595
- 3
- 14
- 39
0
votes
0 answers
Deploy encrypted EAR file in wildfly
I am new bee with wildfly and deployment. I have a small application running inside wildfly container. I have a requirement to deploy it in hash. I am using Wildfly final version 21. I have exported an EAR file from eclipse. What I have done is that…

user82504
- 111
- 1
- 12
0
votes
0 answers
Context initialization failed: java.lang.NoSuchMethodError: 'boolean org.apache.xml.serializer.Encodings.isRecognizedEncoding(java.lang.String)
Our application is using Spring 5.3.0, Jdk 13, and Wildfly 21. Basically, I am upgrading the spring version from 4 to 5.3.0.I have resolved some issues.On application start, I am getting this exception below.
ERROR [org. spring…

Majid Khakwani
- 26
- 6
0
votes
0 answers
Configure jvm monitoring for wildfly 21
I have recently upgraded wildfly from 11 to 21 version. I was using jvisualvm for jvm monitoring, but now when tried connecting to remote wildfly server via jvisualvm , getting error
I have followed following steps to configure wildfly on linux for…

sjsj15
- 745
- 6
- 11
0
votes
0 answers
@EJB annotation not working for REST API class file
@EJB not working, returning null pointer exception when used. I am using jersey. It is working in the similar project of jersey earlier.
Rest API class
@Path("")
public class Services
{
@EJB
UserSessionBeanLocal userBean;
…

Prashant Kumar
- 1
- 2
0
votes
2 answers
Stateless Bean is null
It was working earlier when I was jersey 1.1. But now it says this.userBean is null.
Apart from that there is one warning in the log related com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1!
logs:
08:30:45,161 INFO …

Prashant Kumar
- 1
- 2
0
votes
0 answers
Multiple consumer issue in ActiveMQ with Wildfly
I am trying to build a basic registration form that sends the form data to a stateless bean through a Servlet. But inside ActiveMQ console I see two consumers for same queue also I need to register twice to add a new user in the list.
Any help is…

Prashant Kumar
- 1
- 2
0
votes
0 answers
Migration from WebLogic server to wildfly Server
I have middleware application currently running on WebLogic server and now I need to migrate to Wildfly server. can anyone help how to do this because our application is heavily dependent on WebLogic and we have multiple service to deploy also need…
0
votes
1 answer
Wildfly 21: bootable JAR can't find H2 JDBC driver/datasource classes
I'm deploying a bootable JAR on Wildfly 21.0.1.Final. The JAR is built with the wildfly-jar-maven-plugin. Here is the plugin configuration:
org.wildfly.plugins
wildfly-jar-maven-plugin
…

Seymour Glass
- 81
- 2
- 15
0
votes
0 answers
what is causing my Wildfly BOM compile error
I am upgrading to wildfly 21.0.2.Final for an application and wanted to pull the BOM for it rather than linking the dependencies that I needed 1 at a time.
mvnrepository says it should look like this: