We are running into https://bugs.openjdk.java.net/browse/JDK-8232997. In our case this results in a JVM crash when loading custom JFR event classes. The cause seems to be when multiple threads end up calling #defineClass for the same custom JFR event class then JVM crashes. This seems to be caused by a particularity of JBoss Modules in that it… Show more
Hi, I'm migrating Java 1.7 to 1.8 and JbossEAP6.1 to WildFly14.0.1. we are on AWS and we notice on the logs of the dockers that there are many errors of the type: [GC (Allocation Failure) 1085489K->562034K(1908224K), 0.0661752 secs and when we do performance tests (stress tests), sometimes dockers crashs. we already analysed the heap dump and we… Show more
Allocation failures are normal. They happen when a memory pool fills up. In your case, ParallelGC, they are what triggers a GC. You had a GC pause of 66ms in which your heap went from 1'085'489K to 562'034K at a total size of 1'908'224K. You should see the same when you run the stress tests on EAP with Java 1.7 and PrallelGC.
We have a use case where we need to know the roles a user has. We currently do this by iterating over all roles and calling EJBContext#isCallerInRole for each. Unfortunately this results in a lot of allocations. As a short term measure we will migrate to org.wildfly.security.auth.server.SecurityDomain but other use cases or users may benefit from… Show more
Hi All, I am new to wildfly and want to activate Active Directory authentication from wildfly 18. The roles are store in a database, so authorisation is handled in Database. With previous releases, this was possible with two modules in the security-domain (one LdapExtended and one Database) Can someone point me to a good documentation… Show more
We are currently using Elytron LDAPS support to authenticate against Active Directory. Unfortunately there currently seems to be no way to do site aware LDAPS because of two reasons Active Directory only adds SRV records for LDAP, but not for LDAPS the Java LDAP support includes support for SRV records but not for site awareness For Java 12+… Show more
After migrating to Java 11 we were suddenly seeing a lot of caught exceptions in sun.rmi.runtime.Log#getSource(), see https://bugs.openjdk.java.net/browse/JDK-8230058. Apparently somewhere in Java 9 a distinction between system loggers and user loggers was introduced. See java.util.logging.Logger.SystemLoggerHelper The WildFly logging… Show more