<html><body><div>Hi,</div><div><br data-mce-bogus="1"></div><div><span style="color: #000000; font-family: SFNSText, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 22.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;" data-mce-style="color: #000000; font-family: SFNSText, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 22.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;">I am using WildFly 10.0.0.CR4 and Keycloak 1.7.0.CR1.</span></div><div><br data-mce-bogus="1"></div><div>I received the following error:</div><div>2015-12-10 12:26:59,012 ERROR [io.undertow.request] (default task-74) UT005023: Exception handling request to /admin/system-config/login.html: java.lang.NoSuchMethodError: io.undertow.server.Connectors.ungetRequestBytes(Lio/undertow/server/HttpServerExchange;[Lorg/xnio/Pooled;)V<br> at org.keycloak.adapters.undertow.SavedRequest.tryRestoreRequest(SavedRequest.java:112) [keycloak-undertow-adapter-1.7.0.CR1.jar:1.7.0.CR1]<br> at org.keycloak.adapters.undertow.ServletSessionTokenStore.restoreRequest(ServletSessionTokenStore.java:119) [keycloak-undertow-adapter-1.7.0.CR1.jar:1.7.0.CR1]<br> at org.keycloak.adapters.undertow.ServletSessionTokenStore.isCached(ServletSessionTokenStore.java:67) [keycloak-undertow-adapter-1.7.0.CR1.jar:1.7.0.CR1]<br> at org.keycloak.adapters.RequestAuthenticator.authenticate(RequestAuthenticator.java:88) [keycloak-adapter-core-1.7.0.CR1.jar:1.7.0.CR1]<br> at org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech.keycloakAuthenticate(AbstractUndertowKeycloakAuthMech.java:110) [keycloak-undertow-adapter-1.7.0.CR1.jar:1.7.0.CR1]<br> at org.keycloak.adapters.undertow.ServletKeycloakAuthMech.authenticate(ServletKeycloakAuthMech.java:92) [keycloak-undertow-adapter-1.7.0.CR1.jar:1.7.0.CR1]<br> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:233) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:250) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:219) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:121) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:96) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:89) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69) [keycloak-undertow-adapter-1.7.0.CR1.jar:1.7.0.CR1]<br> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174) [undertow-servlet-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:198) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:788) [undertow-core-1.3.3.Final.jar:1.3.3.Final]<br> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]<br> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]<br> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]</div><div><br data-mce-bogus="1"></div><div>It looks like the method Connectors.ungetRequestBytes has changed.... </div><div><br data-mce-bogus="1"></div><div>Keycloak currently uses undertow-core-1.1.1.Final and Wildfly uses undertow-core.1.3.3.Final.</div><div><br></div><div>Should I create a JIRA for that or is that already known?</div><div><br data-mce-bogus="1"></div><div>Michael</div></body></html>