<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">I checked what you commented and this dependency is there:<br><br>&lt;module xmlns=&quot;urn:jboss:module:1.1&quot; name=&quot;org.keycloak.keycloak-undertow-adapter&quot;&gt;<br>    &lt;resources&gt;<br>        &lt;resource-root path=&quot;keycloak-undertow-adapter-1.1.0.Final.jar&quot;/&gt;<br>        &lt;!-- Insert resources here --&gt;<br>    &lt;/resources&gt;<br>    &lt;dependencies&gt;<br>        &lt;module name=&quot;javax.api&quot;/&gt;<br>        &lt;module name=&quot;org.bouncycastle&quot;/&gt;<br>        &lt;module name=&quot;org.codehaus.jackson.jackson-core-asl&quot;/&gt;<br>        &lt;module name=&quot;org.codehaus.jackson.jackson-mapper-asl&quot;/&gt;<br>        &lt;module name=&quot;org.codehaus.jackson.jackson-xc&quot;/&gt;<br>        &lt;module name=&quot;org.apache.httpcomponents&quot; /&gt;<br>        &lt;module name=&quot;javax.servlet.api&quot;/&gt;<br>        &lt;module name=&quot;org.jboss.logging&quot;/&gt;<br>        &lt;module name=&quot;org.jboss.xnio&quot;/&gt;<br>        &lt;module name=&quot;io.undertow.core&quot;/&gt;<br>        &lt;module name=&quot;io.undertow.servlet&quot;/&gt;<br>        &lt;module name=&quot;org.keycloak.keycloak-adapter-core&quot;/&gt;<br>        &lt;module name=&quot;org.keycloak.keycloak-core&quot;/&gt;<br>    &lt;/dependencies&gt;<br><br>&lt;/module&gt;<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-02-04 17:28 GMT+01:00 Michael Gerber <span dir="ltr">&lt;<a href="mailto:gerbermichi@me.com" target="_blank">gerbermichi@me.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,</div><div><br></div><div>I had once a similiar issue...</div><div><br></div><div>Have a look at the module.xml file in: </div><div>modules\system\layers\base\org\keycloak\keycloak-undertow-adapter\main</div><div><br></div><div>Is the module org.jboss.xnio listed in the dependencies section?</div><div><br></div><div>Best</div><div>Michael</div><div><br>Am 04. Februar 2015 um 16:47 schrieb Pablo N &lt;<a href="mailto:panulab@gmail.com" target="_blank">panulab@gmail.com</a>&gt;:<br><br></div><div><blockquote type="cite"><div><div><div><div dir="ltr"><br><div class="gmail_quote"><div><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div><div>Hello,<br> <br></div>I was running my web application in Wildfly 8.2 and Keycloak 1.0.4.Final and everything worked as expected.<br> <br></div>After updating Keycloak to version 1.1.0.Final (also wildfly adapter version) I get the following error when I try to access my application:<br> <br>08:32:41,271 ERROR [io.undertow.request] (default task-11) UT005023: Exception handling request to /gui/main/home: java.lang.NoClassDefFo<br>undError: org/xnio/OptionMap<br>        at org.keycloak.adapters.undertow.SavedRequest.trySaveRequest(SavedRequest.java:49) [keycloak-undertow-adapter-1.1.0.Final.jar:1.1.0.Fina<br>l]<br>        at org.keycloak.adapters.undertow.ServletSessionTokenStore.saveRequest(ServletSessionTokenStore.java:111) [keycloak-undertow-adapter-1.1.<br>0.Final.jar:1.1.0.Final]<br>        at org.keycloak.adapters.OAuthRequestAuthenticator$2.challenge(OAuthRequestAuthenticator.java:182) [keycloak-adapter-core-1.1.0.Final.jar<br>:1.1.0.Final]<br>        at org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech.sendChallenge(AbstractUndertowKeycloakAuthMech.java:68) [keycloak-unde<br>rtow-adapter-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:330) [undertow-core-1.1.0.Final.jar:<br>1.1.0.Final]<br>        at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:349) [undertow-core-1.1.0.Final.jar:<br>1.1.0.Final]<br>        at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.access$300(SecurityContextImpl.java:314) [undertow-core-1.1.0.Final.jar:<br>1.1.0.Final]<br>        at io.undertow.security.impl.SecurityContextImpl.sendChallenges(SecurityContextImpl.java:135) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br> <br>        at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:109) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br> <br>        at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:114) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br> <br>        at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:99) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:54) [undert<br>ow-servlet-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br> <br>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51) [undertow-core-1.<br>1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.1.<br>0.Final.jar:1.1.0.Final]<br>        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.ja<br>va:63) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56) [undert<br>ow-servlet-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.<br>1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [unde<br>rtow-servlet-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.1.0.Final.jar:1.1.<br>0.Final]<br>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.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.1.0.Final.jar:1.1.0.Final]<br>        at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69) [keycloak-undertow-ada<br>pter-1.1.0.Final.jar:1.1.0.Final]<br>        at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69) [keycloak-undertow-ada<br>pter-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.0.Final.ja<br>r:1.1.0.Final]<br>        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1<br>.1.0.Final]<br>        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.F<br>inal]<br>        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1<br>.1.0.Final]<br>        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br>        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]<br>        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]<br>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]<br>        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]<br>Caused by: java.lang.ClassNotFoundException: org.xnio.OptionMap from [Module &quot;deployment.gui-web-0.14.0-SNAPSHOT.war:main&quot; from Service M<br>odule Loader]<br>        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]<br>        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]<br>        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]<br>        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]<br>        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]<br>        ... 36 more<br> <br></div>As I can see this error was discovered and solved (<a href="https://issues.jboss.org/browse/KEYCLOAK-899" target="_blank">https://issues.jboss.org/browse/KEYCLOAK-899</a>) so I dont know if any migration change is pending from my side.<br> <br></div>Thank you very much for your help<br></div></div><br></div></div></div></div><br></div></div></div><div><span>_______________________________________________<br>keycloak-user mailing list<br> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a> <br> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a> </span></div></div></blockquote></div></div></blockquote></div><br></div>
</div></div></div><br></div>