Latest Questions tagged Wildfly

Browse all latest questions tagged Wildfly

Published 30 Oct, 2022
Java - Wildfly datasource does not connect to MySql database

I am completely new to Wildfly/JBoss so i am clueless what to do, i am sitting on this problem since yesterday noon. I am trying to use the mysql-connector-java-8.0.20.jar as the connector and my Wil...

Published 29 Aug, 2022
Java - Keycloak extension with dependencies

I'm creating a Keycloak extension with dependencies. I added the entry on the pom.xml like this: <dependency> <groupId>org.json</groupId> <artifactId>json</artifact...

Published 21 Aug, 2022
Java - Wildfly configuration with DataSource

this is the first time I am trying to setup datasource in my Wildfly server. I tried to follow some tutorials which I found on Google but it still doesn't work. I am working on a web service but I ke...

Published 07 Sep, 2022
Java - Reading passwords stored in WildFly's Elytron credential store using Java?

I have couple of application password stored in Wildfly 17.x credential stores. How to programmatically accessing the stored passwords from credential store? This is how the credential store is creat...

Published 01 Sep, 2022
Java - Jboss port configuration on Intellij Idea error

I'm trying to run my application on Jboss App Server by Intellij Idea12. I've done configuration: but As you can see in the picture I got the error Management Port Configuration not found.

Published 31 Aug, 2022
Java - Bearer only authentication in Wildfly without using Keycloak

I want to do my own implementation of Bearer-only authentication in Wildfly. In essence, I will do the following steps: When I receive a request, I will check if it has an Authorization header. I o...

Published 28 Aug, 2022
Java - Multithreading transactions hanging during persisting entity to postgresql via wildfly

I've got a bean definition with an entityManager like this: @Stateless public class JPABean<T> { private static final Logger LOG = Logger.getLogger(JPABean.class); @PersistenceContext...

Published 23 Aug, 2022
Java - ClassCastException: com.mysql.jdbc.Driver with Wildfly 10.0.0.Final

I'm taking com.mysql.jdbc.Driver cannot be cast to javax.sql.DataSource when trying to use the Wildfly 10 datasource. This is my datasource configuration in standalone-full.xml: <datasource jndi-...

Published 22 Aug, 2022
Java - wildfly time out [300] is occurring while running the project in debug mode on server

when i run my project in the wildfly there is no issue . but in eclipse when i run the project in debug mode on server after 5 minutes ie 300 s a timeout error is occurred. i tried changing the stan...

Published 21 Aug, 2022
Java - Wildfly org.jboss.nio -> FileNotFoundException: Invalid file path with Windows Java JDK 11.0.15+10

Since the update to Eclipse Tamurin JDK 11.0.15+10 we notice a problem as soon a HTTP request reaches Wildfly 20.0.1.Final. The same behaviour exsists in Wildfly 26.1.0.Final This only happens with th...

Published 20 Aug, 2022
Java - java.lang.IllegalArgumentException: Parameter 'directory' is not a directory

I am trying to deploy a maven web application on my local wildfly machine. But I am getting this error: 08:55:02,595 ERROR [io.undertow.request] (default task-55) UT005023: Exception handling request...

Published 20 Aug, 2022
Java - Keycloak Java adapter - Retrieving roles list

I need to retrieve the roles associated to user, but I am working with wildfly, I have installed all jar keycloak in wildfly and my Java project, but can I retrieve this list by Java adapter? Other o...

Published 19 Aug, 2022
Java - How do I undeploy all artifacts from WildFly?

I am developing a web application and deploying (with IntelliJ) to WildFly 10.1. I recently renamed my webapp module, which results in renaming my war file from foo.war to bar.war. Every time I start...

Published 19 Aug, 2022
Java - How to load an external property file to Spring Boot in Wildfly

I wonder how can I load an external property of my application running inside Wildfly 9 as WAR, I tried to add a java parameter to Wildfly execution but it seems the application did not recognize the...

Published 12 Aug, 2022
Java - Unable to find CDI BeanManager

I'm trying to set up a simple application to use SpringBoot 2.1.1 and Java 11 over Wildfly 14 (because Wildfly 15 isn't supported by Eclipse). The deploy failed because Wildfly cannot find the CDI Be...