Category "wildfly"

OAuth 2.0 flow using Keycloak with a back-end and front-end?

I'm working on a project that consists of: A back-end in Java (JEE project deployed on Wildfly) Front-end developed in Angular Keycloak for authorization and au

javascript canceled request after 50 seconds

Describing of context: java app (running under wildfly) works under high workload and heap is almost filled. Because of that full GC runs often and this leads t

Possibility to access wildfly / app server libraries via jboss-deployment-structure.xml?

I have a web application running on a wildfly app server (22.X). It contains a war file which has the ability (besides the actual functionality) to query the wi

LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Deploy Spring-Boot Application on Wildfly

I am trying to deploy a Spring-Boot Vaadin java application on a Wildfly server with a .war. Unfortunately I always get this error message: 2022-04-28 00:23:18,

Jakarta EE 8 Security > Wildfly 26 Elytron - Role not being set

I am trying to setup a simple JSF login using Jakarta EE 8 Security, I have implemented the login page as a custom form as follows: @ApplicationScoped @CustomFo

when publish and start wildfly for the first time, it always deleting all files first and then copying

When I start the wildfly for the first time after shut down and start my notebook, I find it always delete many files and then copy many files to wildfly, but t

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 Wildfl

Getting exception when trying to add entry to PROTOSTREAM based cache in Wildfly

I want to use an Infinispan cache with a PROTOSTREAM marshaller in my app running on Wildfly 26.0.1. I found the following post on StackOverflow, where both @My

Error when installing Jboss AS, wildfly & EAP Server Tools in Eclipse

I have Eclipse 2021-03 installed with Monterey OS. I tried to install Jboss AS / Wildly Server. I tried to add from servers tab, but it keep getting me error ab

ParseError using JGroups for HornetQ in WildFly 9

Currently I am using WildFly 9. We are trying to configure TCP-based load sharing with HornetQ. We have use JGroups for dynamic discovery, and we have added fol

Connect to Wildfly Elytron's Credential Store with Masked Password

I have a credential store that I created with Elytron's tool giving a clear text password: "mypassword". In my Java program I can connect to the store with the

What to use instead of org.jboss.security.auth.spi.DatabaseServerLoginModule?

We are switching to new Java 17 and new WildFly 26. Using older Java, we had a custom login module class which extended org.jboss.security.auth.spi.DatabaseServ

How to resolve: antlr.CommonToken cannot be cast to antlr.Token?

I have just finished an update from wildfly 9 to 23 and am now re-working my arquillian implementation to work with the new application server version. Dependen

Java System Logger on WildFly

Since JDK 9 we have a new Java Logging API: https://docs.oracle.com/javase/9/docs/api/java/lang/System.Logger.html https://www.baeldung.com/java-9-logging-api h

Wildfly 26 changed behaviour of REST with content type "x-www-form-urlencoded"

while updating from Wildfly version 24 to version 26 I found an anoying change within REST. If I post with curl some data, it is just not received on the server

Keycloak administration console not working

For me Keycloak is working but when I click on Administration console it showing error 404 Not found. Keycloak url: Administration console error:

Accessing assets folder in angular when deployed to Wildfly

So the main problem is when I deployed Angular app to wildfly, it tries to use assets-folder straight from the host, not from the host/pdv/assets. Failed to loa

How to map LDAP Usergroups to Wildfly roles

we have javaee application running on wildfly 18. authentication is done by kerberos security-domain (com.sun.security.auth.module.Krb5LoginModule). this works

Starting jbpm process with REST API with parameters and document attachment

I am using jbpm version 6.5.0. I have requirement to call process through REST API and I am successful to start process with parameters. I am testing it with

Is it worth to use singleton to load a configuration file?

I have a java web applilication. This application loads its configuration file with singleton according source file below. public class Configuration { private