<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">According to error, I suppose it is
invalid client credentials, so likely invalid client secret. <br>
<br>
If you go to admin console and click to "thirdparty" client, then
tab "Credentials" you will see the actual secret of thirdparty
client from Keycloak database. You need to copy this secret into
keycloak.json .<br>
<br>
Marek<br>
<br>
On 15/10/15 22:56, Harish Kumar wrote:<br>
</div>
<blockquote
cite="mid:1766477144.851532.1444942562699.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:13px">
<div id="yui_3_16_0_1_1444932474891_10122">I made sure adapter
is installed correctly. Now do not see error for Class not
found.</div>
<div id="yui_3_16_0_1_1444932474891_10122" dir="ltr">Now getting
following error. Mentioning keycloak.json below.</div>
<div id="yui_3_16_0_1_1444932474891_10122" dir="ltr">Would
appreciate if you could pls let me know how it can be fixed ?<br>
</div>
<div id="yui_3_16_0_1_1444932474891_10122"><br>
</div>
<div id="yui_3_16_0_1_1444932474891_10122"><br>
</div>
<div class="" id="yui_3_16_0_1_1444932474891_10171">13:44:47,283
WARN [org.keycloak.events] (default task-115)
type=CODE_TO_TOKEN_ERROR, realmId=master,
clientId=third-party, userId=null, ipAddress=127.0.0.1,
error=invalid_client_credentials</div>
<div class="" id="yui_3_16_0_1_1444932474891_10171"><br>
</div>
<div class="" id="yui_3_16_0_1_1444932474891_10171"><b><u>Exception</u></b></div>
<div class="" id="yui_3_16_0_1_1444932474891_10171">13:44:47,284
ERROR [io.undertow.request] (default task-114) UT005023:
Exception handling request to /oauth-client/pull_data.jsp:
org.apache.jasper.JasperException: java.lang.RuntimeException:
org.keycloak.adapters.ServerRequest$HttpFailure<br>
</div>
<div class="" id="yui_3_16_0_1_1444932474891_10175"><span
class="" id="yui_3_16_0_1_1444932474891_10177"> </span>at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:410)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10179"><span
class="" id="yui_3_16_0_1_1444932474891_10181"> </span>at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10183"><span
class="" id="yui_3_16_0_1_1444932474891_10185"> </span>at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10187"><span
class="" id="yui_3_16_0_1_1444932474891_10189"> </span>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10191"><span
class="" id="yui_3_16_0_1_1444932474891_10193"> </span>at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10195"><span
class="" id="yui_3_16_0_1_1444932474891_10197"> </span>at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10199"><span
class="" id="yui_3_16_0_1_1444932474891_10201"> </span>at
io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10203"><span
class="" id="yui_3_16_0_1_1444932474891_10205"> </span>at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10207"><span
class="" id="yui_3_16_0_1_1444932474891_10209"> </span>at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10211"><span
class="" id="yui_3_16_0_1_1444932474891_10213"> </span>at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10215"><span
class="" id="yui_3_16_0_1_1444932474891_10217"> </span>at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10219"><span
class="" id="yui_3_16_0_1_1444932474891_10221"> </span>at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10223"><span
class="" id="yui_3_16_0_1_1444932474891_10225"> </span>at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10227"><span
class="" id="yui_3_16_0_1_1444932474891_10229"> </span>at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10231"><span
class="" id="yui_3_16_0_1_1444932474891_10233"> </span>at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10235"><span
class="" id="yui_3_16_0_1_1444932474891_10237"> </span>at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10239"><span
class="" id="yui_3_16_0_1_1444932474891_10241"> </span>at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10243"><span
class="" id="yui_3_16_0_1_1444932474891_10245"> </span>at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10247"><span
class="" id="yui_3_16_0_1_1444932474891_10249"> </span>at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10251"><span
class="" id="yui_3_16_0_1_1444932474891_10253"> </span>at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10255"><span
class="" id="yui_3_16_0_1_1444932474891_10257"> </span>at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10259"><span
class="" id="yui_3_16_0_1_1444932474891_10261"> </span>at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10263"><span
class="" id="yui_3_16_0_1_1444932474891_10265"> </span>at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10267"><span
class="" id="yui_3_16_0_1_1444932474891_10269"> </span>at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10271"><span
class="" id="yui_3_16_0_1_1444932474891_10273"> </span>at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10275"><span
class="" id="yui_3_16_0_1_1444932474891_10277"> </span>at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10279"><span
class="" id="yui_3_16_0_1_1444932474891_10281"> </span>at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10283"><span
class="" id="yui_3_16_0_1_1444932474891_10285"> </span>at
io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10287"><span
class="" id="yui_3_16_0_1_1444932474891_10289"> </span>at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10291"><span
class="" id="yui_3_16_0_1_1444932474891_10293"> </span>at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10295"><span
class="" id="yui_3_16_0_1_1444932474891_10297"> </span>at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10299"><span
class="" id="yui_3_16_0_1_1444932474891_10301"> </span>at
java.lang.Thread.run(Thread.java:745)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10303">Caused by:
java.lang.RuntimeException:
org.keycloak.adapters.ServerRequest$HttpFailure</div>
<div class="" id="yui_3_16_0_1_1444932474891_10305"><span
class="" id="yui_3_16_0_1_1444932474891_10307"> </span>at
org.keycloak.example.oauth.ProductDatabaseClient.getTokenResponse(ProductDatabaseClient.java:87)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10309"><span
class="" id="yui_3_16_0_1_1444932474891_10311"> </span>at
org.apache.jsp.pull_005fdata_jsp._jspService(pull_005fdata_jsp.java:65)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10313"><span
class="" id="yui_3_16_0_1_1444932474891_10315"> </span>at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10317"><span
class="" id="yui_3_16_0_1_1444932474891_10319"> </span>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10321"><span
class="" id="yui_3_16_0_1_1444932474891_10323"> </span>at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10325"><span
class="" id="yui_3_16_0_1_1444932474891_10327"> </span>...
31 more</div>
<div class="" id="yui_3_16_0_1_1444932474891_10329">Caused by:
org.keycloak.adapters.ServerRequest$HttpFailure</div>
<div class="" id="yui_3_16_0_1_1444932474891_10331"><span
class="" id="yui_3_16_0_1_1444932474891_10333"> </span>at
org.keycloak.adapters.ServerRequest.error(ServerRequest.java:211)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10335"><span
class="" id="yui_3_16_0_1_1444932474891_10337"> </span>at
org.keycloak.adapters.ServerRequest.invokeAccessCodeToToken(ServerRequest.java:94)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10339"><span
class="" id="yui_3_16_0_1_1444932474891_10341"> </span>at
org.keycloak.servlet.ServletOAuthClient.resolveBearerToken(ServletOAuthClient.java:41)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10343"><span
class="" id="yui_3_16_0_1_1444932474891_10345"> </span>at
org.keycloak.servlet.ServletOAuthClient.getBearerToken(ServletOAuthClient.java:146)</div>
<div class="" id="yui_3_16_0_1_1444932474891_10347"><span
class="" id="yui_3_16_0_1_1444932474891_10349"> </span>at
org.keycloak.example.oauth.ProductDatabaseClient.getTokenResponse(ProductDatabaseClient.java:70)</div>
<div id="yui_3_16_0_1_1444932474891_10122">
</div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_10351"><span
class="" id="yui_3_16_0_1_1444932474891_10353"> </span>...
35 more</div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_10351"><br>
</div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_10351"><b><u>Kyecloak.json</u></b></div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_10351">{<br>
</div>
<div class="" id="yui_3_16_0_1_1444932474891_11403"><span
class="" id="yui_3_16_0_1_1444932474891_11405"> </span><span
class="" id="yui_3_16_0_1_1444932474891_11407">"realm"</span><span
class="" id="yui_3_16_0_1_1444932474891_11409">: </span>"master"<span
class="" id="yui_3_16_0_1_1444932474891_11411">,</span></div>
<div class="" id="yui_3_16_0_1_1444932474891_11413"><span
class="" id="yui_3_16_0_1_1444932474891_11415"> </span><span
class="" id="yui_3_16_0_1_1444932474891_11417">"realm-public-key"</span><span
class="" id="yui_3_16_0_1_1444932474891_11419">: </span>"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsqzFVCG8nltfcTBL70E5wk2Lh+yu0s5pUvl7rheFBeCb4mSEBwFqLAOIRN3iHVC+A7F8PSp4ZlpqQIBiFXfFiUUSaLfVPVoRapKfi0Wl4+MScFcW2VL4uiIZWR0wIlg0HCZ8EOrHLA6myKi5pc/jhEf7i1FgG+QiTvemQSv9TvLF1xXAXoiNvQbbGzH0t2Pmau9woyHwbiepLp+8pxxIxYupJtBFU+cTc65Rs2wJOmd9snCQQbhTOxeoJLT9J/JkOQcrJUVEracGRx7ebj2pjmUrKx2sAqFH4sCyinODPfFh2OUWUaTSoIN16X2QRyJPbltChjwiu4U2ajD56L5teQIDAQAB"<span
class="" id="yui_3_16_0_1_1444932474891_11421">,</span></div>
<div class="" id="yui_3_16_0_1_1444932474891_11423"><span
class="" id="yui_3_16_0_1_1444932474891_11425"> </span><span
class="" id="yui_3_16_0_1_1444932474891_11427">"auth-server-url"</span><span
class="" id="yui_3_16_0_1_1444932474891_11429">: </span><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/auth">"http://localhost:8080/auth"</a><span
class="" id="yui_3_16_0_1_1444932474891_11431">,</span></div>
<div class="" id="yui_3_16_0_1_1444932474891_11433"><span
class="" id="yui_3_16_0_1_1444932474891_11435"> </span>"ssl-required"<span
class="" id="yui_3_16_0_1_1444932474891_11437">: </span><span
class="" id="yui_3_16_0_1_1444932474891_11439">"external"</span><span
class="" id="yui_3_16_0_1_1444932474891_11441">,</span></div>
<div class="" id="yui_3_16_0_1_1444932474891_11443"><span
class="" id="yui_3_16_0_1_1444932474891_11445"> </span><span
class="" id="yui_3_16_0_1_1444932474891_11447">"resource"</span><span
class="" id="yui_3_16_0_1_1444932474891_11449">: </span>"third-party"<span
class="" id="yui_3_16_0_1_1444932474891_11451">,</span></div>
<div class="" id="yui_3_16_0_1_1444932474891_11453"><span
class="" id="yui_3_16_0_1_1444932474891_11455"> </span>"credentials"<span
class="" id="yui_3_16_0_1_1444932474891_11457">: {</span></div>
<div class="" id="yui_3_16_0_1_1444932474891_11459"><span
class="" id="yui_3_16_0_1_1444932474891_11461"> </span><span
class="" id="yui_3_16_0_1_1444932474891_11463">"secret"</span><span
class="" id="yui_3_16_0_1_1444932474891_11465">: </span>"49f899fa-6208-4eb6-b4fe-e4a8c9b02332"</div>
<div class="" id="yui_3_16_0_1_1444932474891_11467"> }</div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_10351">
</div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_11469">}</div>
<div class="" dir="ltr" id="yui_3_16_0_1_1444932474891_10351"><br>
</div>
<br>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div class="yahoo_quoted" style="display: block;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
13px;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
16px;">
<div dir="ltr"> <font face="Arial" size="2"> On
Wednesday, October 14, 2015 12:36 PM, Harish Kumar
<a class="moz-txt-link-rfc2396E" href="mailto:harish_k_s007@yahoo.com"><harish_k_s007@yahoo.com></a> wrote:<br>
</font> </div>
<br>
<br>
<div class="y_msg_container">
<div id="yiv7168657535">
<div>
<div
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:13px;">
<div id="yiv7168657535">
<div
id="yiv7168657535yui_3_16_0_1_1444849290270_17896">
<div
id="yiv7168657535yui_3_16_0_1_1444849290270_17895"
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:13px;">
<div class="yiv7168657535"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234">Thanks
Marko for response. I checked
keycloak-adapter-core-1.5.0.final.jar is
present</div>
<div class="yiv7168657535" dir="ltr"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234">at
(
/modules/system/layers/base/org/keycloak-adapter-core). </div>
<div class="yiv7168657535"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234"><br
clear="none">
</div>
<div class="yiv7168657535"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234">Few
things i observed, Not sure if they are
related just mentioning</div>
<div class="yiv7168657535"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234">#1.
After 1.1, release httpcomponents
(modules/org/apache) has changed jars from
4.2.</div>
<div class="yiv7168657535"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234">#2.
No start() method for ServletOAuthClient (
it was there in Bootstrap.java in 1.1)</div>
<div class="yiv7168657535"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234"><br
clear="none">
</div>
<div class="yiv7168657535" dir="ltr"
id="yiv7168657535yui_3_16_0_1_1444849290270_5234">Pls
let me know if i am missing anything ?</div>
<br clear="none">
<div class="yiv7168657535qtdSeparateBR"
id="yiv7168657535yui_3_16_0_1_1444849290270_18113">Thanks,</div>
<div class="yiv7168657535qtdSeparateBR"
id="yiv7168657535yui_3_16_0_1_1444849290270_17964">Harish<br
clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
<div class="yiv7168657535yqt3428105294"
id="yiv7168657535yqt33177">
<div>
<div style="font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:13px;">
<div style="font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:16px;">
<div dir="ltr"> <font face="Arial"
size="2"> On Wednesday, October 14,
2015 2:01 AM, Marko Strukelj
<a class="moz-txt-link-rfc2396E" href="mailto:mstrukel@redhat.com"><mstrukel@redhat.com></a> wrote:<br
clear="none">
</font> </div>
<br clear="none">
<br clear="none">
<div class="yiv7168657535y_msg_container">
<div id="yiv7168657535">
<div>
<div dir="ltr">The exception seems
to indicate that your adapter was
not proprerly installed.
<div><br clear="none">
</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 clear="none">
</div>
<div>
<div class="yiv7168657535"><span
class="yiv7168657535">modules/system/layers/base/org/keycloak/keycloak-adapter-core/main/keycloak-adapter-core-1.5.0.Final.jar</span></div>
<div class="yiv7168657535"><span
class="yiv7168657535"><br
clear="none">
</span></div>
<div class="yiv7168657535"><span
class="yiv7168657535">It
should be there as a result
of properly unpacking </span><span
style="font-size:13px;color:rgb(0,0,0);font-family:HelveticaNeue,
'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande',
sans-serif;"> </span><a
moz-do-not-send="true"
rel="nofollow" shape="rect"
target="_blank"
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:'Lucida
Sans Unicode', 'Lucida
Grande',
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.</div>
<div class="yiv7168657535">I
suppose your mentioning <span
style="font-size:13px;color:rgb(0,0,0);font-family:HelveticaNeue,
'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande',
sans-serif;">keycloak-appliance-dist-all-</span><span
style="font-size:13px;color:rgb(0,0,0);font-family:HelveticaNeue,
'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande',
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're using now.</span></div>
<div class="yiv7168657535"><span
class="yiv7168657535"><br
clear="none">
</span></div>
</div>
</div>
<div
class="yiv7168657535gmail_extra"><br
clear="none">
<div
class="yiv7168657535gmail_quote">On
Wed, Oct 14, 2015 at 4:36 AM,
Harish Kumar <span dir="ltr"><<a
moz-do-not-send="true"
rel="nofollow" shape="rect"
ymailto="mailto:harish_k_s007@yahoo.com" target="_blank"
href="mailto:harish_k_s007@yahoo.com"><a class="moz-txt-link-abbreviated" href="mailto:harish_k_s007@yahoo.com">harish_k_s007@yahoo.com</a></a>></span>
wrote:<br clear="none">
<blockquote
class="yiv7168657535gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex;">
<div
class="yiv7168657535yqt3736923374"
id="yiv7168657535yqt06605">
<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
clear="none">
</div>
<div dir="ltr"><br
clear="none">
</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
moz-do-not-send="true"
rel="nofollow"
shape="rect"
target="_blank"
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:'Lucida
Sans Unicode',
'Lucida Grande',
sans-serif;white-space:nowrap;background-color:rgb(244,243,243);">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
moz-do-not-send="true"
rel="nofollow"
shape="rect"
target="_blank"
onclick="return
theMainWindow.showLinkWarning(this)"
href="http://localhost:8080/oauth-client/"><a class="moz-txt-link-freetext" href="http://localhost:8080/oauth-client/">http://localhost:8080/oauth-client/</a></a> and
click on "pull data"</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
clear="none">
</div>
<div dir="ltr"><span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> javax.servlet.ServletException:
java.lang.NoClassDefFoundError:
org/keycloak/adapters/ServerRequest$HttpFailure</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:777)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jsp.redirect_jsp._jspService(redirect_jsp.java:63)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</span><br
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"
clear="none">
<span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"> io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)</span><br
clear="none">
</div>
<div dir="ltr"><span
style="font-family:'Lucida
Grande', 'Lucida
Sans Unicode',
'Trebuchet MS',
Helvetica, Arial,
Verdana,
sans-serif;font-size:medium;"><br
clear="none">
</span></div>
<div dir="ltr"><br
clear="none">
</div>
<div dir="ltr"><b><u>Keycloak
json</u></b></div>
<div dir="ltr">{<br
clear="none">
</div>
<div><span> </span>"realm"<span>:
</span><span>"demo"</span><span>,</span></div>
<div><span> </span><span>"realm-public-key"</span><span>:
</span>"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuPt1q5aq8xZGUZVHAwj7xW6vJ20qk/awf6kK6NqQ2CvblWoSYyZOeLF+NpGue3Wn5r4ImKVUST89wPMrO83Y5st31Zpe4kZKoe8kvUj7tI6eeRrUsEsUWwpZ6I5yR5uVgj+8hJ9TaZQNAgB8zK0FvAxmu5bO+mq7c6eDEsYbcuMt3X+VZrkD36toaWM+gXPqziVkiNxp8DdS2TB8EN2J+MBGQRkbG6t6zdVMF0XrWpoT2UeMeFQ05I5lk1mlVupa6TJCpeH7sZBL2pgR+6TRDhViShur5PZUepHayS45PjPYPMsejfGZInRjHl/aqGcRK8YkXPjVDqPSp0xIa/QXYwIDAQAB"<span>,</span></div>
<div><span> </span><span>"auth-server-url"</span><span>:
</span>"<a
moz-do-not-send="true"
rel="nofollow"
shape="rect"
target="_blank"
onclick="return
theMainWindow.showLinkWarning(this)"
href="http://localhost:8080/auth"><a class="moz-txt-link-freetext" href="http://localhost:8080/auth">http://localhost:8080/auth</a></a>"<span>,</span></div>
<div><span> </span>"ssl-required"<span>:
</span><span>"external"</span><span>,</span></div>
<div><span> </span><span>"resource"</span><span>:
</span>"third-party"<span>,</span></div>
<div><span> </span>"credentials"<span>:
{</span></div>
<div><span> </span><span>"secret"</span><span>:
</span>"7269abc3-4de8-4be7-b881-8c3fcacf4ef4"</div>
<div> }</div>
<div dir="ltr">
</div>
<div dir="ltr">}</div>
<div dir="ltr"><br
clear="none">
</div>
<div dir="ltr"><br
clear="none">
</div>
</div>
</div>
</div>
<br clear="none">
_______________________________________________<br clear="none">
keycloak-user mailing list<br
clear="none">
<a moz-do-not-send="true"
rel="nofollow" shape="rect"
ymailto="mailto:keycloak-user@lists.jboss.org" target="_blank"
href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br
clear="none">
<a moz-do-not-send="true"
rel="nofollow" shape="rect"
target="_blank"
href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br
clear="none">
</blockquote>
</div>
<br clear="none">
</div>
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>