<div dir="ltr">I've been trying with Wildfly 10.0.0.CR2 recently, and didn't come across this problem you describe.<div><br></div><div>Please file a JIRA, and describe how to reproduce the issue.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 19, 2015 at 4:53 AM, Flynn, Kenneth <span dir="ltr"><<a href="mailto:kflynn@cghtech.com" target="_blank">kflynn@cghtech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hello all,
<div><br>
</div>
<div>It looks like Wildfly 10 changes a method interface in undertow and the keycloak is still linking against the old method. Going across a redirect, I get this exception:</div>
<div><br>
</div>
<div>
<div>java.lang.NoSuchMethodError: io.undertow.server.Connectors.ungetRequestBytes(Lio/undertow/server/HttpServerExchange;[Lorg/xnio/Pooled;)V</div>
<div>org.keycloak.adapters.undertow.SavedRequest.tryRestoreRequest(SavedRequest.java:112)</div>
<div>org.keycloak.adapters.undertow.ServletSessionTokenStore.restoreRequest(ServletSessionTokenStore.java:119)</div>
<div>org.keycloak.adapters.undertow.ServletSessionTokenStore.isCached(ServletSessionTokenStore.java:67)</div>
<div>org.keycloak.adapters.RequestAuthenticator.authenticate(RequestAuthenticator.java:85)</div>
<div>org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech.keycloakAuthenticate(AbstractUndertowKeycloakAuthMech.java:114)</div>
<div>org.keycloak.adapters.undertow.ServletKeycloakAuthMech.authenticate(ServletKeycloakAuthMech.java:94)</div>
</div>
<div><br>
</div>
<div>Looking at this commit:</div>
<div><br>
</div>
<div><a href="https://github.com/undertow-io/undertow/commit/b62c3f1efadeb86d94ed6577f59a8705e0ba8cb5#diff-5f4196395618b4f5f665d36a4f3773cd" style="font-size:10pt" target="_blank">https://github.com/undertow-io/undertow/commit/b62c3f1efadeb86d94ed6577f59a8705e0ba8cb5#diff-5f4196395618b4f5f665d36a4f3773cd</a></div>
<div><br>
</div>
<div>the parameters changed type (from Pooled<ByteBuffer> to PooledByteBuffer).</div>
<div><br>
</div>
<div>This is called from here:</div>
<div><br>
</div>
<div><a href="https://github.com/keycloak/keycloak/blob/master/integration/undertow/src/main/java/org/keycloak/adapters/undertow/SavedRequest.java" target="_blank">https://github.com/keycloak/keycloak/blob/master/integration/undertow/src/main/java/org/keycloak/adapters/undertow/SavedRequest.java</a><a href="https://github.com/keycloak/keycloak/blob/master/integration/undertow/src/main/java/org/keycloak/adapters/undertow/SavedRequest.java" style="font-size:10pt" target="_blank">https://github.com/keycloak/keycloak/blob/master/integration/undertow/src/main/java/org/keycloak/adapters/undertow/SavedRequest.java</a></div>
<div><br>
</div>
<div>I'm guessing the call on 112 needs to make the new object type?</div>
<div><br>
</div>
<div>Should I file a bug in the JIRA?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Kenn</div>
</div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>