I want to use GraalVM (version 22.0.0.2 with Java 17.0.2) to execute JavaScripts within Wildfly (version 26.0). If I do have the following code: then my JSE unit test, started from Eclise, works fine. But if I call the same code within my EAR within Wildfly, I get an What’s wrong? How can I inform Wildf…
Tag: wildfly
JMS Topic – Weblogic to Wildfly / JBoss migration
I have one of my Topics in WebLogic with overrides properties “Time-To Deliver Override” and “Delivery Mode Override” I’m working on a migration to WildFly server. I’ve declared the Topics in the standalone.xml under the ActiveMQ subsystem tag as following But, I have no id…
Wildfly Undertow: jakarta.servlets.Servlet does not implement javax.servlet.Servlet
I am trying to migrate some Servlets from javax libraries to jakarta. Changes are pretty straightforward but, when I try to run them on Wildfly 23, I get this error message: Servlet JAX-WS-Service of type class com.sun.xml.ws.transport.http.servlet.WSServlet does not implement javax.servlet.Servlet This happe…
How to update standalone.xml offline in WildFly
As part of my project, I need to support legacy JAAS security domain to protect my EJBs. I am following the quickstart (https://github.com/wildfly/quickstart/tree/master/ejb-security-jaas) and updating the configuration using jboss-cli (https://github.com/wildfly/quickstart/blob/master/ejb-security-jaas/confi…
Shared Dependency for two Deployments on Wildfly
I have two webapps, which are deployed within the same wildfly. Both webapps should share certain libraries, which are not part of the wildfly modules. To keep the deployment non-dependent on the specific wildfly, I would prefer not to provide the shared libraries via the wildfly-module system (I am aware, it…
Is there a way to configure the storageProviderTimeout in Keycloak?
I have developed an implementation of the User Storage SPI that calls an API in a legacy system to migrate users. I need to configure my own value for storageProviderTimeout as there is a remote chance that it will take longer than the default 3 seconds to get a response. I have already configured the socket-…
DRools: no-loop true attribute not working with update() method inference
I have a simple DRools package with a single rule whose DRL source is the following: Then, in my Java EJB I execute rules like the following: ruleListener is a vlass which implements AgendaEventListener interface and in implementation of method beforeActivationFired I count how many rules are activated and fi…
Error com.fasterxml.jackson Deploy .WAR Spring Boot in JBoss/Wildfly
ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] (default task-22) Forwarding to error page from request [/api/method] due to exception [com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()Z]: java.lang.NoSuchMethodError: com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenie…
Include third party library in wildfly jar (keycloak SPI)
I am creating plugins (providers) for keycloak using the Service Provider Interface. I have been able to build a couple. Now I need to add the smallrye-graphql-client library to query a graphql server. However, the library is not found in the classpath when I deploy the pluging. Questions Is it possible to st…
Spring Boot: use database config from WildFly’s standalone.xml
I’m currently developing an REST app whith Spring boot. For development, I hardcode my database configuration in application.properties. However, this app is going to be deployed on different WildFly servers, each of them defining their DB config (user credentials) in standalone.xml. As I’m a newb…