<div dir="ltr">The exception seems to indicate that your adapter was not proprerly installed.<div><br></div><div>Make sure that you can see the following file underneath your Wildfly 9 home directory (where you deploy your third party app):</div><div><br></div><div>







<p class=""><span class="">modules/system/layers/base/org/keycloak/keycloak-adapter-core/main/keycloak-adapter-core-1.5.0.Final.jar</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">It should be there as a result of properly unpacking </span><span style="font-size:13px;color:rgb(0,0,0);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"> </span><a href="http://www.redhat.com/j/elqNow/elqRedir.htm?ref=http://downloads.jboss.org/keycloak/1.5.0.Final/adapters/keycloak-wf9-adapter-dist-1.5.0.Final.zip" target="_blank" style="color:rgb(51,102,153);text-decoration:none;font-size:12px;font-family:&#39;Lucida Sans Unicode&#39;,&#39;Lucida Grande&#39;,sans-serif;white-space:nowrap;background-color:rgb(244,243,243)">keycloak-wf9-adapter-dist-1.5.0.Final.zip</a> into your Wildfly 9.</p><p class="">I suppose your mentioning <span style="font-size:13px;color:rgb(0,0,0);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">keycloak-appliance-dist-all-</span><span style="font-size:13px;color:rgb(0,0,0);font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">1.1.0.Final is a reference to a version that used to work for you some time ago, and not what you&#39;re using now.</span></p><p class=""><span class=""><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 4:36 AM, Harish Kumar <span dir="ltr">&lt;<a href="mailto:harish_k_s007@yahoo.com" target="_blank">harish_k_s007@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div dir="ltr">I was trying out examples from keycloak 1.5.0, specifically i was trying third-party </div><div dir="ltr">example. Same example worked fine while i took distribution (keycloak-appliance-dist-all-1.1.0.Final)</div><div dir="ltr">I did following steps. <br></div><div dir="ltr"><br></div><div dir="ltr">1. Installed keycloak 1.5.0</div><div dir="ltr">2. Set third-party client with valid redirect URL as /oauth-client/*</div><div dir="ltr">3. Keycloak Json mentioned below (towards end of that email)</div><div dir="ltr">4. Initially when i deployed then i got error (No class definition error :Lorg/keycloak/servlet/ServletOAuthClient)</div><div dir="ltr">   then added files from <a href="http://www.redhat.com/j/elqNow/elqRedir.htm?ref=http://downloads.jboss.org/keycloak/1.5.0.Final/adapters/keycloak-wf9-adapter-dist-1.5.0.Final.zip" style="color:rgb(51,102,153);text-decoration:none;font-size:12px;font-family:&#39;Lucida Sans Unicode&#39;,&#39;Lucida Grande&#39;,sans-serif;white-space:nowrap;background-color:rgb(244,243,243)" target="_blank">keycloak-wf9-adapter-dist-1.5.0.Final.zip</a>.</div><div dir="ltr">5. After that application could deploy but when i type <a href="http://localhost:8080/oauth-client/" target="_blank">http://localhost:8080/oauth-client/</a> and click on &quot;pull data&quot;</div><div dir="ltr">   then getting error.  I would appreciate if you could pls let me know how this error can be fixed ?</div><div dir="ltr">    Any module missing ?</div><div dir="ltr"><br></div><div dir="ltr"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> javax.servlet.ServletException: java.lang.NoClassDefFoundError:  org/keycloak/adapters/ServerRequest$HttpFailure</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:777)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jsp.redirect_jsp._jspService(redirect_jsp.java:63)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</span><br style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"> io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)</span><br></div><div dir="ltr"><span style="font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Trebuchet MS&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:medium"><br></span></div><div dir="ltr"><br></div><div dir="ltr"><b><u>Keycloak json</u></b></div><div dir="ltr">{<br></div><div><span>  </span>&quot;realm&quot;<span>: </span><span>&quot;demo&quot;</span><span>,</span></div><div><span>  </span><span>&quot;realm-public-key&quot;</span><span>: </span>&quot;MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuPt1q5aq8xZGUZVHAwj7xW6vJ20qk/awf6kK6NqQ2CvblWoSYyZOeLF+NpGue3Wn5r4ImKVUST89wPMrO83Y5st31Zpe4kZKoe8kvUj7tI6eeRrUsEsUWwpZ6I5yR5uVgj+8hJ9TaZQNAgB8zK0FvAxmu5bO+mq7c6eDEsYbcuMt3X+VZrkD36toaWM+gXPqziVkiNxp8DdS2TB8EN2J+MBGQRkbG6t6zdVMF0XrWpoT2UeMeFQ05I5lk1mlVupa6TJCpeH7sZBL2pgR+6TRDhViShur5PZUepHayS45PjPYPMsejfGZInRjHl/aqGcRK8YkXPjVDqPSp0xIa/QXYwIDAQAB&quot;<span>,</span></div><div><span>  </span><span>&quot;auth-server-url&quot;</span><span>: </span>&quot;<a href="http://localhost:8080/auth" target="_blank">http://localhost:8080/auth</a>&quot;<span>,</span></div><div><span>  </span>&quot;ssl-required&quot;<span>: </span><span>&quot;external&quot;</span><span>,</span></div><div><span>  </span><span>&quot;resource&quot;</span><span>: </span>&quot;third-party&quot;<span>,</span></div><div><span>  </span>&quot;credentials&quot;<span>: {</span></div><div><span>    </span><span>&quot;secret&quot;</span><span>: </span>&quot;7269abc3-4de8-4be7-b881-8c3fcacf4ef4&quot;</div><div>  }</div><div dir="ltr">
















</div><div dir="ltr">}</div><div dir="ltr"><br></div><div dir="ltr"><br></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>