In care (and unknown) conditions Apache DS goes in an infinite loop with: ERROR [org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar] (NioDatagramAcceptor-1) ERR_00001_BAD_TRANSITION_FROM_STATE Bad transition from state START_STATE, tag 0x6C This results in Maven surefire going OutOfMemory.
Created attachment 860432 [details] 6.2.0 test log
Created attachment 860433 [details] 6.2.1-CR4 test log
The infinite loop is caused by wrong exception handling in org.apache.directory.server.kerberos.protocol.codec.KerberosDecoder. The issue seems to be fixed in latest ApacheDS release (2.0.0.M15). Will retest and confirm the fix.
When the ApacheDS is updated to 2.0.0.M15, the OOME is gone. However, we are hitting another issue with kerberos pre-auth: https://issues.apache.org/jira/browse/DIRKRB-99
Unfortunatelly, upgrading ApacheDS solves OOME however it exposes a bug in latest OpenJDK which makes it crash on SPNEGOLoginModuleTestCase.
https://github.com/jbossas/jboss-eap/pull/1147
Verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1085709 Will be verified in ER2.
Didn't occured in EAP 6.3.0.ER2 so far again.